silverlight

Silverlight - Prism, Unity, and the Managed Extensibility Framework,

Hello, I'm trying to build a line of business application using Silverlight. I felt like I was doing good then someone asked some questions. Immediately, I became really confused. I see discussions around Prism, Unity, and the Managed Extensibility Framework. However, they all look like they are trying to solve the same problem. Am I nu...

Cannot see named Silverlight control in code

In my first few hours with Silverlight 3, as an avid WPF user, I am greatly disappointed at the many things it doesn't support. This seems like an odd issue to me and it's so generic that I cannot find anything online about it. I have the following XAML: <controls:TabControl x:Name="workspacesTabControl" Grid.Row="1" Background="Antiqu...

After rebinding Silverlight Listbox control how do you get it listbox to scroll to back to the top?

I have a silverlight listbox that is being used as a search result box. I'm using dynamic searching (keyups in the search box cause the events to fire to filter this list box's contents). The issue I'm running into is if the user scrolls down when the box is unfiltered, then does the search, the rebinding of the listbox does not cause t...

How to make apps access my model without have to spread my model DLLS through them

I have an architectural question. We have many applications in our company and we are planning to use ASP.NET MVC and Entity Framework in our future projects. The next project that we need to implement is a central authorization/authentication system. There is no option to use an existing one for reasons that doesn't mater right now. Thi...

Bind FontWeight to a Boolean in Silverlight

Silverlight does not feature DataTriggers, so in this case... what might be the best way to conditionally set the fontweight of an item to a boolean? For example... the following is not possible in Silverlight. <TextBlock Text="{Binding Text}"> <TextBlock.Triggers> <DataTrigger Binding="{Binding IsDefault}" Value="True"> ...

Reclaiming the space from the DescriptionViewer part of the DataFields on a Silverlight Toolkit DataForm

The DescriptionViewer part of the DataField is used to display the Description property of the System.ComponentModel.DisplayAttribute as a ToolTip in the generated form. I don't want to use this capability and although I can make sure the UI element is not visible by using a style to set either the DescriptionViewerVisibility to Collapse...

Silverlight Refresh Data in Combo Box

Good Day, I have a Data Grid that contains user selections on a SL form. From time to time, there are updates to the data in the Data Grid every 10 seconds. Is there a way to constantly refresh the data once the page has loaded? I found something called a DispatcherTimer that can run every 10 seconds (for example) but I'm not sure if...

Dynamic height for silverlight app in sharepoint

So as far as I know when using Silverlight in Sharepoint I need to give the web part a certain height and width for the silverlight application that I want to use. And I cant use 100% in the web part properties. What I would like to do is for the silverlight app to tell the webpart what the height should be. Currently I'm not even sur...

Landscape Page Turn in Silverlight ( vertical )

hi, i am looking for page turn Silverlight in landscape mode. Or can we show PDF file Silverlight? ...

Anyone using Windowless mode in a Silverlight business app without animations?

We have a standard business application written in Silverlight for which we need to use Windowless Mode. This "feature" to use a Telerik Silverlight component. Using Google I have found lots of bad things that can go wrong with windowless mode with regards to mixing HTML content and animations. I am interested in knowing if bad things...

wpf datagrid footer layout

Hello My footer is currently composed of a label and an ItemsControl. It needs to be below 2 DataGrid controls that are similar in that they both contain a fixed width column for every day in the week and the end of it (which is what the ItemsControl in the footer has totals for). I'm trying to solve the alignment, which seems easiest...

Linq Containsfunction problem

I use Ria Service domainservice for data query. In My database, there is a table People with firstname, lastname. Then I use EF/RIA services for data processing. Then I create a Filter ViewModel to capture user inputs, based it the input, I construct a linq Query to access data. At server side, the default DomainService query for pe...

Drawing programmatically using C# in Silverlight

I am trying to create an Aitoff-Hammer grid in Silverlight using C#. It should look like this minus the dots and numbers. I am not a programmer but have been able to piece together this using an ActionScript file to do the same thing that was written by my predecessor. As you can see, I get the grid plus unwanted diagonal lines. I am no...

How to modify front of URL in Silverlight Navigation app?

My Silverlight application, using the navigation framework, has very pretty endings to its URLs, due to use of the URI mapping it does. But the front end still looks nasty, like: http://server:port/SilverlightPage.aspx#/uri-mapped-portion How can I get the "SilverlightPage.aspx#" portion to look nicer, preferably removing the ".aspx#"...

Where can I fnd the xap files of the silverlight apps I am browsing?

I am browsing silverlight applications. Where can I find the corresponding xap files? Are they in the browser cache on somewhere else? I am trying to look at xap files written by others. I used fiddler to look for xap files or html files containing xap files. Found nothing. For example, how can I find the xap files for bing maps or Offic...

Silverlight 3: Best way to select a local file for input / upload

I'm using Silverlight 3 to write a LOB applcation that takes an input file, does some stuff, and then returns an output file. What is the easiest way to get the input file from the user and then return a file back to the user? Can I access the local file system to do this? How? Most likely the files will be ASCII files, but could be Exce...

Silverlight - Perspective 3D

Hello, I am considering using Silverlight for a project I am working on. This project will need to show a 3-Dimensional cube. Is this possible in Silverlight? I see a lot of examples that a basically 2-sides of one item. Kind of like a sheet of paper. Is this what "perspective" 3D is? How is perspective 3D different than normal 3D? T...

Adding an image to a button in XAML

I'm trying to add an image to a button in my silverlight 3 application but cannot get the image to appear. I added a folder, named \images, to my Silverlight application folder and an using a relative path in the Source attribute of the Image. What am I doing wrong? <Button Width="200" Height="200"> <Image Source="images\do...

Where can I find the xap files for the Office Web applications?

I am using the new Office Web applications. s it using Silverlight? If so, where can I find the xap file for it? ...

Silverlight Timer-Like Functionality

So what I have is a textbox that submits data back to the server. I want to have it submit once the person has stopped typing. My thought process was to have a timer and have the textbox change set the timer to start (if stopped) and reset the countdown time to lets say 3 seconds if its already running and have the timer.Tick event s...