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

RadAlert w/ValidationSummary Control

4 Answers 173 Views
Window
This is a migrated thread and some comments may be shown as answers.
houps
Top achievements
Rank 1
houps asked on 23 Apr 2008, 02:47 AM
I have a standard asp.net validation summary control with the "showmessagebox" property set to "true".  Is there a way to replace the "generic" popup window with the RadAlert?

4 Answers, 1 is accepted

Sort by
0
Accepted
Lini
Telerik team
answered on 24 Apr 2008, 03:41 PM
Hello,

Try putting the following code in your page:

<script type="text/javascript">  
window.alert = function(string)  
{  
    radalert(string);  
}  
</script> 

This should replace the normal alert function for the page with a RadAlert prompt. The other way to do this is overriding the built-in ASP.NET validation functions, but it is much more complicated.

All the best,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
houps
Top achievements
Rank 1
answered on 24 Apr 2008, 06:33 PM
Thank you...that's exactly what I was looking for.
0
Kishor Dalwadi
Top achievements
Rank 2
answered on 02 Aug 2010, 12:41 PM
Hi Sir,

i am writing Alert message from code behind it's work properly.

but When i use radalert it's not work.

Please give me Solution for that.

Kishor Dalwadi.
0
Georgi Tunev
Telerik team
answered on 02 Aug 2010, 02:34 PM
Hi Kishor,

Please check the following blog post for more information on the subject:

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

If you still experience problems after that, open a support ticket and send us a sample page that reproduces the problems so we can check it.

Best wishes,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Window
Asked by
houps
Top achievements
Rank 1
Answers by
Lini
Telerik team
houps
Top achievements
Rank 1
Kishor Dalwadi
Top achievements
Rank 2
Georgi Tunev
Telerik team
Share this question
or