how can we use java script message alert with asp.net with
useing vb.net coding show full process with its coading
Answer / me
To work with javascript in ASP.NET, the best way to do it,
is using the Page.ClientScript object at some point.
For instance, if you want to show an alert box when the
page is finished loading, use this:
string javascript = "alert('Finished loading!');"
Page.ClientScript.RegisterStartupScript(typeof
(string), "key", javascript,true);
The ClientScript object has other methods, like
RegisterClientScriptBlock, RegisterClientScriptInclude,
RegisterExpandoAttribute and so on, which all allow you to
add javascript to the page in different ways.
| Is This Answer Correct ? | 1 Yes | 0 No |
What does the isNaN() function?
What is the purpose of using javascript?
Some XYZ company is arranging for online aptitude tests. Draw detailed E-R diagram for the same..
What are the features of javascript?
How are object properties assigned?
Is jquery easier than javascript?
what is the difference between let, var, and const?
What would you use javascript for?
In javascript chained select menus are available.first select menu is worked and others are disabled.when we select any one option then the next select menu will worked having option releated to selcted in first select menu.How it possible? what is the coading of this programme?
What are 2 (shorthand) boolean operators supported by javascript
How can you do a character count in javascript?
What is new keyword in javascript?