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 asp.net to javascript relationship so any help is appreciated!
thanks
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 asp.net to javascript relationship so any help is appreciated!
thanks