Using RadAlert to display errors

2 posts, 0 answers
  1. Eric Turner
    Eric Turner avatar
    15 posts
    Member since:
    Feb 2009

    Posted 01 Apr 2009 Link to this post

    I have a radgrid and when a row is selected and a button is pressed I process the button and go to another page to process the information.

    But if no row is selected I want to issue an alert telling the user to select a row and stay on the same page.  Just how can I make this happen?

    I am able to display an alert using the javascript page load function and by adding a function call to the onClientClicked Event.  But how can I call the rad alert based on what happens in the server side button code? 

    I would also like to do the same thing on another page passing it an html string of errors that occur that need to be corrected before allowing the user to submit the page.  So somehow I would need to pass this string to the javascript function.

    I guess I'm a little green in the to javascript relationship so any help is appreciated!

  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 01 Apr 2009 Link to this post

    Hi Eric,

    I believe that the following KB article will be of help:

    Best wishes,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top