messagebox in asp.net

HobVoidoodona

New Member
how to display a message box in asp.net.The purpose is to give confirmation for deletion, if there is any other methods possible pls kindly inform that also.<BR>thanx<BR>Put a label in your code behind and set its text to call a sub in your .aspx page such as<BR> lblDHTML.Text = "<SCRIPT language=vbscript> Call Messagebox(""Default Cost Value Has Been Recalculated"")</SCRIPT>"<BR><BR>Then put this sub in your aspx page<BR><script language="vbscript"><BR> <!-- <BR> Public Sub Messagebox(sMessage)<BR> msgbox(sMessage)<BR> End Sub <BR> --><BR>This may not be the best way but it worksthanku fur ur reply.i am totally new to asp.net...and i am not using the code behind form method.both scropt and .net i am using in the same page.so is this code which u sent can be used in that case also.<BR>thanking you<BR><BR>
 
Back
Top