Show Popup or alert like in win forms (Pause server side execution)

2 posts, 0 answers
  1. Raman
    Raman avatar
    18 posts
    Member since:
    Aug 2012

    Posted 13 Mar 2014 Link to this post

    i have one scenario in which when use clicks on the save button most of the checks are done on server side and in between alerts are shown and after showing alert execution should be halted on server side till client responded.

    Like ----
    Code Line 1

     RadWindowManager1.RadAlert("Are you sure", Nothing, 50, "Alert", "RadwindowClosed") ----------line 4

    ----server side code  Line 5 ---------

    this alert should be shown to client and server side it should wait on line 5 , Like in window forms if we show alert code not executed till client response.

    Thanks & Regards
    Raman singla
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 13 Mar 2014 in reply to Raman Link to this post

    Hi Raman,

    One suggestion is that you can use both server side and client side code to achieve your scenario. Please take a look into the following code snippet.

    protected void RadButton1_Click(object sender, EventArgs e)
        RadWindowManager1.RadConfirm("Are you sure?", "CallBack", 500, 200, null, "Confirm");

    <script type="text/javascript">
        function CallBack(args) {
            if (args == true) {
                //write your code

  3. DevCraft R3 2016 release webinar banner
Back to Top