we can able to display a MessageBox in asp .net without
using any script langages?
Answer Posted / ajit
using system.Text;(namespace)
and applying following code
string myStringVariable = string.Empty;
myStringVariable = "Welcome";
ClientScript.RegisterStartupScript(this.GetType(),
"myalert", "alert('" + myStringVariable + "');", true);
on button click...
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is there any limit for query string? Means what is the maximum size?
How will you do Redo and Undo in a TextControl?
Explain the purpose of storyboard.targetproperty.
Define the term Web Garden?
Which is faster union or union all?
Which method is used to perform all validation at the page level?
How can we Validate a Controls in ASP.NET page using JavaScript?
Define xmlvalidatingreader class.
What is asp.net web application?
What is the use of view state?
What is inproc and outproc?
What is the typical session identifier?
Mention the execution process for managed code?
Why do we use sessions?
What is .net framework and what are the main components of it?