All Questions
Tagged with silverlight-4.0 visual-studio-2010
188 questions
0
votes
1
answer
493
views
Error updating WCF service reference in silverlight project
I an working on a website build in silverlight that use wcf services to communicate with business layer.
Previously i am working on windows xp, 32 bit system. Few days earlier i am migrated to win 7, ...
0
votes
1
answer
42
views
VS2010 Silverlight 4 loading wrong project module
I have a sliverlight web application in VS2010. I have several projects in the solution,
one of them I use as a library of dialog boxes and other screens used in the other projects.
I edited one ...
0
votes
1
answer
128
views
Visual Basic 2010 - Creating a Silverlight project?
Hello,
My operating system is Windows 7 - SP1 (64bit). I tried to create a Silverlight project in Visual Basic 2010 (Visual Studio 2010 Ultimate - SP1). Complete Install expect SQL Server 2008 ...
0
votes
1
answer
490
views
Silverlight 4 to Silverlight 5 migration [closed]
I am starting to upgrade my Silverlight projects from SL4 to SL5, is there any key points/best practices to keep in mind?
Any specific issues with Visual studio 2010 + Silverlight 5?
0
votes
1
answer
118
views
unable to install Silverlight on Visual Studio 2010 SP1
I have installed Visual Studio 2010 and applied SP1.
I am unable to install Silverlight 4 tools to start a silverlight project.
I rebooted the machine after installing Visual Studio 2010 and after ...
2
votes
1
answer
484
views
Config file transform of Silverlight projects on a CI server
I'm stuck with a transformation of the config files in a Silverlight project (i.e. the ServiceReferences.ClientConfig-file). I have followed some sources (for example this source ) on how to manually ...
1
vote
0
answers
372
views
Enums serialized with XmlTypeAttribute instead of DataContractAttribute when updating Silverlight service reference in VS2012
I currently have a server-side class library that contains custom enumerations which is in turn used by a WCF service method.
Using Visual Studio 2012, when I update my service reference two of my ...
1
vote
0
answers
259
views
MainPage.xaml file not loading properly in Visual Studio 2010
I am trying to workout with silver light in Visual Studio 2010 Professional. I have installed SilverLight SDK 4 as Visual Studio says, as the SDK 5 requires SP1.
After this installation i successfully ...
1
vote
1
answer
506
views
Silverlight works in IE, blank page in other browsers
I am new to SilverLight and I am trying to replicate a simple example from the book "Pro Silverlight 5 in C#" by Matthew MacDonald.
I am using VS2012 to create Silverlight 5 application.
When I run ...
0
votes
1
answer
166
views
wait for async method call back
I want to wait till calling the call back method end and continue my work after that. I tried something like:
ThreadPool.QueueUserWorkItem(_ =>
{
DoWOrk(callbackmethod, inputstring);
ctx....
2
votes
1
answer
735
views
PagedCollectionView not found in Silverlight 4 (again? yes)
I know this will sound quite redundant, but sadly, no answer I have found to this problem online helped me.
I am running Visual Studio 2010, and using the Silverlight 4 SDK (April 2011 version) for ...
0
votes
1
answer
99
views
Creating 3d (Drag and drop graphics) based on data base tablesin Visual studio 2010
I have a parent table contains a cargo container dimensions and a child table contains Several cartons with several dimensions i want to create a graphic that contains both cargo container and cartons ...
0
votes
1
answer
128
views
Simulator application using Visual Studio
I'm developing an application for Freight purposes. I want to add a cargo container loading simulator to the application to optimize the container loading, so the user can load cartons into the ...
0
votes
1
answer
93
views
Collections Debug Visualizer
While debugging a WP7 app, how do I view a value of a generic dictionary collection?
0
votes
1
answer
2k
views
Silverlight 4 AutomationFactory.CreateObject exception when accessing from Web Application
I have a SilverlIght 4 project i wrote to interact with client document scanner and scan a document from the device.
This runs perfectly when i run silverligth project.
But When i add this ...
0
votes
2
answers
999
views
Visual Studio 2010 - Silverlight 4 templates missing, how to redownload them?
I am missing the silverlight 4 templates for Visual Studio 2010. devenv /installvstemplate doesn't work because the actual files are missing, and the specific one I want (User Control) doesn't show up ...
0
votes
1
answer
2k
views
How to make AutomationFactory available for a silverlight application in a sharepoint site?
I am trying to create a silverloght application to open visual studio and deploy it as a webpart in sharepoint site. I am using following code:
dynamic cmd = AutomationFactory.CreateObject("WScript....
0
votes
1
answer
438
views
How to get a 3DS file in to a silverlight web application
I have created the 3d character with animation by using 3ds Max 2012. Then saved that max file as 3DS file format. I need to embed this 3DS file into a silverlight web application by using Ab3d....
0
votes
2
answers
72
views
Mapping with Silverlight Application?
I have Silverlight Application. Getting started with Linq I find out I have to make mapping in a new project in the entire solution. To use generated classes from new project I use "Add Reference". ...
1
vote
2
answers
533
views
Search function for Windows Phone app
I am kind of a newbie at programming (have worked a bit with Delphi years back) but have started to build an application for Windows Phone 7.5 Mango, as I have a great idea for an app :D
In the ...
1
vote
2
answers
2k
views
An unhandled exception has occured in silver light`
I have create a new project by selecting Silverlight project but I am getting the error as
An unhandled exception has occured
How to resolve this
4
votes
3
answers
6k
views
Visual studio sp1 error: RiaServices.msi is unavailable
I'm have been trying to install the sp1 for visual studio 2010. I have first downloaded vm_web and Silverlight4_Tools, both of which seemed to install fine.
I tried to open VS2010 and got the error,
...
5
votes
4
answers
1k
views
System.IObserver'1<T0> is defined in an assembly that is not referenced. You must add a reference to assembly
I have checked some code out of source control and am getting the following error when I try to build:
The type 'System.IObserver`1' is defined in an assembly that is
not referenced. You must add ...
1
vote
1
answer
1k
views
Could not load file or assembly '0 bytes loaded from System, Version=4.0.0.0
I got the following error when I am Building Solution for my app.
Could not load file or assembly '0 bytes loaded from System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or ...
0
votes
1
answer
1k
views
Invalid Credentials with Bing Maps on WP7, WPF, VS2010
I've got a key from http://www.bingmapsportal.com and I've added the following code to my project, as demonstrated all over the web.
In the .xaml file:
my:Map Height="320" HorizontalAlignment="...
4
votes
3
answers
7k
views
overriding the browser's CTRL+F and replace it with Silverlight custom search
Can anyone help me in Overriding the browser's CTRL+F and replace it with Silverlight Custom-search. I guess we can have JavaScript to handle this case.
7
votes
5
answers
24k
views
Data sources tab is missing in visual studio 2010
I started reading the Pro Business Applications with Silverlight 4 and I'm having the following problem here with my visual studio 2010
I can't find the data sources tab page as mentioned here:
...
2
votes
1
answer
400
views
Silverlight AutoSize and Visual Studio 2010 for Windows Phone
I have designer using Blend to desing windows phone pages. It has d:DesignHeight and d:DesignWidth set.
I use Visual Studio 2010 Express for Windows Phone. Now if I open any .xaml file in DesignMode,...
2
votes
2
answers
2k
views
Microsoft.Expression.Interactions troubles
I have a Silverlight project and have started looking at behaviors. All the examples I've seen reference the assembly something like this:
xmlns:ei="http://schemas.microsoft.com/expression/2010/...
2
votes
1
answer
576
views
Issue with PackageRestore, Silverlight, and MSBuild
We use NugetPowerTools PackageRestore to avoid putting our packages folder in svn. This works building .NET projects with Visual Studio and MSBuild. It also works building Silverlight projects with ...
4
votes
3
answers
1k
views
Unsaved XAML file is very slow when switch to another file
if I modify the XAML and leave it unsaved to switch to another file Visual Studio freezes for about 10 seconds before it becomes responsive again. So i expanding too much time for developing and its ...
2
votes
1
answer
547
views
Silverlight shows blank page instead of throwing exception
I am facing an issue that due to some missing styles, when I run my Silverlight 4 application it simply shows a blank page instead of throwing an exception and telling me which style is missing. Any ...
0
votes
2
answers
74
views
how to do this so it does show "No Value" instead of getting caught in an error
I am using the following code which works fine as long as I dont have one of the child node (e.g. URL) missing. If it
is missing then my code errors out. How can I make it to not error out and just ...
0
votes
3
answers
90
views
get the object properties
I have a code that returns me an object of widgets
XDocument loaded = XDocument.Parse( xml );
var widgets = from x in loaded.Descendants( "widget" )
select new
{
...
0
votes
1
answer
809
views
Filling a ComboBox with LINQ on Silverlight (WPF)
Im trying to load a XML into an object with LinQ in Silverlight with WPF, but i can't fill or binding my combobox.
The code of the object is:
public class Language_Index
{
public string ...
8
votes
2
answers
4k
views
What's difference between the two build actions "Resource" and "Embedded Resource" in Visual Studio 2010?
I have read the following article which supposed to explain it, but it does not help me:
http://msdn.microsoft.com/en-us/library/ht9h2dk8(VS.80).aspx
My case is that I would like to have a dll ...
5
votes
1
answer
604
views
Lync 2010 Plugin - Silverlight WPF with elevated permissions
I'm developing a CWE (Conversation Extensibility Window) with WPF and Silverlight 4 on Visual Studio 2010, for Lync 2010.
My application reads a list of .xml from the root directory of the ...
1
vote
2
answers
1k
views
Silverlight ChartingToolKit is not coming in xaml page
i wanted to implement charts in my silverlight app.
i have installed SL4 in my VS.
The problem is i m not getting the chartingToolkit:Chart control in my xaml page.
Gives error saying control not ...
2
votes
1
answer
4k
views
How do I debug my Silverlight 4 application?
I cannot figure out how to get my breakpoints to take in my silverlight application. I've tried setting up a test page, but nothing seems to work.
Here are some of the things I've tried:
Enable ...
4
votes
2
answers
3k
views
DateTime Converter in Autogenerated Datagrid
I have created an autogenerated datagrid with 5 columns, 3 of which are DateTime and the other 2 are Strings. I need to be able to remove the time from the end of the datetime columns entries.
...
4
votes
1
answer
304
views
How can I change the default image location for a Silverlight project in Visual Studio
Re: Visual Studio 2010 Silverlight 4.0 project.
When setting the source for an image element using the builder from the property sheet, it Visual Studio has a handy option to add an image file to the ...
1
vote
1
answer
214
views
Timing execution and loading in Silverlight
I'm trying to determine some testing strategies for a Silverlight application of ours.
What I'd like to determine is the total time it takes for a grid to load and show data in the client. I've tried ...
0
votes
3
answers
371
views
Silverlight 4 - Observable Collections (load on start up)
I'm pretty new to Silverlight and C#, i've just made a little application that allows the user to add books (title, author and description), they can also search on these fields with an ...
0
votes
1
answer
534
views
WCF service attempting to read mdf file
I have a Silverlight application, developed in VS2010 and deployed on Server 2008.
The application calls a WCF service within the project to read an mdf file, again within the application.
After ...
0
votes
1
answer
134
views
RefreshEventName for filtering on ria services for visual studio 2010
In ria services for silverlight 3 there was a functionality through RefreshEventName in order to control when a filter should be applied to the domain service query. (usually set to TextChanged)
In ...
0
votes
2
answers
399
views
TFS build adding an unwanted code block to xap file Microsoft.Practices.ServiceLocator
Here is a list of my references in my silverlight project.
Microsoft.Practices.Unity.Silverlight<br/>
mscorelib<br/>
Prospector.ProviderMatching.LinkedDataObjects<br/>
Prospector....
0
votes
1
answer
212
views
how do you execute silverlight class library?
When execute the silverlight class library,debugging(F5) is disable.how do I test whether my class library is right?Silverlight class library is only reusable class and components from other project?
...
0
votes
3
answers
3k
views
Can't debug dynamically loaded silverlight applications (xap file)
I have a solution which contains multiple applications. In the 'root' application I read a config file, download the xap files and load them using some class System.ComponentModel.Composition.Hosting....
0
votes
3
answers
17k
views
Select Tab on Button Click
I have create a tabcontrol in Silverlight 4 with four tabs, is possible open a tab with button?
this cose is only windows forms
tabControl1.SelectedTab = tabPage4;
1
vote
1
answer
154
views
NotificationWindow only one is visible at a time
NotificationWindow notify = new NotificationWindow();
NotifyWindow win = new NotifyWindow();
win.Header.Text = "Custom Message Header";
win.Description.Text = "This ...