Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 14th, 2004, 11:09 PM
Authorized User
 
Join Date: Aug 2004
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to check entered data with Validator Control

Hello everybody,

I have 3 textboxs (asp.net control) in my aspx page.

I want to check data enter these 3 textbox, but only compel enter 1 of 3 textboxs. i.e when second textbox entered data then first and third textbox can entered or do not entered.

How do I do that by using Validator control?

Thank so much,


 
Old September 15th, 2004, 02:58 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

Check in Javascript,if three textbox values are null,ask the user to enter value in any one of the textboxes. No Need for Validator control.


 
Old September 15th, 2004, 04:01 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

You can use a custom validator to validate the situation






Similar Threads
Thread Thread Starter Forum Replies Last Post
Control validator Lofa ASP.NET 1.0 and 1.1 Basics 0 February 21st, 2006 01:57 PM
Re: need to convert data entered to all caps flyfish Access 5 March 18th, 2005 12:35 PM
retaining the last data that was entered Calibus Classic ASP Databases 4 October 14th, 2004 03:31 PM
How to check data entered 3 textboxs minhpx General .NET 1 September 13th, 2004 11:46 PM
Maintain entered data sporkman43 Classic ASP Basics 2 October 14th, 2003 02:11 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.