Posts Tagged ‘JScript’

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”); [...]

Here we will be calling the default helloworld webservice that is already created for us when we open a asp.net webservice project template in Visual Studio. We’ll just have a textbox(html control) which will display us the Hello World! response returned from the web service. This is the step we need to follow 1) Create [...]