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


Please Help Members By Posting Answers For Below Questions

What is webresource axd?

645


Explain method to handle error using HttpError in Web API?

796


Explain client side state management system.

733


What are sessions and cookies?

750


What permissions do asp.net applications posses by default?

819


What are url fragments?

671


What is clr? Difference between clr & cts?

860


What is page fragment caching?

715


What are HTTP handlers in ASP.NET?

763


when a request is made in Life cycle of ASP.NET page .

711


What is connection pooling and how to enable and disable connection pooling?

700


What are the asp.net list controls and difference between them?

715


What are the different session state management options available in asp.net?

718


What kind of data can be stored in viewstate?

744


What is difference between asp state management and asp.net state management?

793