I want to save a writableimage in Silverlight to disk.
I found this tutorial : http://kodierer.blogspot.com/2009/11/convert-encode-and-decode-silverlight.html, and have based my code on the EncodeJpeg method.
But at the:
pixelsForJpeg[0][x, y] = (byte)(color >> 16);
it throws an exception : Arithmetic operation resulted in an over...
In an SL3 datagrid, is it possible to have every cell of the grid editable?
I need to create a UI that's similar to an Excel worksheet. Upon a button click, the entire collection of objects would be submitted as opposed a single object or cell.
Is this even possible, and if so how would I go about achieving it?
Thanks.
...
Can you surround Datafields in a border? I have a large form that needs to be organized into sections, "Customer INformation" for instance.
Is there a way to surround these with a border?
...
Who provides the best 3rd party Silverlight controls for LOB applications? In the past I’ve used Infragistics for WinForm controls which were very good and they also provide good support. However, they seem to be a bit behind the likes of Telerik in the Silverlight space. I’ve also noticed the Silverlight toolkit as well – are these as r...
I've just stumbled across this folder structure on my machine which contains lots of .NET assemblies similar to what you might find in the system GAC. This puzzled my as I've never seen this folder structure before and it makes me wonder, is there such a thing as a local user assembly cache?
The folder structure is: C:\Documents and Set...
how to access silverlight3 DataGrid cell value programatically?
I know that I can use DataContext to access the data, but I need to access control contained in a specific cell.
If column template is like this:
<data:DataGridTemplateColumn Header="Header text">
<data:DataGridTemplateColumn.Ce...
I've got a rather complicated custom control that would boggle your mind if I showed you all of the code. ;) In general it's a panel displaying multiple controls. You can think of it as a custom list box. (Please don't tell me to use a listbox, I've been there and it doesn't meet my needs completely).
So, I set some animations in a...
Hi,
I'm wondering if anyone has any ideas as to how I can host the Silverlight ActiveX control in an MFC application. I have been able to find information on this online, but everything that I have found is related to ATL or C# and so far I have been unable to translate any of this into my MFC application:
Silverlight Alternative Hosti...
I have Silverlight 3 project with a treeview which i populate from a table with hierarchical data using linqtosql via RIA domain services.
The problem I face is that the treeview displays both data from the top level and sub-levels side by side.
I have seen various examples of how to control this, but have not been able to do it myself...
I have a Silverlight 3 app that that will let users download PDF files of static content. The problem is that the SaveFileDialog in Silverlight 3 does not allow you to specify the default filename that appears in the dialog box. This means that users have to type the name themselves and this is confusing for them since they are accusto...
I am trying to create a TreeView control that would behave in a similar fashion to the object tree in Blend (pictured below). I would like to have a button displayed all the way to the right side of the TreeView for each tree item.
By massaging the templates, I've been able to get buttons to appear all the way to the right. This is ver...
I have button Content that I want to use in multiple buttons on a UserControl in my Silverlight application. Here is the code for one button:
<Grid x:Name="LayoutRoot" Background="White">
<Button Grid.Column="1" IsEnabled="{Binding PrivilegeChanged}" Height="24" Width="24">
<Button.Content>
<Canvas xmlns="http:...
Could anyone tell me the events that are fired during a Silverlight control's lifecycle please?
For instance in ASP.NET you would have PreInit, Init, PreLoad, Load, etc.
...
So here is the situation. I am using ADP.NET Data Services 1.5 CTP2 with Silverlight 3. My EF data model is (in short) like this:
CmsProfile
Id
Name
CmsEvent
Id
Title
CmsProfileEventLink
Id
ProfileId
EventId
So there is a many <-> many relationship between people and events. When I load the ...
Here is my scenerio..
We have an ASP.Net 2.x web site. We want to migrate it to Silverlight full frame application. However, there is no way we can go away in a corner and redo every web page in SL right off the bat.
What I would like to do is build the chrome of the app (main page, dashboard, login, common system/config screens, main...
Hi,
I'm trying to write an silverlight app which operates on database through a web service.
For now I don't know how many tables will be in the database but I think it will be about 25.
Every insert,update,delete on the database should be overriden by my algorithms but almost the same for every table.
a) If I insert data as a result I ...
Hi
I have Silverlight Accordion control in the ChildWindow and I customized it the following way
<Style x:Key=itemStyle TargetType=AccordionItem>
<Setter Porperty=HeaderTemplate>
<DataTemplate>
<TextBlock x:Name=_headertext/>
</DataTemplate>
</Setter>
</Style>
<Accordion Style"{StaticResource itemStyle}">
<Accordi...
Hi, I would like a checkbox in the header of my datagrid, however, I can't seem to center align the checkbox.
This is my xaml:
<data:DataGrid
x:Name="myDataGrid"
VerticalAlignment="Top"
Width="300"
Grid.Column="0"
AutoGenerateColumns="False">
<data:DataGrid.Columns>
<data:DataGridCheckBoxColumn Binding="{Bin...
Hello,
I have some large images (in MB's) that I would like to view as thumbnails quickly (in KB's).
I would like to avoid storing 2 images on the server (one for the large image and one for the thumbnail).
The images are stored with Azure blobs
I've looked into deepzoom it doesn't seem to handle dynamic images.
EDIT: The content ty...
I'm having a problem with my dependency property. It seems like it doesn't want to work at all, and I don't know why. Here is the code for my dependency property:
public static readonly DependencyProperty CheckBoxColumnVisibilityProperty =
DependencyProperty.Register("CheckBoxColumnVisibility", typeof(Visibility), typeof(Computers...