search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

After dragging and dropping I need to update a text control

Asked by Ben
16 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!

Comment posted by Dan Letecky
16 years ago.
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().
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.