Hello,
I have two radTreeViews in a user control. I am allowing the user to drag and drop nodes from either TreeView to the other. Before the drop occurs though, I want to prompt the user with a confirmation message. Something like "Are you sure you want to do this?". If the user selects "No" (or "Cancel"), the Drag/Drop is cancelled.
I found a post regarding intercepting the postback from a button using GetPostBackEventReference in the callback function of radConfirm, and I've used that separately successfully in my application. However, that was used from within an aspx page and not a user control, and of course it was as button and not a TreeView. I tried to duplicate that functionality with the TreeView, but it's not working. I can't even compile because I'm getting a message saying that "GetPostBackEventReference is not declared". My guess is that this error is occuring because I'm in a user control and not a web page, but as I said that is just a guess.
Any help would be appreciated.
Thanks.
PS. Just some further information. The user control will reside inside a Content Page. Within my Master Page I have the ContentPlaceHolder wrapped inside an AjaxPanel. This is probably not the most efficient way of ajaxifying my application, but it seems to be working just fine so far.
I have two radTreeViews in a user control. I am allowing the user to drag and drop nodes from either TreeView to the other. Before the drop occurs though, I want to prompt the user with a confirmation message. Something like "Are you sure you want to do this?". If the user selects "No" (or "Cancel"), the Drag/Drop is cancelled.
I found a post regarding intercepting the postback from a button using GetPostBackEventReference in the callback function of radConfirm, and I've used that separately successfully in my application. However, that was used from within an aspx page and not a user control, and of course it was as button and not a TreeView. I tried to duplicate that functionality with the TreeView, but it's not working. I can't even compile because I'm getting a message saying that "GetPostBackEventReference is not declared". My guess is that this error is occuring because I'm in a user control and not a web page, but as I said that is just a guess.
Any help would be appreciated.
Thanks.
PS. Just some further information. The user control will reside inside a Content Page. Within my Master Page I have the ContentPlaceHolder wrapped inside an AjaxPanel. This is probably not the most efficient way of ajaxifying my application, but it seems to be working just fine so far.