[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.mobile

how to show a dialogbox use c# in asp.net

zzjg

6/4/2002 8:45:00 PM

Can you tell me
I want delete something .
Befor I delete,I a want to show a dialogbox like this
are you really want to delete ?
if chose yes
then delete
if chose no
the code will not run
can you tell me how to do this use C# in asp.net
my email is : z3380443@hotmail.com
or zzjg@21cn.com
thanks

1 Answer

Craig Deelsnyder

6/8/2002 5:36:00 AM

0

You have to use client-side scripting. The server has no concept of msgbox,
etc.

Write some Javascript; see the Page.RegisterClientScriptBlock event

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/c...
frlrfsystemwebuipageclassregisterclientscriptblocktopic.asp

or use a Literal and set it's text to the JavaScript

"zzjg" <z3380443@hotmail.com> wrote in message
news:a39501c20bf8$0ad26230$36ef2ecf@tkmsftngxa12...
> Can you tell me
> I want delete something .
> Befor I delete,I a want to show a dialogbox like this
> are you really want to delete ?
> if chose yes
> then delete
> if chose no
> the code will not run
> can you tell me how to do this use C# in asp.net
> my email is : z3380443@hotmail.com
> or zzjg@21cn.com
> thanks
>