Billy Pham
Top achievements
Rank 1
Billy Pham
asked on 30 Jul 2009, 08:49 AM
How can I turn off the pop-up form when I double click on each time slot without setting ReadOnly="true". I want to navigate to another page upon double click on it instead.
Thank you.
Thank you.
4 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 30 Jul 2009, 09:15 AM
Hi Billy,
Try the following client code in order to prevent showing the editform when double-clicking the appointment in RadScheduler by attaching OnClientAppointmentEditing client event.
JavaScript:
-Shinu
Try the following client code in order to prevent showing the editform when double-clicking the appointment in RadScheduler by attaching OnClientAppointmentEditing client event.
JavaScript:
| <script type="text/javascript"> |
| function OnClientAppointmentEditing(sender, eventArgs) |
| { |
| eventArgs.set_cancel(true); // Cancel the event |
| window.location = 'http://www.google.com'; // Redirect to new page |
| } |
| </script> |
-Shinu
0
Billy Pham
Top achievements
Rank 1
answered on 30 Jul 2009, 01:00 PM
Hi Shinu,
Thanks for your answer. Your code does navigate to other page.
However, It still pop up for a second and before navigating to other page. I want the form does not pop up, even in a tick.
Billy
Thanks for your answer. Your code does navigate to other page.
However, It still pop up for a second and before navigating to other page. I want the form does not pop up, even in a tick.
Billy
0
Accepted
Hello Billy,
Please, try handling OnClientAppointmentInserting in the same way Shinu suggested you handle OnClientAppointmentEditing.
All the best,
Peter
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Please, try handling OnClientAppointmentInserting in the same way Shinu suggested you handle OnClientAppointmentEditing.
All the best,
Peter
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Billy Pham
Top achievements
Rank 1
answered on 31 Jul 2009, 05:49 AM
Thank you Peter.
Problem solved.
Problem solved.