473,395 Members | 1,631 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.

validators in panel

I have a multi-page form that contains various validators. When the user
clicks the submit button, I want validators to fire in all panels, not just
the one currently visible. Can anyone help?

jobz
Nov 18 '05 #1
4 1398
Hi,

By default all the validators will fire when a button is clicked.

Anyway, how useful it would be if the section is not visible and the
validator alone is fired?

Thanks.

"jobz" wrote:
I have a multi-page form that contains various validators. When the user
clicks the submit button, I want validators to fire in all panels, not just
the one currently visible. Can anyone help?

jobz

Nov 18 '05 #2
to my knowledge
when a panel is made visible = false the panel and the controls are not
visible in the rendered html.
the best
srini
"jobz" wrote:
I have a multi-page form that contains various validators. When the user
clicks the submit button, I want validators to fire in all panels, not just
the one currently visible. Can anyone help?

jobz

Nov 18 '05 #3
Thats right srini.

but what i told was if you have a button in a page and have different
panels, then all the validators in the page irrespective of the panel get
fired unless specifically we mention for some controls as "causes
validation=false"

i dont know why he wants an invisible panel to fire the control.

"srini" wrote:
to my knowledge
when a panel is made visible = false the panel and the controls are not
visible in the rendered html.
the best
srini
"jobz" wrote:
I have a multi-page form that contains various validators. When the user
clicks the submit button, I want validators to fire in all panels, not just
the one currently visible. Can anyone help?

jobz

Nov 18 '05 #4
The info in all the panels belongs in one form, table, whatever you want to
call it. The reason why I divided into separate panels is that I feel it is
easier for the user to comprehend then everything in one very, very long
page.

Ranganh, are you absolutely sure all validators fire, even those in hidden
panels. I created a test page containing 2 panels, each panel with a
textbox and requiredfieldvalidator. When I enter info in the textbox in the
1st panel and click submit, page.isvalid = true. The requiredfieldvalidator
in the 2nd panel, which is hidden, is not fired. This actually makes sense,
because like srini said, any hidden panels and their associated controls +
validators are not rendered.

jobz

"ranganh" <ra*****@discussions.microsoft.com> wrote in message
news:51**********************************@microsof t.com...
Thats right srini.

but what i told was if you have a button in a page and have different
panels, then all the validators in the page irrespective of the panel get
fired unless specifically we mention for some controls as "causes
validation=false"

i dont know why he wants an invisible panel to fire the control.

"srini" wrote:
to my knowledge
when a panel is made visible = false the panel and the controls are not
visible in the rendered html.
the best
srini
"jobz" wrote:
I have a multi-page form that contains various validators. When the user clicks the submit button, I want validators to fire in all panels, not just the one currently visible. Can anyone help?

jobz

Nov 18 '05 #5

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

Similar topics

0
by: Brian Rice | last post by:
I created a form with three panels on it for multi-page input. Each panel has a next button (Next1, Next2, and Next3). I start with only Panel1 visible. When I click on Next1 I make Panel2...
7
by: Bill Richardson | last post by:
We have a technique for our order process whereby we simply turn panels on and off to capture data for the various stages, rather than the normal method of moving between pages. In 1.0, the...
0
by: Brian Rice | last post by:
I created a form with three panels on it for multi-page input. Each panel has a next button (Next1, Next2, and Next3). I start with only Panel1 visible. When I click on Next1 I make Panel2...
2
by: Alec MacLean | last post by:
Hi, I have a page using AJAX. The page has three modal popups that work fine when I don't have field validators in place. As soon as I put a validator in place, the popup "form" the validator...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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.