silverlight-3.0

Databinding to a DomainDataSource Query Parameter

I need to bind a username to a DomainDataSource QueryParameter. My understanding is that the following does not work: <RiaControls:DomainDataSource x:Name="MyData" LoadSize="20" QueryName="GetStockByCompany" AutoLoad="True"> <RiaControls:DomainDataSource.DomainContext> <ds:InventoryDomainContext /> </RiaControls:DomainDataSource.D...

Silverlight light dropdown

Good Day, I have a Silverlight form that contains a Stack Panel (orientation = vertical) with 10 rows. Each row contains a TextBlock and Textbox control except the last row has a TextBlock and Drowdown.. At the bottom of the control are two buttons. Previous & Continue. There are 10 items in the Dropdown. When I select a value from...

Validation exception fails if field is empty Silverlight

Hi, I m trying to do a simple validation on textbox, its a required field and cannot be empty. Initially value will be empty so when user do not enter any value into the field and directly clicks Save button then valitaion is not triggered. It works fine when user types something and then deletes the value from it then it works perfectl...

How to pass dynamic search parameters from client through RIA Services?

Hi, I have a C#.NET Silverlight 3.0 client running RIA Services with an EF model. I'm trying to set up an advanced search system on the client such that the user can say, I want field (property) "Foo1" to have value "Bar1," etc.. . I'd like to use a flexible, dynamic approach similar to this one. The problem is I can't pass IQueryable ...

Silverlight 1 second DispatcherTimer only firing every 30 seconds or so on certain machines

I've got a Silverlight 3 app that works great, except on 4 machines. DispatcherTimer and Storyboards are not firing consistently on these 4 machines. I've created a very simple test app to try to figure this out, I'll list the code below. Basically the test app updates two TextBlocks every second. One using DispatcherTimer, one using a ...

Free control - Hybrid LinkLabel and HtmlTextBlock for Silverlight 3

I need a simple HTML renderer ( like HtmlTexBlock ) which also allows to intercept click on custom defined link ( like LinkLabel ) looking like hyperlink. Does anything like that exist as free software ? ...

Setting up an IP Camera with silverlight

I am trying to set up an IP camera and have it work through Silverlight I am using both Microsoft Expression and Microsoft Visual Studio 2008. I am able to do encoding with a usb connected web cam but I cannot find a way to use the encoder to connect to ip camera connected to our switch. Does anyone have experience setting up an ip camer...

How to layout a Silverlight app?

I am brand new to Silverlight. Just downloaded and installed it (the SDK and the controls toolkit), went through a few tutorial and getting my head around XAML. I want to build a fairly simple app with 3 panes. It should look similar to the image below. Panel 1 will have a TreeView. Whenever the user clicks on a node, something els...

Error: The project type is not supported by this installation.

I'm trying to open a silverlight project in Visual Studio 2008 and getting this error. The project type is not supported by this installation. Let me tell you I did installed: VS2008 SP1 Silverlight Tools 3 Silverlight SDK Silverlight And they were installed in the sequence they are mentioned here. Still I'm getting the same error....

Localization of error message in Validation silverlight

Hi, I want to use localization feature for Validation messages, for eg- [Required(ErrorMessageResourceName = "RequiredField", ErrorMessageResourceType = typeof( ))] public string someText { get... set...} I'm using MVVM pattern so this property is in my model(its a differnt project inside same solution of silverlight) ...

Maximum Width and Height in Silverlight

In general, how does one set a control to take up the entire Height and Width of its container? I am new to Silverlight and was surprised that the controls don't have a Dock property (unless I am missing something). ...

How do I architect this Silverlight app?

Totally new to Silverlight (and XAML), but a long-time c# developer. I am building an app that will look similar to this: Basically the user clicks on a node in the tree (Panel 1) and new content appears in Panel 3. In Winforms, I would have just built a UserControl for each node and just swap the Panel 3 based on the node clicked....

Issue binding Silverlight Custom Control dependency property to Model property

Hi, I have a data navigation user control in Silverlight which opens a child window where the user can enter search criteria and when they press 'Apply' it's suppose to update the bound property in the ViewModel (MVVM pattern.) The links are: SearchDialog <--> DataNavigator <--> MyView <--> MyViewModel The dependency property in Search...

List of controls to show Html of any complexity in Silverlight3

Requirements to render properly any html ( CSS , tables and etc... ) either from url or string and possibility to intercept click on custom hyperlinks ( looking like usual ones ) and do something else instead of navigation ( navigation silently suppressed , because url may be a fake , but information from "a" tag - id attribute , fake...

Silverlight 3 - FindName returns null

This looks a bug to me.. Using Silverlight 3 and i have a user control defined in XAML and trying to access the object during runtime returns a null. <Grid> <common:CommonGridEditPanel x:Name="scannerParameters" Grid.Row="0" DataContext="{Binding Parameters}"> <common:CommonGridEditPanel.Columns> </Grid> scannerParameter variable...

How to redirect to a different page clicking on an Image in silverlight 3.0?

Hi all, I have a slide show of some images in my silverlight application. When user clicks on any Image I want want to redirect to a different page. How to implement this. Please help. ...

'Element is already the child of another element' error in Silverlight App.xaml

Hi, I keep getting a strange error inside my App.xaml file: Element is already the child of another element. My App.xaml file looks like this: <Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="Celerior.Annapurna.SL.A...

Error when adding code behind for Silverlight resource dictionary: AG_E_PARSER_BAD_TYPE

Hi, It should be possible to add a code behind file for a resource dictionary in Silverlight, but I keep getting the same error, thrown from the InitializeComponent method of my App.xaml constructor: XamlParseException: AG_E_PARSER_BAD_TYPE. The resource dictionary xaml file looks like this: <ResourceDictionary xmlns="http://schem...

Silverlight 3 Combobox Rollover Behaviour

Good Day, I have a combo box on a form and when I rollover the combo box with my mouse, the OnMouseOver event causes a graident view to appear. How would I go about ensuring that it doesn't do that. What I want is for the combo box to remain white. TIA, coson ...

How to debug Silverlight 3 C# Application?

How to debug Silverlight 3 C# Application? Using VS or Blend... or some tool\plugin? ...