| | |
MessageBox in C#
Please support our ASP.NET advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Feb 2009
Posts: 12
Reputation:
Solved Threads: 1
Hi again
I yust wonder who this could be done..
Do as i told over.. in button click method
then select: project -> add reference
Then scroll down to System.Windows.Forms and select this.
Press ok
I yust wonder who this could be done..
Do as i told over.. in button click method
ASP.NET Syntax (Toggle Plain Text)
System.Windows.Forms.MessageBox.Show("This is a message");
then select: project -> add reference
Then scroll down to System.Windows.Forms and select this.
Press ok
/Regards
Frank
Frank
Hi,
I dont think what Frank is saying will work when deployed (But i will gladly be proven wrong as i would like to be able to use the messagebox functionality in an asp.net app). The messagebox will throw an exception because you can not show a modal form on a clients machine when it is created server side. The only real option avaliable is to Use javascript or Ajax as someone has mentioned earlier in this thread.
I dont think what Frank is saying will work when deployed (But i will gladly be proven wrong as i would like to be able to use the messagebox functionality in an asp.net app). The messagebox will throw an exception because you can not show a modal form on a clients machine when it is created server side. The only real option avaliable is to Use javascript or Ajax as someone has mentioned earlier in this thread.
![]() |
Similar Threads
- Pass data to MessageBox (VB.NET)
- Calling MessageBox in Borland C++Builder (C++)
- Messagebox (ASP.NET)
- MessageBox (C++)
- MessageBox::Show problem (C++)
Other Threads in the ASP.NET Forum
- Previous Thread: Printing problem with crystalreportviewer
- Next Thread: Enable and disable checkbox in datagrid at runtime
| Thread Tools | Search this Thread |
.net 2.0 activexcontrol advice ajax alltypeofvideos application asp asp.net bc30451 bottomasp.net box browser button c# c#gridviewcolumn checkbox click commonfunctions confirmationcodegeneration css dataaccesslayer database datagridview datagridviewcheckbox datalist deadlock development dgv dropdownlist dynamically edit expose feedback fileuploader fill flash form formatdecimal forms formview grid gridview gudi homeedition hosting iframe iis javascript jquery listbox login microsoft mono mouse mssql multistepregistration news numerical objects opera panelmasterpagebuttoncontrols parent radio redirect registration relationaldatabases reportemail rotatepage save schoolproject search security select silverlight smartcard smoobjects software sql-server sqlserver2005 suse textbox tracking unauthorized validation vb.net video videos view virtualdirectory vista visualstudio web webapplications webdevelopemnt webprogramming webservice xml xsl youareanotmemberofthedebuggerusers






