Validation blocks problem - Showing error message with a messagebox

Topics: Validation Application Block
Dec 4, 2008 at 10:35 AM
 Hi,

Using the validation blocks to show the validation errors to the user at the UI, I'm seing that it is impossible to do it with a messagebox. (ShowMessageBox property is set to true, but the msgbox is not shown).

There is any solution for this?

Thanks
Dec 5, 2008 at 3:45 AM
I suggest you create your own javascript that would display the error messages from all the validators that failed.  For the sample code, check out this link, http://aspnet2holes.blogspot.com/2006/03/trigger-validationsummary-popup.html.


Sarah Urmeneta
Global Technology & Solutions
Avanade, Inc.
entlib.support@avanade.com