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 webresource axd?
Explain method to handle error using HttpError in Web API?
Explain client side state management system.
What are sessions and cookies?
What permissions do asp.net applications posses by default?
What are url fragments?
What is clr? Difference between clr & cts?
What is page fragment caching?
What are HTTP handlers in ASP.NET?
when a request is made in Life cycle of ASP.NET page .
What is connection pooling and how to enable and disable connection pooling?
What are the asp.net list controls and difference between them?
What are the different session state management options available in asp.net?
What kind of data can be stored in viewstate?
What is difference between asp state management and asp.net state management?