Advanced Forum Search Results
-
It will also work in a .NET 2.0 website. However, you are most likely using the Web Application model (A directory based project). I used the Web Project System (check http://weblogs.asp.net/scottgu/archive/2005/08/21/423201.aspx for more details on this model). You can still add a reference to the class library, by right clicking on the ...
-
Could you tell me what errors you get? (double click on the errors icon in the status toolbar).
I wrote the Sample.Web.UI myself for a Silverlight / ASP.NET project I'm currently working on, inspired by the ASP.NET 3.5 futures project. The JS and the .CS file will only need to be updated when Microsoft releases a new Silverlight ...
-
Beam us up, Scottie :)
-
I wrote a small sample application for you to demonstrate how to use multiple SL instances on a single ASPX page. Check the following url to see the application in action: http://www.triplehustle.com/samples/silverlightaspnet/. You may download the sample project here: ...
-
Bertpu,
You could use the following code in your BrowserHost_FullScreenChange eventhandler:
void BrowserHost_FullScreenChange(object sender, EventArgs e)
{
//change the width property of the rectangle to BrowserHost.ActualWidth/2 by animation
ChangeWidth.Stop();
endKeyFrame.Value = BrowserHost.ActualWidth / ...
-
However, your question is about how to invoke a Webservice. You can do that by adding a web reference to your SL project (not your website project).
Once you did that, add a SL link to your website project (if you didn't do so already). Note that SL cannot currently invoke a Webservice from the SL project itself; it needs to run within the ...
-
[quote user="RezaMohamed"]
ok..so im trying to figure out how to pass data between sl and the server, now would i ahve to create a proxy service and pass the data as a webservice? or can i use the following, i believe someone suggested it on ...
-
See also http://silverlight.net/forums/t/10257.aspx for a nice suggestion by FredHirschfeld on how to encapsulate this method using Extension Methods.
-
That's smart; even though HtmlPage is static, we can simply extend HtmlDocument.
Nice one. Although this doesn't fix the issue, it does provide a clean alternative.
Thanks.
-
I found an easy workaround: HtmlPage.Navigate(new Uri(HtmlPage.DocumentUri, "relativepath.aspx").ToString());
Although I would feel much better if there would be an overload that accepts a Uri, so that we could call: HtmlPage.Navigate(new Url("relativepath.aspx", UriKind.Relative)).
Or maybe even: ...