I've got SL application where i should implement file managment subsystem. I've got hierarchical structure of files\folders(just description). Also each file\folder has its own permissions to users\groups. I would like implement that one user who has permission to download file couldn't give it to another user, who hasn't this permission...
In a Silverlight application I have a custom control with a number of custom properties. In the declaration class of the custom control additionally to defining its properties as dependency properties, I define showing a ToolTip:
public override void OnApplyTemplate()
{
base.OnApplyTemplate();
Border bordercntr = bas...
I have button with custom style and i want to bind style items to button datacontext.
How to do that?
My tries:
<UserControl.Resources>
<Style x:Key="ButtonStyle1" TargetType="Button">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Grid>
<TextBlock TextWrapping="Wrap" Te...
Hello,
I am working with Sharepoint Lists in Silverlight and I am trying to write a CAML query that returns me all list items (pictures) which where made (effectively taken with the camera) after a specific date.
I found that the ListItems have a MetaInfo property called "vti_ct" which is exactly the date I need. The problem is that I d...
I am working on a Silverlight 4 project. I am using WCF RIA on the server and expose the model using a DomainService. I have 2 tables, let's say Table1 and Table2 linked with Foreign key say FID.
Therefore, i can Load data from both table 1 and table 2 in single data grid.
But my question is while editing datagrid if i need to change ...
I want to have control like standart Windows Phone 7 background selector in the settings. It's like ComboBox. But i don't see any existed control like this.
...
Hello Guys I simply want to ask that is it possible to deploy Silverlight Apps on Android.
...
I am in little trouble with this problem.
I have made a DataGrid and it have DataTemplate Columns. here is the XAML for that
<data:DataGrid x:Name="PortsGrid" Height="124" Margin="23,0,17,2" VerticalAlignment="Bottom" ItemsSource="{Binding PortsGridData, Mode=TwoWay}" AutoGenerateColumns="False" SelectionMode="Single">
<data:Dat...
I started a Silverlight 4 RIA Services application with the Navigation Application template,
instead of the Business Application template.
Now I want to add authentication to that application (to protect a page from unauthenticated users)
I've added an AuthenticationService to the project,
but I'm not sure what the steps are now to get...
Hello,
Does anybody know whether one can trigger prism command with a shortcut? What I mean is I want to be able to define binding of a command to keyboard shortcut in declarative manner, like ClientUI does:
Are there any opensource libraries for that purpose? Or maybe code samples?
I found this question but I don't think that it an...
I added a Silverlight application to my ASP.NET website. Visual Studio made a new silverlight project and added its xap to the ClientBin folder under the project of my website. So both the projects are under one solution.
My Silverlight app is supposed to read an xml file and I was unable to make it access the file from the client bin f...
I want to make a simple style for the textbox. I want to retain everything about the
standard textbox look and feel except one item.
OnFocus on want to be able to change the border color of the textbox.
I have written the following and it does work. However, everything is restyled, I have to
declare height, the look and feel of the no...
I have read that placing a canvas inside a scrollviewer won't work because the canvas does not report its size. I have been experimenting with different containers (borders, grids, canvases and scrollviewers) and could really do with a simple explanation of how scrollviewers behave within nested containers. e.g. If I have a container h...
I just installed the latest Silverlight 4 developer bits using the Web Platform Installer. I tried to start a new "Silverlight Business Application" project in VB.NET, but the project won't compile out of the box. For example, I get an error message to replace WebContext with WebClient.
What might be the problem with the Silverlight B...
Hi,
I am developing controls for WP7 application. I am aware that I can quickly create control by inheriting from UserControl class (that derives from Control class). Also, that such controls cannot be customized, i.e., all the properties associated with control are those harcoded in user control - they cannot overridden in xaml etc. But...
I have the following UI element hierarchy: UserControl>ScrollViewer>Canvas. I am drawing lots of stuff on the canvas, and it becomes larger than the UserControl, at which point the ScrollViewer displays the scrollbars. So far, so good. Now I apply a ScaleTransform to the Canvas (say, 2.0, making everything twice as large). However, m...
I have an ItemsContol bound to a Country model - which look like this.
Country
--int Id
--string Name
--List Counties
In the DataTemplate of the ItemsControl there's a Listbox - which is bound to the Counties property.
So what I want is only one item in any of the listboxes be selected at any one time.
For example:
I have an it...
I have a Silverlight Application (3.0) that I have made changes to in Visual Studio and I can debug the application just fine. My question is what are the steps in getting the application to run through IIS? Visual Studio's project folder for my app is called SilverlightApplication and within that folder it has another SilverlightAppli...
Hi, I'm using Silverlight 4 and I'm experiencing the following problem:
First off, the code:
BitmapImage bitmapImage = new BitmapImage();
bitmapImage.CreateOptions = BitmapCreateOptions.IgnoreImageCache;
bitmapImage.DownloadProgress += new EventHandler<DownloadProgressEventArgs>(bitmapImage_DownloadProgress);
bit...