Author: Teto | Posted on: 10/19/2009 7:44:37 AM | Views : 271

I've made a class that inherits textbox and IValidator in order to create a self validating textbox in order to not have to use the validator controls. It is working perfectly so far except for one rather frustrating problem, it seems to ignore ValidationGroup entierly.

Here's an example for how the control is implemented<fieldset> <CWC:ValidatingTextBox ID="_txtTextbox1" ValidationGroup="Group1" runat="server" /> <CWC:ValidatingTextBox ID="_txtTextbox2" ValidationGroup="Group2" runat="server" /> <asp:Button ID="_btnSave" runat="server" OnClick="DoSave" Text="Save" /> </fieldset>
Go to the complete details ...