Dear ASP.NET Programmers,
I have a web user control (a search menu) which has 2 validation controls
(one for input and another for the search criterion). I am including this
search user control in ever page in my application. In pages with validation
controls, both the validation controls in the web user control and the
normal form page are both enabled and I would like to know how to seperate
them? I want to the 2 validation controls to be validated when I make a
search and when I am fiiling a form, only the val. controls of the form
should be enabled, and not the ones in the search user control. Pleaaseee
help me...
Buran 2 9134
Buran,
The validation controls html code includes an enabled parameter. Using
javascript you should be able to enable or disable each set of controls
depending on which submit button is clicked.
Sincerely,
--
S. Justin Gengo, MCP
Web Developer
Free code library at: www.aboutfortunate.com
"Out of chaos comes order."
Nietzche
"buran" <bu***@buran.com> wrote in message
news:u3**************@TK2MSFTNGP11.phx.gbl... Dear ASP.NET Programmers,
I have a web user control (a search menu) which has 2 validation controls (one for input and another for the search criterion). I am including this search user control in ever page in my application. In pages with
validation controls, both the validation controls in the web user control and the normal form page are both enabled and I would like to know how to seperate them? I want to the 2 validation controls to be validated when I make a search and when I am fiiling a form, only the val. controls of the form should be enabled, and not the ones in the search user control. Pleaaseee help me...
Buran
Thanks Mr. Gengo, could you please give me sample code?
"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message
news:eM**************@TK2MSFTNGP12.phx.gbl... Buran,
The validation controls html code includes an enabled parameter. Using javascript you should be able to enable or disable each set of controls depending on which submit button is clicked.
Sincerely,
-- S. Justin Gengo, MCP Web Developer
Free code library at: www.aboutfortunate.com
"Out of chaos comes order." Nietzche
"buran" <bu***@buran.com> wrote in message news:u3**************@TK2MSFTNGP11.phx.gbl... Dear ASP.NET Programmers,
I have a web user control (a search menu) which has 2 validation
controls (one for input and another for the search criterion). I am including
this search user control in ever page in my application. In pages with validation controls, both the validation controls in the web user control and the normal form page are both enabled and I would like to know how to
seperate them? I want to the 2 validation controls to be validated when I make a search and when I am fiiling a form, only the val. controls of the form should be enabled, and not the ones in the search user control.
Pleaaseee help me...
Buran
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: DBQueen |
last post by:
I have a form with lines of controls. On some of the lines there are 3
controls (call them A,B,C); other lines have only control A. The controls
have been numbered sequentially (Q20, Q21....Q76)...
|
by: Stu Carter |
last post by:
Hi,
I have an aspx page where some controls are initially disabled by the
code-behind 'Page_Load' event. I want these controls to be dynamically
enabled when the user checks a checkbox. ...
|
by: buran |
last post by:
Dear ASP.NET Programmers,
I have a web user control (a search menu) which has 2 validation controls
(one for input and another for the search criterion). I am including this
search user control...
|
by: buran |
last post by:
Dear ASP.NET Programmers,
I have a web user control (a search menu) which has 2 validation controls
(one for input and another for the search criterion). I am including this
search user control in...
|
by: AFN |
last post by:
I was just dropped into someone else's code (isn't that always so fun?).
I can't figure out why a custom validation control's server event function
is executing. There is nothing (that I see)...
|
by: Martin |
last post by:
Hi,
I have a page with 4 web user controls on.
Each of these web user controls has some asp.net controls on that have
validation events attached to them.
Now because there are 4 seperate...
|
by: Phil |
last post by:
on my form I have a checkbox and a tab control when the checkbox is true I
wish to enable the controls on a single page of the tab control, is this
possible or do I need to enable each control on...
|
by: NuB |
last post by:
The validation controls are giving me a headache. here is what i'm trying to
do and so far what I've tried has not worked.
I need to hide my grid if the page is not valid
how can i accomplish...
|
by: dhurwitz |
last post by:
Hi,
In my ASP.NET 2.0 web app, I have a user control, ucBinEdges, with several
text boxes. The user control has several validation controls validating the
Text of these text boxes -...
|
by: rn5a |
last post by:
In a shopping cart app, assume that a user has placed 4 orders (each
order has a corresponding OrderID which will be unique). When he comes
to MyCart.aspx, by default, the details of his last order...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
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...
|
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,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |