How to add a user to the ignore list?
Problem with 2 ImageButtons and 1 Validator
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > .Net Development > Problem with 2 ImageButtons and 1 Validator 15 May 2002 10:08:47

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Problem with 2 ImageButtons and 1 Validator

JoГЈo Pedro Martins 15 May 2002 10:08:47
 My problem:

I have 2 diferent behaviours in the page:

- do a query (with several pulldowns and a
text box for a textual search criterium)

- subscribe a mailing list (with a text
box to insert an email)

each of these has its own "ok" button, with its own
server-side event-handler. The text box for
the email has a regexp validator.

Problem:

When I click the _Query's_ "Ok" button, my validator
gets called (client-side) and tells me the email is invalid.


How can I go around this, keeping the client-side
validation?


Thanks in advance,
joГЈo martins
--
JoГЈo Pedro Martins
jota@create.pt
|create|it|
http://www.create.p­t
http://www.usabilid­ade.com

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.deve­lop.com.

Add comment
Michael Weinhardt 15 May 2002 10:08:47 permanent link ]
 JoГЈo,
When I click the _Query's_ "Ok" button, my validator>gets called (client-side) and tells me the email is invalid.>
How can I go around this, keeping the client-side>validat­ion?

You can set the CausesValidation property to False on your _query_ OK
buttons. This way, only the _email_ OK button causes validation on the
form, in this case being the email regex validator.

HTH
Michael W

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.deve­lop.com.

Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > .Net Development > Problem with 2 ImageButtons and 1 Validator 15 May 2002 10:08:47

see also:
Implicit Lock Row
Performance when using two BETWEEN…
Finding missing ID
пройди тесты:
see also:
ABOUT FDG
How FDG control toner cartridge…
Quality toner cartridge of 435 436

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .