Login  
Search All Forums
Dart Home | PowerWEB LiveControls for ASP.NET | Custom Development Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
AuthorForum: PowerWEB LiveControls for ASP.NET
Topic: Checkboxes resetting to previous state
Loops6972

From: Conshohocken, PA USA
Posts: 5
Member Since: 07/11/06
posted January 11, 2007 1:25 PM

I have a wierd instance that does not happen all the time, but is fairly re-producable.

I have about 200 controls on a page (mostly live) and a subset of them (8) are checkboxes that allow the user to select any of the 8 items. The page shows a result set of up to 8 depending on their search criteria and the logic will show/enable or hide/disable the checkboxes based on the number of results (only 3 will appear if only 3 records are returned...)

The issue is:

Wehn a query returns less that the 8, the resultant checkboxes are correct and appear as you would expect. When a secong query is performed, and there are more than the 8 records returned, the page will display with all 8 enabled and viewable as per the code, but after a secon or two, they will rever to the status of the previous query (ie 3 in first serch, then a query with 8 will show all 8 checkboxes, but then reduce back to the prior 3). It seems as if somehow the cache information from the previous page is being overlayed onto the page after postback at the end of the entire process even though the postback logic sets them correctly.

Any help on this one would be great. I have tried setting the ViewStateCache on and off, debug and release mode with no difference. I also have all the controls blocking to aviod any crossover interference from one control to the next.

As I stated before, it only happens somtimes so I am confident its not the code behind.

Using VS2003 dev platform and W2k3 Std IIS6 web platform.

Thanks
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted January 11, 2007 3:38 PM


Hi,
Please put together a simple, self-contained demonstrative WebForm that I can run to see the problem.

Please make the WebForm as streamlined as possible (just enough added to show the problem reported).

Please zip up the WebForm, send it to support@dart.com, and I will take a look.

Thanks,
-ken
Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX