akshatha306
06-21-2006, 09:12 AM
:thumbsup: In the procedure in the .cs file i have a line of code as follows where i will call an alert message.. (i Dont want to do this in the pageload using ONCLICK)
myPage.RegisterStartupScript("Continue","<script>alert('The account has valid claim information entered in the grid.Either answer the question Yes or delete all the information in the grid');</script>");
The message i want to display is :
"The account has no valid claim information entered in the grid. Either
answer the question ‘No’ or add valid claim information into the grid. Zero
is valid if the policy had no claims during the experience period."
With same apostrophes for No and the message should come in three line in the same format. How do i do this.
Right now its displaying the message but without apostrophes and in one single line
I dont want to do it writing a function in HTML page and calling it. Is there a way of doing it in the same alert message.
myPage.RegisterStartupScript("Continue","<script>alert('The account has valid claim information entered in the grid.Either answer the question Yes or delete all the information in the grid');</script>");
The message i want to display is :
"The account has no valid claim information entered in the grid. Either
answer the question ‘No’ or add valid claim information into the grid. Zero
is valid if the policy had no claims during the experience period."
With same apostrophes for No and the message should come in three line in the same format. How do i do this.
Right now its displaying the message but without apostrophes and in one single line
I dont want to do it writing a function in HTML page and calling it. Is there a way of doing it in the same alert message.