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 |
How to replace all occurrences of a string in JavaScript?
How to convert a string to lowercase?
How to write a function in javascript?
How can JavaScript be used?
0 Answers Deloitte, JPMorgan Chase,
How to make a array as a stack using javascript?
Why do we need javascript?
How can you to add javascript to a page when performing an asynchronous postback?
What are the three core languages in web pages?
Write a javascript program to make a simple calculator
What is difference between local variable and global?
How fast can you learn coding?
What is enum in javascript?