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

[Solved] Rad Window order of operations issue

1 Answer 82 Views
Window
This is a migrated thread and some comments may be shown as answers.
Bryan Page
Top achievements
Rank 1
Bryan Page asked on 21 Jul 2009, 07:56 PM
I have a rad alert function (from this site) that I got to work great, but now I want to make it work AFTER i do logic on code behind page.

It works when I use onclick="my javascript" in the button tag.   But I want it to fire on the code behind AND run the script after I do logic.

How can I do this?

 

protected void btnResetPwd_Click(object sender, EventArgs e)

 

{

 

 

 * here is my button event click 
 * I want logic here, then if good......run that radalert(); script
}


HOW?




1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 22 Jul 2009, 02:27 PM
Hello Bryan,

I believe that the following blog post will be of help: Executing JavaScript function from server-side code.

Sincerely yours,
Georgi Tunev
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.
Tags
Window
Asked by
Bryan Page
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or