This is a migrated thread and some comments may be shown as answers.

create Server-side double click event

1 Answer 26 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Marc Plaxton-Harrison
Top achievements
Rank 1
Marc Plaxton-Harrison asked on 13 Mar 2009, 08:35 AM
Hi, i was wondering if there is a way for me to create the double click event server side. for example:

if i were to create the double click event server side for the radDataGrid then i would use the following code:

GridDataItem item = (GridDataItem)e.Item;     
item.Attributes.Add("OnDblClick""return WindowOpen();"); 

so how will i do this for the radScheduler?

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 16 Mar 2009, 09:48 AM
Hello Marc Plaxton-Harrison,

You can use the OnClientAppointmentDoubleClick property.

RadScheduler1.OnClientAppointmentDoubleClick = "myDoubleClickHandler"

Then just add a javascript method myDoubleClickHandler(sender, e) to your page.

I hope this helps.

Kind regards,
Veselin Vasilev
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.
Tags
Scheduler
Asked by
Marc Plaxton-Harrison
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or