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 file extension of web service?

558


What are the events that happen when a client requests an asp.net page from iis server?

490


What language is asp.net written in?

530


Is asp.net easy to learn?

559


where can i gather the materials for MCP certification

4498






What is session mode in asp.net?

527


What is the difference between client-side and server-side validations in webpages?

566


Explain about the Class view window?

596


What is the difference between a multi-layer and multi-tier applications?

576


What does uri mean?

503


How can you implement encapsulation in asp.net?

11319


Can you nest updatepanel within each other?

556


Define xmlreader class.

580


Do you know caching feature?

571


Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?

629