I have a TabStrip and MultiPage control on my aspx page that work as expected. When I add Validator Controls in one of the PageViews of the MultiPage, the TabStrip no longer works.
Code: HTML/ASPX
<asp:RequiredFieldValidator ID="rf2" ControlToValidate="txtTicketNum2" Display="Dynamic" Text="[ticket# 2 required]" ForeColor="Red" runat="server" />
<asp:RegularExpressionValidator runat="server" ID="re2" ControlToValidate="txtTicketNum2" ValidationExpression="^\d{5,6}$" Display="Dynamic" Text="[ticket# 2 Must Be Numeric]" ForeColor="Red" />
<asp:CompareValidator runat="server" ID="cf1" Display="Dynamic" ControlToValidate="txtTicketNum2" ControlToCompare="txtTicketNum1" Operator="Equal" Text="[ticket#'s Do Not Match]" ForeColor="Red" />
<br />
<asp:textbox runat="server" ID="txtTicketNum1" Width="75px" TabIndex="1" ClientIDMode="Static" CssClass="input_text" MaxLength="6" />
<asp:textbox runat="server" ID="txtTicketNum2" Width="75px" TabIndex="2" ClientIDMode="Static" CssClass="input_text" MaxLength="6" />
I was able to track down an error message that said "Unable to find control id 'txtTicketNum1' referenced by the 'ControlToValidate' property of 'rf1'".
So how do I properly reference the Control Id in the validators when the control is inside the MultiPage Control?
Thanks,
Wes