Confirmation dialog box with RadWindow

2 posts, 0 answers
  1. Pravallika
    Pravallika avatar
    30 posts
    Member since:
    Mar 2014

    Posted 09 Jun 2014 Link to this post

    Hai All I am new to telerik i have a Radbutton when i click on button it will do some operation and at the same time it will show radwindow with yes and no buttons if you 
    click on yes it will show alert message saved sucessfully when i click on ok it will go to another page 


    <asp:Button ID="Button1" runat="server" Text="Save" CssClass="btnSaveForm" OnClick="btnTotalaSave_Click" />
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 09 Jun 2014 in reply to Pravallika Link to this post

    Hi Pravallika,

    In your scenario you can use the RadConfirm instead of RadWindow. Please have a look into the sample code snippet to achieve your scenario.

    <telerik:RadButton ID="radbtnOpenWindow" runat="server" Text="Confirmation" OnClick="radbtnOpenWindow_Click">
    <telerik:RadWindowManager ID="radwindowmngrConfirm" runat="server" Localization-OK="Yes"

    protected void radbtnOpenWindow_Click(object sender, EventArgs e)
        radwindowmngrConfirm.RadConfirm("Are you sure you want to save the file?", "CallBack", 500, 200, null, "Confirm");

    function CallBack(args) {
        if (args) {
            alert("Saved Successfully");
        else {
            //here give the url of the page
  "GetRadEditor.aspx", "_blank");

Back to Top