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

Radalert with asp button

1 Answer 67 Views
Window
This is a migrated thread and some comments may be shown as answers.
arturo
Top achievements
Rank 1
arturo asked on 03 May 2011, 06:06 PM

hi all
i have a little problem with radalert method, i am trying to open an alert with an asp button, try with register startup script but this dont work as expected

somebody have an example that can show me


regards
thx

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 04 May 2011, 06:32 AM
Hello Arturo,

You can open radalert from Server side and Client side.

 In order to achieve this from client side try the following.
<button onclick="radalert('An alert'); return false;"> Alert</button>

Also check the help article for more details.
Working with RadAlert.

 The predefined dialogs (radalert, radconfirm and radprompt) can be now called by using the new server methods RadAlert, RadConfirm  and RadPrompt of the RadWindowManager or use the following method in the KB article.
C#:
protected void Button1_Click1(object sender, EventArgs e)
{
RadWindowManager1.RadAlert("RadAlert is called from the server", 330, 100, "Server RadAlert", "alertCallBackFn");
}

Also check this demo for more details.
Window / Alert, Prompt, Confirm .

Thanks,
Princy.



Tags
Window
Asked by
arturo
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or