Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ajax ValidatorCalloutExtender not working for second field

Status
Not open for further replies.

ksbigfoot

Programmer
Apr 15, 2002
856
CA
I am using VS 2005 Standard Edition.
I put two Ajax ValidatorCalloutExtenders on my page.
When I press the submit button the first ValidatorCalloutExtender shows up, but after I populate the field with a file and click submit button again, the second ValidatorCalloutExtender doesn't show up until I click into the second field.

Does anyone know what I am doing wrong?
Code:
                <tr>
                    <td style="width: 49px">
                        File:</td>
                    <td style="width: 450px">
                        <asp:FileUpload ID="FileUpload1" runat="server" Width="344px" />
                        <asp:RequiredFieldValidator ID="FileUpload1RFV" runat="server" ErrorMessage="Required Field Missing" ControlToValidate="FileUpload1" Display="None"/>
                        <cc1:ValidatorCalloutExtender ID="FileUpload1VCE" runat="server" TargetControlID="FileUpload1RFV" />
                        </td>
                </tr>
                <tr>
                    <td style="width: 49px">
                        Desc:</td>
                    <td style="width: 450px">
                        <asp:TextBox ID="TextBox1" runat="server" Width="256px"></asp:TextBox>&nbsp;
                        <asp:RequiredFieldValidator ID="TextBox1RFV" runat="server" ErrorMessage="Required Field Missing" ControlToValidate="TextBox1" Display="None"/>
                        <cc1:ValidatorCalloutExtender ID="TextBox1VCE" runat="server" TargetControlID="TextBox1RFV" />
                        </td>
                </tr>
 
you may want to check out forums.asp.net they have a forum dedicated to the ajax libraries.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top