Form Validation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
why don't u set the form's layout to Grid Layout rather than absolute

It will be solving ur problem

Nishith
 
(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.
 
Back
Top