I have a silverlight application and using WCF to communicate to the backend SQL Server using entity framwork.
I want to know what portion of my application is using the most memory. What tools can I use for uncovering memory usage?
...
Hi all.
I need to write an application with Silverlight 4 and need to show images like wrapped on cylinder. I need some HLSL code, as I wont to do that with Effects of Silverlight.
I don't wont to do that with 3D libarries for silverlight. I only need HLSL code for changing pixels.
I need for my image to look like this
Thanks.
...
I haven't been able to find anyway to dynamically add a border around a column in a silverlight datagrid. Here is my xaml of my datagrid:
<sdk:DataGrid x:Name="PlannedAndBookedMonthlyTable" ItemsSource="{Binding}" AutoGenerateColumns="False" Margin="5,0,5,5">
<sdk:DataGrid.Columns>
<sdk:DataGridTextColumn x:Name="MonthlyHeaderN...
Hi,
I have the code below which is basically calling a Domain Service in a SilverLight Application.
LoadOperation<tCity> loadOperation = _dataContext.Load(query,callBack, true);
Can you tell me which operation is done first?
Is the callBack method called before loadOperation variable is assigned or after it is assigned?
Thanks
...
Hi guys,
The following code
<StackPanel Orientation="Horizontal">
<Image Source="test.jpg"/>
<Image Source="test2.jpg"/>
<TextBlock Text="TeStBlock"/>
</StackPanel>
If I am setting the visibility of the contents of the StackPanel in the codebehind and lets say I set the visibility of the Second image t...
I have an application that loads some xaps dynamically according to the user permissions.
Is it possible to install the shell application (OOB) and also the dynamically loaded modules so the user doesn't have to download them every time?
I would like to combine the advantage of the thin shell (fast initial loading time) with the out o...
Hi,
in my silverlight application I am using the webBrowser control.
I call following javascript function on the page i'm navigating to.
function notify() {
window.external.notify("Close");
}
The weird fact is that it only works when I am navigating to the page by using:
this.Browser.Source = new Uri("http://local...
What would be the advantages and disadvantages of creating external silverlight modules for dynamic loading using:
1 - a silverlight class library (dll on ClientBin)
2 - a silverlight application (xap on ClientBin)
...
I'm using the DatePicker control from the WP7 SL toolkit. It navigates to DatePickerPage.xaml, which has the scrollers for date picking. I want to keep all the functionality, but change the colors. I'm messing around with DatePickerPage.xaml and updating colors to fit my needs.
I've been able to update the text colors on the scrollers ...
I'm trying to add a KeyDown event handler to the LayoutRoot of a view in a Silverlight SketchFlow project, but it doesn't seem to fire.
The event fires if I change the event type to MouseLeftButton, but I want to demonstrate this using a keyboard-shortcut.
Does anyone know how to accomplish both?
...
By default, the SL3 listbox scrolls items either one item at a time or a few pixels at a time depending on whether virtualization is used. Is it possible to manually control the scroll behavior, maybe say that the ListBox should scroll from 1 item to the next over a period of 2 seconds with a certain easing function?
...
I need a toolbar button similiar to the "New Project" button in the standard Visual Studio toolbar. When clicked, it pops up a dialog. However, it also has a small little down-arrow next to the icon graphic that, when clicked, expands a context menu with more options.
Is there a standard control available with this functionality?
...
I'm looking for a solution to a problem I've encountered using RIA and XSD.
The main problem is that the XSD schema generates a Hierarchical entity type with no relations to its children ( because the relationship is implicit from XML) the problem that I've encountered is that RIA handles Relational Entity objects and there is no way to...
When I'm applying a Style to a ListBox.ItemContainerStyle in C# it isn't making the change at runtime.
I'm using;
myListBox.ItemContainerStyle = (Style)(App.Current.Resources["NewItemStyle"]);
However all other styles are being supplied, such as Buttons etc where I'm going
myButton.Style = (Style)(App.Current.Resources["myMainButtonS...
When you create a XAML page in Silverlight or WPF, the system creates a top level container called "LayoutRoot". Is there anything special about this name, or can the top level container be called anything (or even nothing)?
...
When you create a new silverlight page, you get a number of xml namespaces auto created in the user control tag. Eg -
<UserControl x:Class="QuickStart.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expressi...
When creating Silverlight pages, when should one use "UserControl" as the base class, and when should you use "Page" as the base class?
...
I'm building a Silverlight app that I want to be hosted in Azure and use Azure table storage.
I have a class that represents the main data entity, ExpenseInfo. It has many data annotations for RIA validation, such as [Required].
I am following this tutorial to set up the REST service for access from SL. It wants there to be a class in ...
In this template ItemPresenter just defines host panel for the Items.
Is it possible to define ItemTemplate?
<ControlTemplate x:Key="ItemsControlTemplate" TargetType="ItemsControl">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<ScrollViewer>
<ItemsPr...
Hi,
is there a possibility to check the certificate (issuer, subject, etc.) of a signed XAP-Silverlight file in a asp.net hosted wcf service?
Thanks,
Sven
...