How to maintain status in Silverlight?
source link: https://www.codesd.com/item/how-to-maintain-status-in-silverlight.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
How to maintain status in Silverlight?
When I resize my aspx page hosting the silverlight app, I lose state on all silverlight controls. How do I maintain state on silverlight controls?
I'm not sure what precisely you're doing, but under normal circumstances, you should be able to resize your page without doing a page refresh, and hence, without losing state in your Silverlight controls. Are you doing something that's causing a page refresh? If so, yes, that would cause you to lose state. And if that's the case, and you really do need the round-trip back to the server, then you'll need to store your state somewhere else, for instance, in the ASPX page ViewState, or on a web service, or in your local Silverlight storage. But my guess is that you don't actually need the round-trip to the server, i.e., that it's being caused by a side-effect of something else you're doing. I'd start there.
Related Articles
How to maintain status in a Silverlight 5 application?
ASP.Net: How to maintain the TextBox state after launch
How to maintain a SqlConnection always open
How do you activate the Silverlight plugin using Java Selenium?
How to maintain browser compatibility
How to use PivotViewer in Silverlight xaml?
How to delete a query string or how to maintain a constant URL using URL rewriting
Using Java and OAuth 2.0 How to maintain the session
how to maintain the state of the uibutton in the table view
How to maintain the consistency of the data on several tables in cassandra?
How to maintain the aspect ratio of a JFrame
How do I get a Silverlight application to check for an update and ask the user to upgrade?
How to keep the connection status in Silverlight
How to maintain page status in asp.net when autopostback = true?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK