I'm getting close to giving up on using ASP.NET validation controls,
textboxes, etc. and reverting to good-old HTML plus client-side Javascript
techniques which I've used for years. Here's the problem:
(a)On a form with about 50 fields, I need to do basic validation on perhaps
30 of them.
(b) I would like to use the ValidationSummary control and have placed it,
along with a number of RequiredFieldValidator and RangeValidator controls in
a table within the .NET form tag. The table tag seems to be required for
bulleted list summary error display.
(c) However, on rendering the form, all of the ASP:TextBox controls lose
their design-time widths, totally screwing up the layout.
What can I try?
Thanks. 3 1187
why don't u set the form's layout to Grid Layout rather than absolute
It will be solving ur problem
Nishith
"melvinsb" wrote: I'm getting close to giving up on using ASP.NET validation controls, textboxes, etc. and reverting to good-old HTML plus client-side Javascript techniques which I've used for years. Here's the problem: (a)On a form with about 50 fields, I need to do basic validation on perhaps 30 of them. (b) I would like to use the ValidationSummary control and have placed it, along with a number of RequiredFieldValidator and RangeValidator controls in a table within the .NET form tag. The table tag seems to be required for bulleted list summary error display. (c) However, on rendering the form, all of the ASP:TextBox controls lose their design-time widths, totally screwing up the layout. What can I try? Thanks.
(a) I am using WebMatrix,the free MS UI for ASP.NET which may not support
this capability and which I am not familiar with.
(b) My frustration is in the width of text boxes being reset to what seems
be a default value, not the placement on the form.
Anyway, thanks for your suggestion.
"Nishith Pathak" wrote: why don't u set the form's layout to Grid Layout rather than absolute
It will be solving ur problem
Nishith
"melvinsb" wrote:
I'm getting close to giving up on using ASP.NET validation controls, textboxes, etc. and reverting to good-old HTML plus client-side Javascript techniques which I've used for years. Here's the problem: (a)On a form with about 50 fields, I need to do basic validation on perhaps 30 of them. (b) I would like to use the ValidationSummary control and have placed it, along with a number of RequiredFieldValidator and RangeValidator controls in a table within the .NET form tag. The table tag seems to be required for bulleted list summary error display. (c) However, on rendering the form, all of the ASP:TextBox controls lose their design-time widths, totally screwing up the layout. What can I try? Thanks.
I just added <body MS_POSITIONING="GridLayout"> but it doesn't change things.
"Nishith Pathak" wrote: why don't u set the form's layout to Grid Layout rather than absolute
It will be solving ur problem
Nishith
"melvinsb" wrote:
I'm getting close to giving up on using ASP.NET validation controls, textboxes, etc. and reverting to good-old HTML plus client-side Javascript techniques which I've used for years. Here's the problem: (a)On a form with about 50 fields, I need to do basic validation on perhaps 30 of them. (b) I would like to use the ValidationSummary control and have placed it, along with a number of RequiredFieldValidator and RangeValidator controls in a table within the .NET form tag. The table tag seems to be required for bulleted list summary error display. (c) However, on rendering the form, all of the ASP:TextBox controls lose their design-time widths, totally screwing up the layout. What can I try? Thanks. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Phil Powell |
last post by:
Where can I find an online PHP form validator script library to use? I
have tried hacking the one here at work for weeks now and it's getting
more and more impossible to customize, especially now...
|
by: TG |
last post by:
I have a validation form that must behave differently based on the results
of a PHP validation check. I have a post command at the top of my form that
calls itself. I don't leave the form when...
|
by: bnp |
last post by:
Hi All,
I am quite new the JavaScript. Basically I am a C++ programmer, but
now I am working on JavaScript since last 5 days.
I have a problem regarding the form validation.
I have created a...
|
by: Hosh |
last post by:
I have a form on a webpage and want to use JavaScript validation for the
form fields.
I have searched the web for form validation scripts and have come up with
scripts that only validate...
|
by: julie.siebel |
last post by:
Hello all!
As embarrassing as it is to admit this, I've been designing db driven
websites using javascript and vbscript for about 6-7 years now, and I
am *horrible* at form validation.
To be...
| |
by: Chris |
last post by:
Hi,
I have a form for uploading documents and inserting the data into a mysql
db. I would like to validate the form. I have tried a couple of Javascript
form validation functions, but it...
|
by: Rik |
last post by:
Hello guys,
now that I'm that I'm working on my first major 'open' forms (with
uncontrolled users I mean, not a secure backend-interface), I'd like to add
a lot of possibilities to check wether...
|
by: gweasel |
last post by:
What is the best way to apply a Validation Rule - or rather, where is
the best place to put it? Is there an advantage to putting it on the
field in the table vs setting the validation rule on the...
|
by: lucyh3h |
last post by:
Hi,
I am trying to use XMLHttpRequest to do server side validation.
I have several fields on a form and a submit button. The submit button
has an event assocated with it when clicked. The...
|
by: ak1dnar |
last post by:
Hi, I got this scripts from this URL
There is Error when i submit the form.
Line: 54
Error: 'document.getElementbyID(....)' is null or not an object
What is this error.
Complete Files
|
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: 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,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |