473,395 Members | 1,647 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Required Field Control ?

I have a dataentry form that requires certain TextControls to be filled by
the user. I also have a "User Control" that hosts several Url Link Button
controls and these Url links can be clicked at anytime. At present, my
dataentry form does not allow user to escape, they have to enter the
"required" fields before they can click on other Url links. How do I
programmatically allow the user to exit the current form (by pass the
required fields) without entering data except for the "Submit" button ?

Thanks

Tom
Nov 18 '05 #1
3 1105
Thomas McFarlane wrote:
I have a dataentry form that requires certain TextControls to be
filled by the user. I also have a "User Control" that hosts several
Url Link Button controls and these Url links can be clicked at
anytime. At present, my dataentry form does not allow user to
escape, they have to enter the "required" fields before they can
click on other Url links. How do I programmatically allow the user to
exit the current form (by pass the required fields) without entering
data except for the "Submit" button ?
Thanks

Tom


There is a CausesValidation property for the LinkButton: if false then
the validators are not checked when this linkbutton is clicked.

Hans Kesting
Nov 18 '05 #2
Hi Thomas,
You can set the CausesValidation property for the LinkButton controls to
False. So only the Submit button has the CausesValidation set to true and the
form will be validated only when Submit button is clicked.
HTH
srini

"Thomas McFarlane" wrote:
I have a dataentry form that requires certain TextControls to be filled by
the user. I also have a "User Control" that hosts several Url Link Button
controls and these Url links can be clicked at anytime. At present, my
dataentry form does not allow user to escape, they have to enter the
"required" fields before they can click on other Url links. How do I
programmatically allow the user to exit the current form (by pass the
required fields) without entering data except for the "Submit" button ?

Thanks

Tom

Nov 18 '05 #3

"Hans Kesting" <ne***********@spamgourmet.com> wrote in message
news:ux****************@TK2MSFTNGP15.phx.gbl...
There is a CausesValidation property for the LinkButton: if false then
the validators are not checked when this linkbutton is clicked.

Hans Kesting


Smart! Thanks all. That works!

Tom
Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Georges Heinesch | last post by:
Hi. My form contains a control (cboFooBar), which has an underlying field with the "Required" property set to "Yes". Now, while filling out all the controls of the form, I have to fill out this...
3
by: Mark | last post by:
Access97 --- I set the Required property for a field at the table level and I have a form that contains that field. When I click the Close button at the top left of the screen, I get an error...
1
by: Brian Shannon | last post by:
I built a composit control consisting of a calandar control and a text box and an image of a calandar. Depending on what page I place this control the Date field needs to be required. If the...
2
by: pmud | last post by:
Hi, I have an ASP.Net web page . The page was working fine until I added a required field field validator. My page has a link button which takes the user to another page, a submit button which...
3
by: Kivak Wolf | last post by:
Hi, Could someone give me a quick review of how to use the required field Validator? I'm completely at a loss, and MSDN does not help one bit. =/ Basically all I want done is to make sure that...
1
by: Dave | last post by:
Hi, I'm using .NET 1.1 and wondering if I can use RequiredFieldValidators with required fields inside user controls. The page is a type of tabbed panel layout with the divs show/hidden using...
0
by: dinsdale | last post by:
Wow, this is a really embarassing thing to have to ask about... I have an asp.net page with a multiview control in it. We want to enter person info in a semi - wizard style and I wanted to use...
7
by: Newbie Coder | last post by:
How do I use a Required Field Validator control in ASP.NET 2.0 to validate an e-mail address entered into a textbox control because there is no VALIDATION EXPRESSION like in previous versions? ...
7
by: Tom van Stiphout | last post by:
I want to indicate requiredness by setting the background color of the control. Ideally I would call a sub in Form_Load to just do its thing. Below is what I have so far, but I realize this is of...
7
by: kiwipedia | last post by:
Hi all I have a combo-box control which I've set as a required field. It's a date and uses a calendar as coded below. All works fine unless the user deletes a pre-existing value (leaving a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.