validation


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: validation

  1. #1
    Join Date
    Aug 2006
    Posts
    113

    validation

    i have 2 textbox 2 buttons and 2 required field validator for each textbox box respectively.

    when i click bt1 the requirefield validator for txtbox1 should activate and
    when i click bt2 the requirefield validator for txtbox2 should activate

    iam using .net framework 1.1

  2. #2
    Join Date
    Dec 2004
    Posts
    717
    AFAIK, it's not possible to do with Standard Required Field Validator in ASP.NET 1.1. But It's possible to do like that in ASP.NET 2.0.
    maybe. you should use Javascript instead of using Required Field Validators. or you may need to create your owned Required Field Validators which may inherits from System.Web.UI.WebControls.RequiredFieldValidator.
    Best Regards,
    Michael Sync
    http://michaelsync.net

    The more you share,The more you get

  3. #3
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Replies: 2
    Last Post: 06-14-2006, 05:20 AM
  2. Validation for Data control event
    By Tazmania in forum VB Classic
    Replies: 1
    Last Post: 05-22-2006, 08:44 AM
  3. Replies: 0
    Last Post: 10-24-2001, 04:09 PM
  4. Replies: 2
    Last Post: 08-30-2001, 11:32 AM
  5. Validation
    By Marcia in forum Java
    Replies: 1
    Last Post: 09-14-2000, 11:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center