Opening Rad confirmation Pop up from the server side

4 posts, 0 answers
  1. Karthick Purushothaman
    Karthick Purushothaman avatar
    23 posts
    Member since:
    Mar 2009

    Posted 17 Jun 2009 Link to this post


    Hi,

    I want to open a Rad confirmation popup window resulting "Yes" or "No" from the server side. .
    From the server side, on the button click i would like to open the rad confirmation popup window. Depending on the result (Yes/No) certain operations i have to implement. But this have to done from the server side. so i need to open the popup from the server sdie

    Can any one help me to solve this problem.

    Thanks & Regards,
    Sushanth Mathew  
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 17 Jun 2009 Link to this post

    Hi Karthik,

    Radconfirm just as the standard confirm works on the client. Therefore, to perform any actions on the server side after you select Yes/No, you need to make a postback to the server.

    Checkout the following forum link which discusses how to show radconfrm from server side.
    radconfirm

    [Note: As an alternative you can also perform an ajax request instead of using __doPostBack javaScript built-in function. You can do this by using the RadAjaxManager control and its ajaxRequest function]

    Thanks,
    Shinu
  3. Karthick Purushothaman
    Karthick Purushothaman avatar
    23 posts
    Member since:
    Mar 2009

    Posted 17 Jun 2009 Link to this post

    Hi,

    i checked with the code that you send but it didnt solve my issue.

    In my case the controls are dynamically created and need to fire the Rad confirmation pop up window. here is the code am using for that.

     

    ImageButton

     

    btnCancel = new ImageButton();

     

    btnCancel.Attributes.Add(

    "onClick", "confirmSaveDuplicatePerson()"); 

    I can able to call the Java script ("confirmSaveDuplicatePerson()") but am not getting the rad pop up confirmation window.

     

     



    Thanks & Regards,
    Sushanth Mathew

  4. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 18 Jun 2009 Link to this post

    Hi Karthick,

    For your convenience I have implemented the desired functionality in a demo project and attached it to the thread. I added some comments in it, but in case you need any further assistance, please do not hesitate to contact us again.


    Regards,
    Fiko
    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