RadScript Problem..?

3 posts, 0 answers
  1. $uren
    $uren avatar
    20 posts
    Member since:
    Apr 2011

    Posted 30 May 2011 Link to this post

    I want to create a confirmation message box using java script. Once they hit ok or cancel i should go to a function written in .cs.
    Could anyone give a solution for this ..?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 30 May 2011 Link to this post

    Hello Suren,

    Unlike the standard confim(), radconfirm() cannot block the execution of the thread and it needs a CallBackFunction. So once the user confirms the postback, in the radconfirm's CallBackFunction you need to use  __doPostBack to call server side event. Check out the following Code Library in achieving this functionality;
    Using radconfirm() CallBackFunction to perform a postback

    You can also refer to the following code library submission inorder to allow the radconfirm window to simulate the blocking of the execution thread while waiting for user's confirmation:
    Block the execution thread with radconfirm.

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. $uren
    $uren avatar
    20 posts
    Member since:
    Apr 2011

    Posted 31 May 2011 Link to this post

    Hello Princy,

    I tried with that link you given but it doesn't work.  And also am not using RadAjax.Net2, RadWindow.Net2, RadToolbar.Net2 i use Telerik.Web.UI only. Do you have any solution for this. Actually the scenario is to delete a customer.The delete button will be there if the user hit the delete btn the rad confirm window should visible after the confirmation if should continue with that btn_click event.
Back to Top