Refresh method functions differently on CF

Cags

Contributor
Joined
Feb 19, 2004
Messages
695
Location
Melton Mowbray, England
Took me awhile to track this down. But as far as I can tell the Refresh method of Control objects seems to function differently in the .Net Compact Framework 1.1 to the full .Net Framework 1.1. When calling Refresh it doesn't appear to call Refresh on its child objects, hence they don't update. I think the only way to get around this may be to override the Refresh method and loop through the children calling Refresh. It seems weird that I only found one reference to this issue by searching google. The only solution offered was by the person who found the issue, saying they used a loop.

I just thought I'd post it so theres at least another reference to this issue for anyone else searching. I guess I'm not really expecting an answer, but if somebody can think of a reason please let me know.
 
Back
Top