Neil,
A messagebox would need to be done using client side code (javascript). You can call the confirm function that will ask a question like for the following example a dialog will appear (client-side) that will ask the user to confirm if they want to delete a record:
cmdDelete.Attributes.Add("onclick", "return confirm (""Are you sure?"");")
There is also the alert function that can be used to display a message with the "Ok" to exit the message.
Another option is the prompt function with will ask the user for a string.
>Hi,
>
>Does the mm.net framework have a "messagebox()" method that can be used in web forms? I did a google on attaining messagebox functionality in asp.net and it seems as if there is no straight forward way to do it.
>
>Neil
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi