RadAlert w/ValidationSummary Control

5 posts, 1 answers
  1. houps
    houps avatar
    3 posts
    Member since:
    Jun 2007

    Posted 22 Apr 2008 Link to this post

    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?
  2. Answer
    Lini
    Admin
    Lini avatar
    2148 posts

    Posted 24 Apr 2008 Link to this post

    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
  3. houps
    houps avatar
    3 posts
    Member since:
    Jun 2007

    Posted 24 Apr 2008 Link to this post

    Thank you...that's exactly what I was looking for.
  4. Kishor Dalwadi
    Kishor Dalwadi avatar
    40 posts
    Member since:
    Nov 2009

    Posted 02 Aug 2010 Link to this post

    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.
  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 02 Aug 2010 Link to this post

    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
Back to Top