Advanced Forum Search Results
-
codeblock had the answer. My proxy returned invalid data.
-
I experience the bug(?) too and the solution from suntsu don't work for me...
-
It seems Silverlight 2.x generate this xml element when starting a soap envelope:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">Is it possible to hook into the soap pipeline and change the envelope to:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" ...
-
Thanks Jeff.
For future readers/reference:
1. The VisualTree must be traversed after the control has Loaded - otherwise you risk that Textbox is not created (== null)
2. The flesh of the code is:
void AutoCompleteBox_Loaded(object sender, RoutedEventArgs e)
{
DependencyObject o = VisualTreeHelper.GetChild((AutoCompleteBox)sender, ...
-
Is it possible to programmatically show/activate the dropdown used by a autocompletebox control?
I aim at having the autocompletebox show all items in a list without the user typing a filter.
For example doing:
...
acb.IsTextCompletionEnabled = true;
acb.SearchMode = AutoCompleteSearchMode.Contains;
acb.ItemsSource = ...
-
Hi Allen.
What does currently indicate? Do you know if it's allowed to add headers in a later Silverlight 2 release?
It's perhaps acceptable that some headers are restricted, but it currently seems like all headers are restricted?
E.g. - this is not allowed: c.Headers["MyVeryImportantHeader"] = ...
-
Another finding...
This works:
c.Headers[HttpRequestHeader.UserAgent] = "KaptajnVom";
This don't work:
c.Headers["UserAgent"] = "KaptajnVom";
The error thrown is:
Address 'e.Address' threw an exception of type 'System.Reflection.TargetInvocationException' System.Uri ...
-
Hi!
I am using Silverlight 2 Beta 2 running my test sample with the ASP.NET Development Server.
This work:
WebClient c = new WebClient();
c.Headers["TestHeader"] = "1";
c.OpenReadCompleted += new OpenReadCompletedEventHandler(c_OpenReadCompleted);
c.OpenReadAsync(new ...