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

which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites

1666


What is difference between asp.net and asp?

556


Briefly describe the role of global.asax?

567


What is a url string?

543


To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?

596






What is difference between web api and web services?

531


What is a postback in asp net?

529


Write some code using interfaces, virtual methods, and an abstract class`

1577


Differentiate strong typing and weak typing

522


What are the advantages of using session?

428


What is the difference between mechine.config and web.config?

726


What are sql joins?

562


What is clr? Difference between clr & cts?

680


What is sta?

548


What is a session http?

512