Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I am working on telerik radscheduler with ASP.NET(C#). In Telerik radscheduler, there are two different context menus(say EditAppointment and EditTime) will display on right click on appointment. When I click on one of those context menu (say EditAppointment) 'FormCreating' event get execute and raddock panel(i.e. Edit form) will open through javascript using ScriptManager.RegisterStartupScript.

Now I want to display two different custom forms depending on the value of selected context menu. i.e. When I select 'EditAppointment' context menu 'Form A' will get display and when I select 'EditTime' context menu 'Form B' will display.

I get the selected context menu value inside 'AppointmentContextMenuItemClicked' event, but I am not able to set the label text of raddock panel(Edit form) inside 'AppointmentContextMenuItemClicked' event. When I set Label text inside 'FormCreating' it works fine. But 'FormCreating' event execute before 'AppointmentContextMenuItemClicked'.

Please help me on 'How to get context menu value inside 'FormCreating' event' or any other solution suitable to the above situation.

Your help is appreciated.

Thanks in Advance.


Regard,
Megha Chavan
Posted
Updated 19-Mar-14 3:31am
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900