.NET validation controls

S

Sai

Guys,

I have used .NET required filed validator and regular expression
controls in my ASP.NET app.
Everything works well locally.

When we moved to Network it only works in FIREFOX browser it does not
work in IE.
Anybody has a clue why this is happening.

I have a simple login page which has 2 text boxes and one submit
button. The submit button does nothing when I use IE and it works file
when I use FIREFOX browser. If I remove validation controls and write
javascript then it works fine in IE.

Please advise.

Thanks,
K
 
T

Terry Burns

Personally, I hate javascript validators as they prevent you from defining
your own logic without some jiggery pokery. For example you may want the
user to be able to postback to the server without specific validators so you
end up having to write custom validators. I have abandoned them and do all
my validation in code-behind, yeah I know ( Round trip expense ) but if you
design your forms well, the incidence of failure is less and you can have
smarter or at least easier control over validation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top