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

Alert window on condition

3 Answers 29 Views
Window
This is a migrated thread and some comments may be shown as answers.
Cris
Top achievements
Rank 1
Cris asked on 05 May 2009, 10:47 PM
Basically I want to do a simple alert window using RadMenu. When a button is clicked, some checks are made on server and then if they fail I want to display a RadWindow with a message. I can't find a solution. Any help is appreciated!

Thanks,
C

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 06 May 2009, 04:27 AM
Hi Cris,

I believe the following KB article which describes how to call RadAlert from server side, will be of help:
Calling radalert from codebehind (all versions of RadWindow)

Thanks,
Shinu.
0
Svetlina Anati
Telerik team
answered on 06 May 2009, 02:01 PM
Hi Cris,

The KB article Shinu provided is the one which explains exactly how to achieve what you need. Note, however, that it demonstrates a few different scenarios and it is important to determine which one is the one which meets your scenario in order to correctly execute the script from the server (especially in ajax scenarios).

I also recommend to examine the following blog post which concerns the same topic:

http://blogs.telerik.com/supportdept/posts/09-05-05/executing_javascript_function_from_server-side_code.aspx


Best wishes,
Svetlina
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.
0
Cris
Top achievements
Rank 1
answered on 07 May 2009, 01:54 PM
Hey - thanks for the replies, works just fine!
Tags
Window
Asked by
Cris
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Svetlina Anati
Telerik team
Cris
Top achievements
Rank 1
Share this question
or