ServerSideValidationExtender

A

abcd

I am using AjaxControlToolKit and using ServerSideValidationExtender for
validation. When I use below code in aspx file it works fine. But when I wrap
this code in another userControl (ascx) the event is not fired for the first
time and validation is not performed but the code works well for second time
as the event is fired. Why this mystery is there any clues why the first
time validation is not performed also validation is inconsistant

<uctValidation:propertyProxyValidator runat="server" ID="ppvAirportCode"
ControlToValidate="txtAirportLocation"
Display="None" DisplayMode="List"
ValidationGroup="FlightFare" PropertyName="Origin" SetFocusOnError="true"
Visible="true"
SourceTypeName="Test.Data " EnableViewState="false"
OnValueConvert="ppvAirportCode_ValueConvert"/>
<ajaxtoolkitwcsfextensions:ServerSideValidationExtender runat="server"
ID="ValidationExtender1"
TargetControlID="ppvAirportCode" ValidateEmptyText="true" />
<ajaxControlToolkit:ValidatorCalloutExtender runat="server"
ID="vceAirportPicker" TargetControlID="ppvAirportCode"/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,163
Messages
2,570,897
Members
47,434
Latest member
TobiasLoan

Latest Threads

Top