Hi,
I am trying to use style triggers in silverlight like so:
<Path Canvas.Top="20" Stroke="#FF808080" Data="M 0,20 20,0 40,20 Z" StrokeLineJoin="Round">
<Path.Style>
<Style TargetType="{x:Type Path}">
<Setter Property="Fill" Value="DarkGray"/>
<Style.Triggers>
...
Hi,
I have a real basic Silverlight app consisting solely of a label within an ASP.NET web page. It is included as an object.
If I want to change the Silverlight's label content via a button placed on the ASP.NET page. Could anyone provide a sample on how to do this both via javascript and server side via c#?
Thanks.
...
This might be a bit tricky setup but...
I have this Silverlight project that builds into a XAP, which is all fine.
Next we have this set of class libraries we add to an existing application which then unfolds into small "applications" inside the existing one.
The problem here is...
I want my XAP to be embedded into the class library ...
Hy everyone.
I want to load a Xap file located on a server from a Silverlight application running in a local winforms browser application. The html site for the browser control is located on the client machine.
The problem is I can't download the foreign xap file, I always get a security exception. On the server there is a clientacces...
Hi folks, i've been trying to deal with the following problem:
When creating a custom animations for different visual states in Expression Blend 3, which change size/opacity of multiple elements on the grid, it creates the visual state groups in the grid itself rather than in control style and defines it as CustomVisualStateManager.
<...
I made my program according to example [1] that was made for .NET framework 2, but I converted it to .NET framework 3.5. How should I modify this code to make it working? How can I debug server side? Server side seems to work when I manually insert parameters to url, so problem must be in client side code.
private void UploadFile(string...
I do not work with Silverlight personally. However, I still keep an eye out on it. Silverlight 3 and the upcoming 4 has many features that seems would make it a nice web-based operating platform like out-of-browser capacities, printing support, speed, deep-zoom, multi-touch, many controls and many more. I am wondering if you think it can...
Hi When trying to run the Build Locally Silverlight client files does not get copied on to the Silverlight web's ClientBin folder, any idea what to do? The Version of Silverlight is 3.0
...
So one of the best parts about the new Silverlight 4 beta is that they finally implemented the big missing feature of the networking stack - Network Credentials!
In the below I have a working request setup, but for some reason I get a "security error" when the request comes back - is this because twitter.com rejected my api call or some...
I'm looking for a reliable method to build a list of controls of <Type> contained in a specific <Panel> derived control - this includes those that are direct children, and those which are children of children and so on.
The most obvious way was to just do it recursively:
Add to list any children of this control of <Type>, then repeat fu...
Does anyone have a good and clear article about why silverlight requires a callback everytime when I make a data access attempt?
...
Hi,
I created a RoleService in my silverlight project and through that got hold of the embership/Role functionality. I am running this on a local machine and is wondering how to publish this to my website. I have 3 web applications:
My main web application where the silverlight object shoule be merged into
The silverlight project whic...
I know I've seen a list before of the predefined VisualStateGroups and states for a VisualStateManager, including CommonStates, CheckedStates, etc., but I can't seem to find it again.
Does anyone know where such a list might be found?
EDIT:
I'm catching on to the fact that lots of these obvious reference lists are built in to Expressi...
So, I am working on an app that needs heavy "cell" calculations in a web-based app. The client needs to be able to change values, even the formulas... calculate totals etc, all on the client side in basically a "spreadsheet".
These requirements are pretty strict :(
I am wondering if there is any library or any way to utilize Excel thr...
I'd like to give every Control a certain FontFamily and FontWeight in Silverlight 4.0. I know that styles can now apply to all controls of a certain type, so I tried this:
<Style TargetType="Control">
<Setter Property="FontFamily" Value="Arial" />
<Setter Property="FontWeight" Value="Bold" />
</Style>
Unfortunately, that doesn...
I have a silverlight project that runs normally, its just a listbox that retrieivies some value. This project run correctly in Internet explorer but do not runs correctly in Safari 4 or Firefox 3.5....
Does silverlight have some difference in terms of behavior that can vary from browser to browser?
Here's the error that happens in the n...
In my Silverlight 3 user control I am showing a basic DataGrid control. I need to generate the columns programmatically as follows:
Style headerStyle = (Style)Resources["ColumnHeaderStyle"];
DataGridTextColumn col = new DataGridTextColumn();
col.HeaderStyle = headerStyle;
dataGrid.Columns.Add(col);
The style is defined as follows:
<S...
I am using Dataform to show a object in my Silverlight application. It is a simple Input page which where you can input value and the SAVE button at the bottom submits the information to the database.
My object contains 7 data fields, out of which I need to show only 5 of them. The other two data fields are added in the database directl...
Hello,
I am trying to use an ItemsControl to display a DataTemplate. I have this simple example:
<navigation:Page.Resources>
<DataTemplate x:Key="PictureResultsTemplate">
<!--<Grid/> -->
<TextBlock Text="Nick Was Here"></TextBlock>
</DataTemplate>
</navigation:Page.Resources>
<Grid x:Name="LayoutRoot">
<Grid Margin="0,0...
Is there any way to create a Silverlight "Out of Browser" Application that can have two windows each on it's own screen and have these two windows communicate?
Apparently in Silverlight 4 you can "Control over aspects of UI include window settings such as start position, size and chrome" so automatically placing the windows on each scr...