I'm new here and to devexpress and my Question I hope is a simple one to all you mavericks here. I'm creating an scheduling module with devexpress and I want to add a"necessary appointment "button rather than having to right click to add an appointment..users love buttons after all and I can't seem to find code for that..thanks
Take a look at the SchedulerControl.CreateAppointment method, that creates a new appointment with the specified All-Day and Recurring settings, shows it in the Edit Appointment dialog, and then adds it to the SchedulerStorage.Appointments collection of the control's storage.
Related
first-time questioner here!
I have a page called Dashboard and it has a table listing all Products.
On each Product table row there is a button
I want to click the edit button to open a new page called 'Products' where instead of it showing all products, it shows only the selected record.
Solutions I can think of (but don't know which is best or how to properly implement)
- create a filtered query datasource with a parameter
- write a function and call it from the onClick event (I cannot write JS)
- write some simple code in the custom action of the onclick event
enter image description here
(I'm a citizen coder - my background was MS Access where you could write things like (Open X page where ID=current.record). I am learning slowly by working through the examples but I am not finding there is much documentation from Google so sorry for the basic question.
How do get a Google App Make application open to not only a specific page/form in Google App Maker but also a specific record within that page?
There are different techniques to achieve this behavior and for sure the implementation will depend on your requirements.
if you want your app's URL to display current state and make this URL shareable, then you need to read this: Integration between different Google Appmaker Apps
if you don't care about shareable URL and you have common datasource for your list and details pages, then you can just update selected record in your list and navigate user to the details page:
// row's or row descendant's onClick event
app.datasources.ItemsList.selectKey(widget.datasource.item._key);
app.showPage(app.pages.ItemDetails);
if you have dedicated datasource for you details page, then your code can look like this:
// row's or row descendant's onClick event
var detailsDs = app.datasources.ItemDetails;
detailsDs.unload();
detailsDs.query.filters._key._equals = widget.datasource.item._key;
app.showPage(app.pages.ItemDetails);
You need to unload details datasource to prevent blinking (showing previous item, if you are viewing item by item). By the way, you can also unload datasource in onDetach event of the details page.
Is there a way to add new appointment after user select a date from Google Embed Calendar, so user can see all existing appointment to help him choose the right day!
Another thing, after saving the new appointment, is there a way to add to that appointment, a reference to my app - so when user view that appointment he could click on that reference to open new browser window with my app.
See included demo image.
Thank You.
I need to know how to add a new event with "dayClick" to the calendar because I am going to use it to manage my holidays.I'm using java + javascript to develop the application. Thank you.
The dayClick documentation is here: http://arshaw.com/fullcalendar/docs/mouse/dayClick/
What you do on that event is entirely up to you and how you want to implement creating a new event. You could do like Google Calendar and open a dialog asking for event details, you could navigate to a new form to gather the information. Really, just up to you.
I need to create a scheduling control in ASP.NET. Meeting slots are fixed to 30 minutes.
I am showing the slots in tabular format.
My main concern is to DateTime and slot timing like 4 to 4 4:30 to be read in code when user clicks particular cell in table, using HtmlTable control.
Table is created dynamically. Unfortunately the TableCell control don't have a click event.
In short, how can I detect the DateTime and timing from cell in the table by?
If you don't mind paying for a component, I'd save yourself lots of bother and just use DayPilot Pro. Or if you want open source, DayPilot Lite.
To acheive what you are suggesting you could add a button control to each cell as you are dynamically creating them. You will need to add the event to the button as you are adding them. As you want the slot time I would suggest using the command click event and assigning the specific slot time to the command argument property of the button control.
Not free, but a great control is Telerik's RadScheduler: http://demos.telerik.com/aspnet-ajax/scheduler/examples/overview/defaultcs.aspx