Hi Stephen! First off: great meeting you at REMIX! Haven't gotten around to figure out why you're having issues with the YouCard demo - Will get back with some feedback on that ASAP. Been a busy week!
Second: Silverlight is a pure client side technology, and the ASP.NET spesific things you want to access are all server side spesific. You would have to expose a web service (REST, WCF, ASMX what ever) that you call from Silverlight to get that data back. Since the Silverlight app is running on your ASP.NET page any HTTP requests you make back to the server will include any authentication headers or cookies, so you should be able call the service, do the Pager.User.Identity.IsAuthenticated check, and then return true/false. BTW: Wilco Bauwer has a post on ASP.NET Silverlight component development at http://www.wilcob.com/wilco/News/asp-net-silverlight-component-development.aspx Cheers, Jonas :) On Thu, May 29, 2008 at 2:38 PM, Stephen Price <[EMAIL PROTECTED]> wrote: > Hey all, > > I'm trying to find an example of accessing Asp.Net objects on the host page > from the Silverlight application. > > I've found some great stuff on accessing the HTML on the page (You know, > set the content of a Div tag or whatever) as well as calling Silverlight > methods from the HTML page using the [ScriptableMember] but I'd like to get > access to things like Page.User.Identity.IsAuthenticated. > > Is this possible? > > thanks, > Stephen > ------------------------------------------------------------------- > OzSilverlight.com - to unsubscribe from this list, send a message back to > the list with 'unsubscribe' as the subject. > Powered by mailenable.com - List managed by www.readify.net ------------------------------------------------------------------- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
