Home Unanswered Active Tags New Question

After dragging and dropping I need to update a text control

Hello,

After successfully dragging and dropping an event from an external list of resources, the EventMove event successfully fires, but I need it to update a text control on my page. I have tried setting it directly ctrl1.text = "test", but I can't amend anything. Is there a simple way of doing this?

Many thanks for your help on what is a brilliant control!

Asked by Ben 3 years ago.
Replies
Sorry for the delay.

If you are handling the move event using CallBack, you can't touch any other controls on the server side. If you want to update a button text you have two choices:
  • Switch to PostBack and place the controls inside UpdatePanel/s.
  • Switch to JavaScript handling and update the control in your custom JavaScript handler on the client side before firing .eventMoveCallBack().
Comment posted by Dan Letecky 3 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java