This is a migrated thread and some comments may be shown as answers.

RadAlert with RadConfirm

0 Answers 37 Views
Window
This is a migrated thread and some comments may be shown as answers.
KeDaR
Top achievements
Rank 1
KeDaR asked on 20 May 2015, 11:44 AM

how i can show Rad alert with radconfirm

<asp:Button ID="Button1" Text="Button" runat="server" OnClick="Button1_Click" OnClientClick="confirmAspButton(this);return false;"></asp:Button>

 

function confirmAspButton(button)        {
if (document.getElementById("txt11").value == "")            {
               radalert('Please select txt11.', 400, 180, 'Dossier-Mgmt', null, null);           
}
if (document.getElementById("TextBox1").value == "")
{                radalert('Please select Text1.', 400, 180, 'Dossier-Mgmt', OtherCallbackFn, null);
          }
function OtherCallbackFn(arg)           {                if (arg) { }           }
            radconfirm("Are you sure you want to postback?", aspButtonCallbackFn, 330, 180, null, "Confirm"); function aspButtonCallbackFn(arg)            {            if (arg) { __doPostBack(_button.name, ""); }
        }       }

No answers yet. Maybe you can help?

Tags
Window
Asked by
KeDaR
Top achievements
Rank 1
Share this question
or