Archive for December, 2011

Silverlight application can get a reference to the Xrm.Page Object instance using either of following approaches. 1. Using HTML bridge feature of Silverlight ScriptObject  xrm = (ScriptObject)HtmlPage.Window.GetProperty(“Xrm”); ScriptObject  page= (ScriptObject)xrm.GetProperty(“Page”); 2. Using Dynamic Language Runtime Using DLR you can utilize the dynamic language keywords which allow resolving method calls at runtime. dynamic  xrm = (ScriptObject)HtmlPage.Window.GetProperty(“Xrm”); [...]