I am new to Silverlight and XAML. While trying to learn the syntax and best practices I continue to come across a discrepancy (or at least to me it seems that way) in the way some implement event handlers.
In an example from MSDN I see the following code used:
<UserControl x:Class="DragAndDropSimple.Page"
xmlns="http://schemas.mic...
How can I make a sessionful wcf service for Silverlight clients? What binding can I use?
...
I have a simple ComboBox in my Silverlight 3 application. I want to populate it from an ObservableCollection. The list holds a class that has a Name(string), and a Selected(bool) property. The combo box has as many items as I have in the list, but I cannot seem to get the list data to appear.
Any help would be appreciated.
<ComboBox...
I am trying to create a control which is basically showing a list of pictures in Silverlight, but I want the list to rotate in a sort of 2.5D way. You can think of it as the picture in the middle is YOU, and the others are your friends on social networking site.
Here is a sketch of what I mean:
As you click the green arrows, the pic...
Hello!
I am trying to learn how to use the Silverlight 3 DataForm control, because I need to define the DataForm fields myself in the XAML code, that is, I don't want to use the AutoGenerateFields property.
My problem is: the dataform works perfectly when the AutoGenerateFields is set to true, but when I create a DataForm and set the fi...
I'm using a ClientAccessPolicy.xml file that I think allows pretty much all access to my WCF service:
<?xml version=""1.0"" encoding=""utf-8""?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers=""*"">
<domain uri=""*""/>
</allow-fr...
Is there an easy way to give rounded corners to the boundary of a DataGrid in Silverlight 3?
Thanks a bunch!
...
I am trying to create a UserControl that will hopefully be able to expose multiple content properties. However, I am ridden with failure!
The idea would be to create this great user control (we'll call it MultiContent) that exposes two content properties so that I could do the following:
<local:MultiContent>
<local:MultiCon...
We have a WinForms window with a WebBrowser control in it, pointing to a page with a Silverlight 3 control on it. If a Silverlight control has focus and you Alt+Tab away and back again, the focus is gone. Strangely, if you do the same thing again, focus returns to where it was.
I’ve tried to manually re-focus the Silverlight control aft...
When you create a Silverlight enabled WCF service, the following line is placed in the source file -
[AspNetCompatibilityRequirements(RequirementsMode =
AspNetCompatibilityRequirementsMode.Allowed)]
What does it do? The online help didn't make a lot of sense to me.
...
I've been working on converting a Silverlight project from Silverlight 2 to Silverlight 3. Note that I've never had SL 2 binaries or development components installed on my machine (it's only a month old).
This has been going fine and the app was running until I started getting a build error with ValidateXaml raising a FileNotFoundExcept...
I am interested in developing a site similar to youtube. I want to have a site that users upload videos.
I imagine technically the website would upload the video to the azure cloud. Where the file will automatically be encoded to silverlight and hosted.
Can azure host my site, take care of encoding and host the videos all programmatic...
Hi
I tried to create object using ComAutomationFactory.CreateObject . It is giving following exception
"Failed to create an object instance for the specified ProgId"
My application is running on OOB and has elevated permission.
if (ComAutomationFactory.IsAvailable && App.Current.HasElevatedPermissions)
{
...
I defined a domaindatasource in the xaml
<dds:DomainDataSource x:Name="ddsPayroll" QueryName="GetEnPrcsQ" AutoLoad="True" LoadSize="20" PageSize="20">
<dds:DomainDataSource.DomainContext>
<RIASrv:PayrollSrv />
</dds:DomainDataSource.DomainContext>
<dds:DomainDataSource.Sor...
Hi all,
Is it possible to integrate silverlight with PHP. I'm currently using flash, so was wondering if silverlight can be used as a replacement.
Thanks,
Roger
...
We are storing localization strings in database. Localization is needed for multi language application that we are building. Data layer is behind WCF service, and all data is comming throu this WCF channel.
We need to load translations before Slivlerlight application shows up in user browser. So preloading data with this is most logica...
Hej All
I have some code that builds a new TYPE runtime, it sets the GET and SET method using MethodBuilder. (Its an exampel from the web, and thanks to the Guy, that wrote it, i unfortantly lost the ref. to him, but he is in my thoughts)
TypeBuilder typeBuilder = module.DefineType("MyClass", TypeAttributes.Public | TypeAttributes.Clas...
How could I add some conditions changing list of MenuItems in a WPF Context Menu, depending on some attributes of clicked objects?:
<Grid.ContextMenu>
<ContextMenu>
<MenuItem Name="EditStatusCm" Header="Change status" />
...
<MenuItem ... />
</ContextMenu>
</Grid.ContextMenu>
...
I have a Silverlight 3 control that makes a cross-domain HTTP request to http:// somedomain/. I am using the browser HTTP stack to make this request. A proper clientaccesspolicy.xml on somedomain is in place.
My browser has a set of cookies for somedomain and I want these to by used when said HTTP request is made.
When my Silverlight c...
By default the ChildWindow Overlay covers (and disables) the entire root visual. I want to cover (and disable) just part of my UI. How can I alter the existing ChildWindow to allow me to specify the Root?
Thanks,
Mark
...