RAD confirmation Dialog

2 posts, 0 answers
  1. Backy Shah
    Backy Shah avatar
    5 posts
    Member since:
    Aug 2009

    Posted 07 Oct 2009 Link to this post

    Hi,

    I have attached RAD confirmation dialog box with my ASP.net button OnClientClick.  It woks fine but it doesn't fire server side click event of button whether I select Ok or Cancel.

    I am using following code

    <

     

    asp:Button ID="btnDelete" runat ="server" Text ="Delete" cssclass="RadUploadSubmit" OnClientClick="return  OpenConfirm();"

     

     

    Visible="False" />

    function
    OpenConfirm() {

      radconfirm(

    '<h3 style=\'color: #333399;\'>Are you sure?</h3>', confirmCallBackFn, 330, 100, null, 'RadConfirm custom title');

     

     

     

    return false;

     function confirmCallBackFn(arg) {

     

     

      radalert(

    "<strnog>radconfirm</strong> returned the following result: <h3 style='color: #ff0000;'>" + arg + "</h3>", null, null, "Result");

     

     

     }

    Please tell me where do I modify javascript so it fires server side click after User selects Ok on confirmation dialog.

    Thank you.

     

     

     

     

     

     

     

     
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 07 Oct 2009 Link to this post

    Hi Backy,

    I suggest to check the following resources:
    http://www.telerik.com/community/code-library/aspnet-ajax/window/block-the-execution-thread-with-radconfirm.aspx
    http://demos.telerik.com/aspnet-ajax/window/examples/browserdialogboxes/defaultcs.aspx



    Regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top