use this:
RegisterStartupScript( "Script", "<SCRIPT>alert('Error, you have ....
');</SCRIPT>" ); // just has an ok button..
or this
RegisterStartupScript( "Script", "<SCRIPT>return confirm('Would you like
to ...?');</SCRIPT>" ); // has a yes/no option
but with a modal that you've created...
RegisterStartupScript( "Script",
"<SCRIPT>showModal('<pagename.aspx>');</SCRIPT>" ); // your aspx page.
"msuk" <ms**@discussions.microsoft.com> wrote in message
news:70**********************************@microsof t.com...
Hi,
Thanks do you have a example please?
Thanks
Msuk
"Nicholas Paldino [.NET/C# MVP]" wrote:
Msuk,
You would have to do this through client side scripting code.
Basically, a call to the alert method on the window class provided in the
browser. You will have to register your script on the server side to act
in
response to a user action (or the document loading), though.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"msuk" <ms**@discussions.microsoft.com> wrote in message
news:F7**********************************@microsof t.com... > All,
>
> I have a C# ASP.Net and would like to know how I can display a message
> box
> or another stripped down modal internet explorer window.
>
> Thanks
> Msuk