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
What is the difference between application state and caching?
What is marshalling ? Is it a part of asp.net ?
What are main return types supported in Web API?
What is asp.net web pages?
What is the purpose of App_Code folder in ASP.NET? Why we this?
What is asp.net localization?
How you can manage the state of application at the server side in ASP.NET?
Explain the difference between array and linkedlist?
Which two new properties are added in asp.net 4.0 page class?
Where the cookie value is stored?
What is Web API?
What is meant by server side scripting?
Does asp.net still recognize the global.asa file?
Explain Areas in MVC?
Explain the differences between clr & cts?