Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

display a message in a new window on a button press

Status
Not open for further replies.

csdewan

MIS
Apr 11, 2005
16
GB
Hi All,

I have created a web form to collected some information from user and then send the data via a System.Web.Mail.MailMessage on the submit of a button. The question i have is that i also want on the submit of the button to display a message in a new window telling the user some infomation. I am sure this is fairly simple thing todo but seem be gettting a bit stuck.

Any help would be great.

Thanks
 
you are looking for a javascript function called window.open()

try this (.NET 2)
OnClientClick="open('MyDisplayMsg','','')"

OR
OnClientClick="alert('MyDisplayMsg')"


Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top