asp.net custom control with form field validation issue
- by Ibrar Afzal
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.
        
            
      
      
           
    
    
`