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
Which protocol is used to call web service?
How will you do windows authentication and what is the namespace? If a user is logged under integrated windows authentication mode, but he is still not able to logon, what might be the possible cause for this? In ASP.Net application how do you find the name of the logged in person under windows authentication?
Why is it preferred to not use finalize for clean up?
What are cookies in your browser?
What is the difference between pathparam and queryparam?
Explain the difference between sql invalidation and sql notification.
What is custom events?
how to retrieve property settings from xml .config file.
What is postback in asp net?
What is caching? What are different ways of caching in asp.net?
How do sessions work?
What is application in asp net?
Explain the concept of View Model in MVC?
What is session in http request?
Explain how can we inherit a static variable?