Hi guys, I've created a new Silverlight 3 Business Application with VS 2008. The creation has completed correctly. When I try to open the xaml, it opens but in meanwhile this error is shown:
Failed to load metadata assembly
System.Windows.Controls.Data.Input.Design,
Version=2.0.5.0, Culture=neutral,
PublicKeyToken=31bf3856ad364...
Hi!
I am having a hard time on this one, I have a folder over the network with public access (no credential restriction). I am trying to do a File.Exist or Directory.Exist and I keep on having a exception.
Can someone tell me the good way to do IO over the network.
EDIT 1 FOR DETAILS:
if i do execture => \agoodip\Public\test.txt I ge...
I have a DataGrid that is showing some data via a PagedCollectionView with one group definition. I have created a Style for the corresponding DataGridRowGroupHeader under which I have added a ControlTemplate containing an additional TextBlock and a spacing Rectangle. I would like to bind the widths of these controls to the widths of part...
In general, is it better to have a web application make lots of calls to a web service getting smaller chunks of data back, or to have the web app make fewer calls and get larger chunks of data?
In particular, I'm building a Silverlight app that needs to get large amounts of data back from the server in response to a query created by a ...
Hello everyone. I am very new at all this c# Windows Phone programming, so this is most probably a dumb question, but I need to know anywho...
IsolatedStorageSettings appSettings =
IsolatedStorageSettings.ApplicationSettings;
if (!appSettings.Contains("isFirstRun"))
{
firstrunChe...
Hi there..
I am new in silverlight ..
unlike windows form ,I am unable to find menu item in silverlight .
How to add menu item in xaml file.
I have to do this
Thanks
...
I have a custom UserControl called (for instance) MyPanel, and I want to use it in another XAML file. I would like to set a property of MyPanel, such as "Title" in the XAML file into which MyPanel is placed, as follows:
<UserControl x:Name="ContainerControl">
<local:MyPanel Title="Whatever I Want" />
</UserControl>
I would like f...
I'm trying to write a program that can stop and start services using SilverLight 3 and VS2010.
I can't add the reference to the System.ServiceProcess dll.
C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.ServiceProcess.dll
1st why? - It it just a security precaution?
2- Is there a work around? Does SilverLight have a different lib...
When running our Silverlight 3 application out-of-browser, startup takes a little time, but it's long enough to be noticeable. During this startup, the background of the window hosting the application displays an ugly white background color. When running in-browser, we have a splash screen, but that's loaded via JavaScript of course. ...
I want to know why there is no support of TypedDateSet in SilverLight 3? what was reason behind that for not providing the TypeDataSet support ?
Thanks in advance
...
Hi,
I want to use an external browser window to implement a preview functionality in a silverlight application. There is a list of items and whenever the user clicks one of these items, it's opened in a separate browser window (the content is a pdf document, which is why it is handled ouside of the SL app).
Now, to achieve this, I si...
I am currently working on a simple Silverlight app that will allow people to upload an image, crop, resize and rotate it and then load it via a webservice to a CMS.
Cropping and resizing is done, however rotation is causing some problems. The image gets cropped and is off centre after the rotation.
WriteableBitmap wb = new WriteableBit...
In the handler for the Completed event of a Storyboard, how do i get the element that the storyboard was being applied to?
My Storyboard is part of an ItemTemplate:
<ListBox x:Name="MyListBox" >
<ListBox.ItemTemplate>
<DataTemplate>
<Grid x:Name="Container" Height="30" >
<Grid.Resources>
...
I am using Silverlight 3 on my website. I have a Login Page for role based authentication, that routes users with different privileges to different parts of the website. I want to use something analogous to the Session Variables available in standard ASP.Net applications.
I intend to use Isolated Storage to achieve this. But I am skepti...
I want to use WrapPanel in Silverlight 3.
It is apparently in the Silverlight Toolkit.
All the information I can find on it say to download the toolkit, unzip the download, look in the folder binaries and you will find Microsoft.Windows.Controls.dll.
This works for December 2008 version of the Silverlight toolkit just fine, since it i...
Hello,
I am attempting to return a image from a server using Silverlight 3. The server returns the Response stream like this:
context.Response.ContentType = imageFactory.ContentType
imgStream.WriteTo(context.Response.OutputStream)
imgStream.Close()
context.Response.End()
On the Silverlight client I am handling the stream like:
...
How to implement MultiBinding in Silverlight 3?
...
How can we access variable from one Xaml file in to another xaml file in a same project
...
Hi ,
I have a List box which contains another lisbox Inside it.
<ListBox x:Name="listBoxParent">
<ListBox.ItemTemplate>
<DataTemplate>
<Image x:Name="thumbNailImagePath" Source="/this.jpg" Style="{StaticResource ThumbNailPreview}" />
<TextBlock Margin="5" Text="{Binding Smt...
I know that Silverlight doesn't directly support the WPF bitmap effects, but I also know that Silverlight 3 supports HLSL shaders. Would it be relatively simple to write a bevel effect, ilke the one in WPF, and if so, can somebody recommend a good resource to learn how to do it?
...