J
Joey
asp.net 2/C#/VS2005
Using master pages
I have a page with several text boxes on it. I want to logically group
some of them. So I have a textbox that has required field and regular
expression validators for it. I also have a validation summary on the
page. For each of these four controls, I used the same value for the
"ValidationGroup" property. I have also assigned header text for the
validation summary and error messages for the validators.
But when I run the page, don't enter anything into the text box, and
click an image button (to trigger a postback), nothing happens. No
error message shows.
Is there something else I need to do to make this work?
Using master pages
I have a page with several text boxes on it. I want to logically group
some of them. So I have a textbox that has required field and regular
expression validators for it. I also have a validation summary on the
page. For each of these four controls, I used the same value for the
"ValidationGroup" property. I have also assigned header text for the
validation summary and error messages for the validators.
But when I run the page, don't enter anything into the text box, and
click an image button (to trigger a postback), nothing happens. No
error message shows.
Is there something else I need to do to make this work?