After dragging and dropping I need to update a text control
Asked by Ben 18 years ago.
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!
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().
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.