Damned ! thats sound like ASP !
Theorically, when you think ASP.NET you think = "no more inline scripting".
---------------------------------------------------------------= -------
Subject: RE: How to pop up a modal dialog in = ASP.Net?
From: "Piet Brekelmans" = <p.brekelmans@a...>
Date: Thu, 31 May 2001 10:25:52 +0200
X-Message-Number: 2
Hi,
in the aspx HTML-source you could code
<html>
<head>
<script = language=3D3D"Javascript">
var msg = =3D3D '<%=3D3DsServerMessage%>';
if (msg = !=3D3D '') alert(msg);
</script>
...
Where the sServerMessage variable is a public or = protected get-property
of the code-behind class of the page.
Hope this helps
> -----Original Message-----
> From: Annie Wang [mailto:hwang@m...]<= /FONT>
> Sent: donderdag 31 mei 2001 0:43
> To: ASPX_Professional
> Subject: [aspx_professional] How to pop up a = modal dialog in ASP.Net?
>=3D20
>=3D20
>=3D20
> I want to pop up a modal = dialog window to display error=3D20
> message when=3D20
> there is any error happens during server-side = processing. I=3D20
> was able to do=3D20
> it in ASP by embed client-side JScript code in = server-side=3D20
> code. But I am=3D20
> how sure how to handle this in = ASP.Net.=3D20