I'm having trouble setting any HTTP header values when making a HttpRequest from Silverlight 3.0?
Are HTTP Headers supported in Silverlight 3.0?
The following code throws an exception when the request callback is called:
var url = new Uri("http://lonmw32795/RBSM_Portal_RESTfulWebService/HostInterrogationService.svc/host/enviro...
Hi, In a Silverlight 3 project I am using mouse left button down event on a border control but found out that the event is raised even when I click the button slightly outside the border like 5-10 pixels.
Has anyone faced this issue before?
Thanks in anticipation!
Following is the XAML in which we are capturing the event of brdSelect...
Is it possible in Silverlight 3 to set a proxy url for http requests?
I want to make a request outside of local network (intranet) and need to set a proxy to do this.
...
I have a Silverlight 3 application containing six custom user controls. I'd like to load the colour scheme for these controls from an external resource.
The code and XAML containing a default colour scheme would be built in the XAP. Then a parameter on the object tag would contain a URL from where alternate colours can be dynamically lo...
Hey there,
I am writing a Large Scale Silverlight Application.
I am currently writing the data retrieval elements.
I have now encoutered and issue.
I have a common Project that hold objects, this project is referenced by both the UI and the WCF service.
The UI requires INotifyPropertyChanged for binding purposes.
Now the WCF must us...
I have a SL 3.0 xap I want to host in a ASP.NET website, I have access to the XAP file and I have created a HTML page to host the SL component.
When I access the page all I see is a white screen where the SL component should be, SL is loaded but the component is not displayed.
Any ideas why this is happening?
This is the HTML code for...
I have a TreeView control from System.Windows.Controls on MainPage.
<controls:TreeView x:Name="Tree"
SelectedItemChanged="Tree_SelectedItemChanged" />
MainPage ctor looks like this:
public MainPage()
{
InitializeComponent();
for (int i = 0; i < 10; ++i)
Tree.Items.Add(new TreeViewI...
I have a Silverlight 3 project. I have a textbox that is TwoWay data bound to an object. If the user wants to cancel the changes that they made to the textbox, what is the best way to undo the changes to the bound field on the object?
I know I could store the initial value in a separte variable when the object is loaded, but I was won...
Is there anyway to get detailed debugging information when a Silverlight component is loaded into a web page via an XAP file?
I'm not talking about adding debug statements in the Silverlight component but from the host environment (web browser).
Cheers
AWC
...
As in Silverlight I can't bind directly to a DataGridColumn's property, in order to dynamically change the text of the column header, I have to write the following code using HeaderStyle.
<data:DataGridTextColumn.HeaderStyle>
<Style TargetType="dataprimitives:DataGridColumnHead...
All,
Are there any design patterns that I can use for an food ordering application? I intend to use silverlight 3.0 with .net, c#
The concept of operations is as follows:
application presents the menu
(pictures and text) on the screen.
patron selects what they want.
For example, burger, fries and a
coke.
application will show the
or...
I am just a beginner in Silverlight, here is the XAML code. I have added reference to System.Windows.Controls, still it is saying that "Can not resolve symbol WrapPanel".
<UserControl x:Class="HelloWorld.MainPage"
xmlns:controls ="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
xmlns="http://schemas.micro...
Hi all,
I'm building a silverlight project based on the Prism 2.1 version.
Added a shell
Added a silverlight class library (Module A)
Added a reference of module A to the shell
Added ModuleA in the bootstrapper to the Prism ModuleCataloge
Every thing is ok .
I wanted to make loading the Modules by XAML file.
- Added ModulesCatalo...
I'm still trying to get my feet on the ground with Silverlight and RIA Services, and of course starting with some of the more "fun" stuff like grids and intelligent paging. I can connect to RIA Services (using a home-grown ORM, not L2S or EF), get data on the grid, and connect to a DataPager. The domain service is working well with the h...
Hello,
I am trying to lay out a TextBox w/i an Ellipse w/i a larger control. When the larger control is resized, the aspect of the Ellipse can change. How can I resize the TextBox to remain entirely w/i the Ellipse?
<Grid>
<Ellipse x:Name="tbEllipse" StrokeThickness="1" Stretch="Fill" Fill="White" Opacity="100" />
...
I'm calling out to javascript from a SL component using the HtmlPage.Window.Invoke api, when I call a javascript function defined in the page (html) it executes as expected, e.g.
HtmlPage.Window.Invoke("publishValue", topic, jsonObject);
But when I place the javascript function in a *.js file it is failing to execute the method even t...
I know I can call javascript and pass string values from Silverlight, but can I pass a JSON object or does it have to be serialized?
...
Hello,
I'd like to know how to set a custom property of a custom user control by calling a method that would serve as "data provider" for that property.
What I mean is I'd like to write something like this:
<CatsUserControl Cats={FindAllCats} />,
where CatsUserControl is a User Control I created (which has a Property named Cats), a...
I have a button which is inside a DataGridTemplateColumn, in which I am placing an Image. This image initializes to a minus "-" sign image, indicating that you can click on the image and collapse some of the rows below it. Here's my question: what is the best way to switch the image's Source to the plus.png image?
XAML
<data:DataGridTe...
Hello,
I have a problem with Visual Studio 2008. When I installed vs2010 rc1 some strange error messages appeared when I opened a silverlight3 solution in vs2008, I told it not to show it again, but I remember it have some strange guid keys.
I have reinstalled everything and it keep showing no silverlight designer when I open a xaml, b...