When I use a post-build with my web project (which has an associated Silverlight 3 project in the solution, and uses a web service to access the DB), I get some really weird results. The post-build event creates a zip file from the published folder and uploads it, among other things. However, it doesn't seem to matter, because I seem t...
The following code throws an exception...
private void EnsureDiskSpace()
{
using (IsolatedStorageFile file = IsolatedStorageFile.GetUserStoreForSite())
{
const long NEEDED = 1024 * 1024 * 100;
if (file.AvailableFreeSpace < NEEDED)
{
if (!file.IncreaseQuotaTo(NEEDED))
{
...
Just read some posts about how wonderful Silverlight 3.0 is, including that it uses some variant of WPF. That set off a warning flag.
If I'm installing Silverlight on the client and I've got, say Win XP SP2 (which is the minimum supported), how large would the runtime download be, including all dependencies?
(In the past I've had a MS ...
I have got a new project I am doing in Silverlight 3 which is a LOB application. It will have a fair number of data entry screens, some of which will be pretty complicated. Is the new DataForm control up to the task for anything other than simple generic forms or should I create custom forms? And if I create custom forms, are there any b...
I've a DataForm which I have set the Visibility of certain DataFields to be Collapsed, and when the user selects an option from a ComboBox, certain DataFields should be made visible again.
Basically (in rough pseudocode).
OnComboBoxChange =
if this.index = 1 then
DataForm.Fields[1].Visibility = Visible
else
Dat...
As stated in this question, it is possible to display the server-side validation errors inside the Data Form error summary with RIA Services. My question is, how can I do the exactly the same but this time with a "plain vanilla" (i.e. no RIA Services) Silverlight 3 setup?
Moreover, is it possible to highlight the Data Form fields that ...
Hi guys,
I have a question.
Is there a way that I can show an animated gif in silverlight 3?
I would like a small loading gif to tell the user the application is acutally doing something ...
thx :)
...
Hello,
I have a DataGrid with about 4000 rows. Scrolling through the DataGrid works well, until I add a RowDetailsTemplate (which is a UserControl that I created). My guess is that my UserControl is being created as the DataGridRows come into view, causing incredibly slow scrolling.
Does anyone know of a way to prevent any initializa...
What are the pros/cons to using CTP technology for internal production softtware? By internal production I mean it's software we're not selling to anyone else but will be used by a large number of internal employees spread nationally.
I can see the obvious plusses (features and functionality that beats existing systems) and minuses (bu...
I need to add a real time dashboard of data to a ASP.NET MVC application. The dashboard needs to be refreshed every few minutes from SQL server 2008. I was going to use ASP.NET MVC, with jQuery and AJAX. But Silverlight 3 is a possible option (each client has Silverlight 3 installed). I know WPF, is it worth the jump to SL 3 for this? ...
This is my first day with Silverlight. I’m trying to prototype an application which (among other functions) should be able to resize user supplied images. It should be able to handle and display several resized images at once. The most obviously approaches I've tried seem to "leak" memory in the sense that the original bitmaps are still ...
I have this Page.xaml
<UserControl x:Class="SLBookDemoApp.Page"
xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:SLMitsuControls;assembly=SLMitsuControls"
Width="800" Height="600" Loaded="UserControl_Loaded">
<Grid>
<local:UCBook...
I have a Silverlight application where I periodically load more data and add it to the page as UserControls. I load about 25 objects in one set and create one UserControl for each object.
This ends up taking quite a bit of time! Loading 25 objects takes 50-150ms purely in the UI. This makes my animations rather jerky, which is very much...
I'm using a silverlight 3 datagrid, and within it, I'm nesting related records in another control by using the rowdetails (visibilitymode = visiblewhenselected).
I really like how this works, but I'd much rather have the grid display the row details when a "+" button is pressed, much as a tree will expand when you click a node.
I tried...
On my XP machine, I have Blend3 RTM and Silverlight3.
Since I made this update, Silverlight crash both IE and FF (error code 8013150a) as soon as the Silverlight loading animation is shown.
How to solve this issue ?
...
Hi! I'm using the new PagedCollectionView as my ItemsSource.
I've bound the CollectionView to a DataGrid, and need the grid to only show values that passes my filter like this:
var oc = new ObservableCollection<User>();
var pc = new PagedCollectionView(oc);
dataGrid.ItemsSource = pc;
Where User class impl...
Hello,
I'd like to bind the Width of my RowDetailsTemplate to the Width of my DataGrid, so that the row details are not surrounded with scroll bars.
Here's the problem:
Notice that the RowDetailsTemplate contains hidden content that must be scrolled into view - which is terrible. The user must drag the scroll bar at the very bottom ...
Hello Silverlight gurus,
I am experiencing a problem with the DataGrid where my data-bound object's properties are not being updated when using the CellTemplate/CellEditingTemplate:
<data:DataGridTemplateColumn Header="Text">
<data:DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding Te...
I have a WCF service which is set up to use basic authentication over https like this:
<basicHttpBinding>
<binding name="secureTransport">
<security mode ="Transport">
<transport clientCredentialType="Basic"/>
</security>
</binding>
</basicHttpBinding>
I have also specified a custom username and passwor...
I created a asp.net application.How can i integrate a silver light tag to my asp.net project.When i googled i got some of the examples for 2.0 . Where can i get an example solution for silver light 3.0.
Note : when i searched for the same in google . i got a solution to add a system.web.silverlight.dll.That is present in my %win%/Prog...