Hi , I created a Sliverlight 4 Business Application ( BussinessApplication1.csproj & BussinessApplication1.Web.csproj ). In BussinessApplication1.csproj I have 2 silverlight pages , EmployeeListing.xaml ( in a folder named Views ) and a CustomerRegistrationWindow.xaml in the root . From the code behind file of CustomerRegistrationWindo...
This is perhaps a silly question, but I can't seem to find out how to do this.
I have a Silverlight app using Prism's regions, and I have a requirement for an 'expand'-type button inside one of my views. When the user clicks that button, I need the view to grow larger.
How do I change the size of my region dynamically, like this?
I...
I am creating a BubbleSeries in a function within CS file. As a data source I use a List<Dictionary<string,string>> GridData, Unfortunately my implementation throws an exception: No suitable axis is available for plotting the dependent value. I am SL4 newbie and I can not figure out what could be a reson. Here is how I create and add Bu...
Hi,
Lets assume that I have my own business layer containing my business objects and my business services. And I have decided to create a "SilverLight Business Application" (with SL v 4.0) and I want to use my already used Business Layer from the SL application I plan to develop.
I know that I cannot include a project which is not a SL...
How can the "Header" property of the DataGridTemplateColumn (or DataGridTextColumn) be bound to some text property of the ViewModel in the DataGrid of Silverlight 4?
"Ideal" solution (that does not work):
<sdk:DataGrid AutoGenerateColumns="False" ...>
<sdk:DataGrid.Columns>
<sdk:DataGridTemplateColumn Header="{Binding MyViewModel...
How can I use UDP Multicast? Who can help me?
I have some sample, but it does not work.
Who can explain me how to work with this technology?
...
I copied the basic method of having checkbox in a treeview from the official Silverlight toolkit Checkboxes in a TreeView example.
When a user clicks on a parent TreeViewItem I want all of the child items to be checked, as in the above example. This works fine when the parent is collapsed, clicking the checkbox puts a tick in the paren...
Anyone have any recommendations on the best way to do this? Data Annotations make sense, but I can't use them with my WCF services (http://stackoverflow.com/questions/822328/data-annotations-on-wcf-service-contracts) . I can't use RIA, because I need to send my services over TCP.
...
I'd like to develope simple set of controls to display many sort of data and be useful in normal silverlight application and can be used in ASP.NET MVC2 application. Right now i have no idea how to link those tehnologies, but this isn't my concern right now - i just heard it is possible and i'll find out how to do that...
Right now i'd ...
I'm trying to figure out how to programmatically apply a theme at runtime in our Silverlight 4 application. I figured this should be as simple as loading a resource dictionary from XAML and merging it with the application's merged dictionaries. Here's my code so far:
var themeUri = new Uri(
"OurApp;component/Themes/Classic/Theme.x...
I apologize if this title is misleading. I already know that Microsoft isn't planning on releasing a Silverlight certification due to their quick development cycles (please correct me if I am wrong). I have started a new job that places a lot of emphasis on Microsoft Certifications, as of late I have been doing Microsoft Silverlight deve...
Hello Stack Overflow! First time poster.
I'm using MVVM-Light with Silverlight 4 and RIA Services. This has been a learning experience! But so far, it's working beautifully. I was wondering two things. Right now, I'm using the Messenger framework to pass EntityObjects back to the ViewModel. For instance, I need to open a View Model wit...
Hello Stackoverflow users,
What I am trying to do is to create some sort of "rooms"(like a chat group, a sharing center or whatever you want). All the room are created the same way, but each one of them contains different informations. Each of these rooms is contained in a TabItem. I managed to create dynamically all the Tabitems, to gi...
Hi,
maybe you could help me understand why I get an unhandled exception "Invalid XAML" in Visual Studio 2010 designer when trying to do the following on a Page.
I have a Converter named DateTimeConverter that converts a date into a German date string. The converter works fine. I've included the namespace and added the following to the ...
Hey guys,
I am not getting any exception in the following code, however I also don't see the file which is suppose to be uploaded to the server (in this case a localhost) - could someone please point out the mistake?
As an add on, I need a simple silverlight file uploader with a progress bar, but I am having a really hard time try usin...
I need to pass a set of values to a DomainService method. Here's what I'd like the service method to look like:
IQueryable<Person> GetPeople( Nullable<DateTime> MinDOB, IList<String> Ethnicities )
{
return
from
Person item in ObjectContext.People
where
item.DOB >= MinDOB
&& Ethnic...
I have this DTO:
public class ServerDTO
{
[Key]
[Editable(false)]
public string Id { get; set; }
public string Name { get; set; }
public string OS { get; set; }
public string ProcInfo { get; set; }
[Include]
[Association("Server_RamInfos", "Id", "HostId")]
public...
Hello,
I have a Silverlight UserControl, and it contains a StackPanel which, in turn, contains some UserControls in it. I would like to be able to determine when the user clicks/tabs outside of the outermost StackPanel (i.e. when the StackPanel loses focus), and I would like to be able to handle it from inside my UserControl. Does any...
It's been requested that we add dynamic theme switching to our application, and I'm having problems figuring out how to do this.
Here's the current situation: our application has a merged resource dictionary with explicit (not implicit) styles. The views in our application refer to these styles through the StaticResource markup exten...
When I right click on the T4 file and Run Custom Tool, I get the errors
Compiling transformation: Metadata file 'IdeaBlade.VisualStudio.DTE.dll' could not be found
Compiling transformation: Metadata file 'IdeaBlade.VisualStudio.OM.CodeGenerator.dll' could not be found
Compiling transformation: Metadata file 'IdeaBlade.EntityModel.Edm.Me...