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 the difference between application state and caching?

546


What is marshalling ? Is it a part of asp.net ?

614


What are main return types supported in Web API?

750


What is asp.net web pages?

530


What is the purpose of App_Code folder in ASP.NET? Why we this?

617






What is asp.net localization?

503


How you can manage the state of application at the server side in ASP.NET?

582


Explain the difference between array and linkedlist?

524


Which two new properties are added in asp.net 4.0 page class?

528


Where the cookie value is stored?

511


What is Web API?

647


What is meant by server side scripting?

523


Does asp.net still recognize the global.asa file?

557


Explain Areas in MVC?

656


Explain the differences between clr & cts?

564