4 Answers, 1 is accepted
0
Accepted
Hello,
Try putting the following code in your page:
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
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.
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
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
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