Print Page | Close Window

ValidatorCtrl in Cell : Strange Behavior

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=5517
Printed Date: 28 March 2026 at 9:09pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: ValidatorCtrl in Cell : Strange Behavior
Posted By: sunny_doncaster
Subject: ValidatorCtrl in Cell : Strange Behavior
Date Posted: 04 September 2003 at 9:47am

I dont think people believe this problem because I have posted it all over and nobody has given me one single reply....

Cant somebody PLEASE replicate this senario....?

I have a table with several rows, each row contains a cell with a text box and a RegularExpressionsValidator control. This table cell is just wide enough to fit the text box so the validator message always ends up directly below.

This validator control has its display mode set to 'Dynamic' so the table cell and row height expands when the entry is invalid and the message is shown.

While testing the validator, I deliberately type in some invalid text that causes the validator control to its error message.

Of course this does not happen until the text box has lost focus.

When I click the mouse to put the cursor in the text box below the cursor actually ends up in the error message displayed by the validator control that is now shown.
Stranger still I can actually edit the text of this error message or delete it completely.
Even stranger after deleting the message I can backspace and delete the text box above !!

(Pressing return results in the cursor ending up in the text box below).

Anybody got any clues whatsoever as to why this happens and maybe how to prevent it from happening ???

Any ideas would be greatly appreciated.

Sunny D




Replies:
Posted By: Diep-Vriezer
Date Posted: 04 September 2003 at 2:52pm

LoL

maybe you shouldn't use the dynamic feature, but the static one instead. It is, however, pretty weird that you could just 'erase' the textbox.. That might be the browser.

If you are using IE5+, try Opera or Netscape to be sure it's not a client side problem. If it is not, go and plaque microsoft with this wicked error

I am building the same scenario, so we'll see what happens.



-------------
Gone..


Posted By: Diep-Vriezer
Date Posted: 07 September 2003 at 11:44pm
Nothing. It works fine over here.

-------------
Gone..



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net