This is a migrated thread and some comments may be shown as answers.

Silverlight - Scrolling

1 Answer 40 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rob Lange
Top achievements
Rank 1
Rob Lange asked on 16 May 2010, 09:24 PM
When WebAii decides it needs to scroll the window to interact with a silverlight element, it doesn't refresh the silverlight element locations. I've tried calling Refresh on the DOM VisualTree and the SilverlightApp VisualTree. The only thing that seems to work is calling SilverlightApps() again (after refreshing the DOM). Any other ways to solve this problem?

Manager.ActiveBrowser.RefreshDomTree();

SilverlightApp testGame = Manager.ActiveBrowser.Frames.ById(WebAiiPageElements.GAME_FRAMEID).SilverlightApps()[0]; 

 

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 17 May 2010, 09:13 PM
Hi Rob,

So are you scrolling through all the items, then calling Silverlightapp.VisualTree.Refresh()? The items in question may need to be made visible in the visual tree, then a refresh on the framework view of them should list them in the framework SL app reference.

Greetings,
Nelson Sin
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Rob Lange
Top achievements
Rank 1
Answers by
Missing User
Share this question
or