asp.net custom control with form field validation issue
Posted
by Ibrar Afzal
on Stack Overflow
See other posts from Stack Overflow
or by Ibrar Afzal
Published on 2010-03-11T19:56:26Z
Indexed on
2010/03/11
19:59 UTC
Read the original article
Hit count: 225
Hi, I have created a custom asp .net control some fields have validation controal associated with them. The problem arised when I declare more than one initializtion on a page. When I hit submit on one of the intialized control. Form validation occur on all other control that were declared. Due to this issue I can submit a for. Here is the code `<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FinancialAdvisorHelp.ascx.cs" Inherits="FinancialAdvisorHelp" %>
Invalid Email."> Member Name* E-Mail Address*Telephone Number Ask Darryl your question Note: you should receive a response within two (2) business days.
*Required information.
`
© Stack Overflow or respective owner