ServerSideValidationExtender problem

Jan 24, 2008 at 8:48 AM
I am using propertyproxyvalidator with ServersidevalidationExtender but the main problem is this when u click save button without putting any value in textbox it shows error and when u put any text inside textbox
and move to next textbox the error message is not removing.

my code like this....

<asp:TextBox CssClass="textbox" ID="txtEmailId" runat="server" Width="253px" Text='<%# Bind(Container.DataItem,"ResponseEmailId") %>'></asp:TextBox>
<cc1:PropertyProxyValidator ID="EmailIdValidator" ValidationGroup="SaveValidation" runat="server" ControlToValidate="txtEmailId" PropertyName="ResponseEmailId" SourceTypeName="Hirepro.ClientBusiness.SourceManagement.ServiceAgents.Source" DisplayMode="SingleParagraph" Display="Dynamic" ></cc1:PropertyProxyValidator>
<cc2:ServerSideValidationExtender ID="ServerSideValidationExtender1" TargetControlID="EmailIdValidator" runat="server">
</cc2:ServerSideValidationExtender>

pls help me how to overcome this problem..

Girish