Click to See Complete Forum and Search --> : Alert message in ASP.NET


MMH
December 21st, 2006, 05:11 AM
Hi all.......
i want to show an alert message in my ASPX page using C#...
how do i pop up an alert message??? also how do i pop up confirmation box ??
currently i m using javascript to pop up an alert, but i want to code it in C#.

Plzzz help me....
thanks
MMH

Shuja Ali
December 21st, 2006, 05:50 AM
You will have to use Javascript to do the alert and confirm message boxes in ASP.NET. There is not other option. Even if you try to use C#, you will still have to use Javascript only.

You need to understand that C# will be used on the server side whereas anything that needs to be done on the clientside should be done using Javascript.

MMH
December 21st, 2006, 06:27 AM
Thanks for ur reply.....