Thursday, October 09, 2008 11:59 AM
Thank in advanced!
Thursday, October 09, 2008 2:14 PM
ASP Server control is running on the Server to render the HTML page that to be sent to the Client browser. Silverlight control is running at Client browser after the page is loaded in the browser. You can see there is no way for Silverlight code to access the ASP page's Server code because they don't even exist at the same time at the same machine.
If your MultiView control output ActiveViewIndex to the page, you can get it to Silverlight. Or you can have your Server code to write out a InitParameter for the Silverlight Control tag to pass that Index to Silverlight app.
Thursday, October 09, 2008 7:50 PM
Thursday, October 09, 2008 10:53 PM
One thing you need to be aware of is that by selecting a different view you basically do a post back to submit your current page. When you do this, you discard your current page which contains your Silverlight application. When the new View is back, it reload a new page (even with the same URL). So your Silverlight application will restart. Are you sure this is what you want?
Friday, October 10, 2008 4:02 AM