Problem with ClientClick and ServerClick events

2 posts, 1 answers
  1. Mike Dennis
    Mike Dennis avatar
    51 posts
    Member since:
    Mar 2006

    Posted 27 Apr 2009 Link to this post

    I have a relatively complex page.~26nbsp~3b I am using a RadAjaxManager and a few controls both ASP.NET and RadControls for ASP.NET Ajax.~26nbsp~3b When I setup the AjaxManager to update on either of my buttons~2c I noticed that my button with a ClientClick event isn~27t firing the ServerClick code.~26nbsp~3b I am using the ClientClick event to pop up a confirmation box with the code ~22javascript~3avoid_confirm~3dconfirm~28~27You are about to delete this record~2c and you will not be able to undo this action.~27~29~3breturn void_confirm~3b~22.~26nbsp~3b Is there something I need to do in order to get this to work with the AjaxManager so I can have the confirmation and the server click code~3f~3cbr /~3e
  2. Answer
    Sebastian avatar
    9934 posts

    Posted 30 Apr 2009 Link to this post

    Hello Mike,

    You can use the approach presented on this online demo of RadAjax to use confirmation dialog for certain action and cancel/trigger the server event of the button based on the user's choice:

    Best regards,

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top