Hi Team,
Please find below requirement.
When i click on time slot of scheduler control, user has to navigate to new page to create an appointment by searching customers. In other words i don't want to existing templates. How can i achieve this.
Thanks in advance.
Regards,
Sumanth
Please find below requirement.
When i click on time slot of scheduler control, user has to navigate to new page to create an appointment by searching customers. In other words i don't want to existing templates. How can i achieve this.
Thanks in advance.
Regards,
Sumanth
4 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 13 Sep 2010, 09:04 AM
Hello Sumanth,
I found a demo whih shows how external edit using RadDock can be achieved. I hope this demo will elp you to get strated.
External Edit in RadDock
Thanks,
Princy.
I found a demo whih shows how external edit using RadDock can be achieved. I hope this demo will elp you to get strated.
External Edit in RadDock
Thanks,
Princy.
0
Accepted
Hi Sumanth,
In addition to Princy's answer - you can subscribe to the OnFormCreating event and cancel it:
That way neither the inline form nor the Advanced Form will appear on insert/edit an appointment.
You can open new page by window.open() in the OnClientTimeSlotClick event handler:
In my case the Telerik website will be opened. You can replace it with your own page.
Hope this helps.
All the best,
Veronica Milcheva
the Telerik team
In addition to Princy's answer - you can subscribe to the OnFormCreating event and cancel it:
protected
void
RadScheduler1_FormCreating(
object
sender, SchedulerFormCreatingEventArgs e)
{
e.Cancel =
true
;
}
That way neither the inline form nor the Advanced Form will appear on insert/edit an appointment.
You can open new page by window.open() in the OnClientTimeSlotClick event handler:
In my case the Telerik website will be opened. You can replace it with your own page.
Hope this helps.
All the best,
Veronica Milcheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
GSI - Technical Support
Top achievements
Rank 1
answered on 13 Dec 2010, 06:45 PM
I am doing this too. I did this code:
but despite the fact that I click on December 13th or 6th (or whatever), the calendar seems to think I clicked the first monday of the calendar - which is Nov 29th. What the heck am I missing??
[edit:]
I take that back -- it seems to work on some days but not others. And the issue is only on the month view. if I click Saturday 12/4, it works fine. Thursday 12/9 returns 11/29. Friday 12/10 returns 11/29. Friday 12/17 returns 11/29. Monday 12/20 returns 12/20. Tuesday 12/21 returns 11/29.
This is weird.
function
OnClientTimeSlotClick(sender, eventArgs) {
//alert(eventArgs.get_time());
window.location =
"AppointmentDetail.aspx?mode=add&date="
+ eventArgs.get_time();
}
but despite the fact that I click on December 13th or 6th (or whatever), the calendar seems to think I clicked the first monday of the calendar - which is Nov 29th. What the heck am I missing??
[edit:]
I take that back -- it seems to work on some days but not others. And the issue is only on the month view. if I click Saturday 12/4, it works fine. Thursday 12/9 returns 11/29. Friday 12/10 returns 11/29. Friday 12/17 returns 11/29. Monday 12/20 returns 12/20. Tuesday 12/21 returns 11/29.
This is weird.
0
Hi Laura,
Could you please send me the full code you are using so I can inspect it and help you?
Thank you!
Best wishes,
Veronica Milcheva
the Telerik team
Could you please send me the full code you are using so I can inspect it and help you?
Thank you!
Best wishes,
Veronica Milcheva
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.