keyongtech


  keyongtech > dotnet.framework.aspnet.* > dotnet.framework.aspnet.main > 12/2006

 #1  
12-12-06, 05:18 PM
Tarun Mistry
Hi guys, this is really driving me crazy, any help appreciated.

using ASP.NET 2.0 in VS 2005 and reviewing with IE7.

I have some fields with validators attached to them. If I drag a summary
field onto my page everything works. If I then set each indiviual validator
visibility to false (so only the summary shows), all the validators stop
working.

What am I doing wrong here? They are all enabled but not visible.

Secondly, it seems that my required field validators are doing nothing, im
totally confused. Please help all.

Thank you!
Tarun
 #2  
12-12-06, 06:25 PM
bpd
Based on my experience, visibility must be set to true on the validator
for it to work. If you
don't want TEXT to be displayed, then leave that property blank. The
ERROR MESSAGE property displays in the validation summary.


Tarun Mistry wrote:
[..]
 #3  
12-12-06, 08:33 PM
bruce barker
the Visible property controls whether a control is rendered. if you set
to false, there is no control to do the validation. you want to set the
Display instead.

-- bruce (sqlwork.com)



Tarun Mistry wrote:
[..]
Similar Threads
HTML validators do not work on FP web

I used FP (several versions over time) to build my website. When I try to have my html checked by one of several validators, such as [..], I am told that there are 144...

Validators work on dev box but not in production

For several Validators on different pages in my app, they work fine on my dev box (localhost) but not when the app is deployed to production. How can I troubleshoot...

Sub Main() refusing to work

Adam Honek wrote: > This is probably the most silly question asked here but I just can't figure > it out. > > In VB6 letting Sub Main() be the app's startup directory was...

Validators does not work in production

Hi My RequireFieldValidator works fine in my Development machine, but when I deploy it to the hosting, the validator does not work. What is happening here?

Backup just refusing to work

Hi I'm using Windows XP-Home and am trying to backup my computer using MS backup just to file on the same machine. However, when I start backing up, I get the error...


All times are GMT. The time now is 11:18 PM. | Privacy Policy