Skip to main content

Microsoft Silverlight

Advanced Forum Search Results

  • Re: Re: Re: TabControl Style Exception: Invalid attribute value....

     I'm also having the same issue, as far as I can tell it seems to be a bug in VS2008 with Silverlight.  It looks like the preview breaks if you have a style in app.xaml that has a TargetType of a control that lives in a different namespace to the default one.  Is there a fix or a work around for this as it's seriously ...
  • Re: Binding with Listboxes

    Yes, that is exactly right, and your solution would make sense, however I'm  not entirely sure how I would do what you suggest, bearing in mind the classes I am using are generated by the LinqToSQL dataclasses.  Here is the XAML and codebehind from my edit control;  <UserControl x:Class="ListboxTest.ProdEdit" ...
  • Re: Binding with Listboxes

    Thanks for your reply, it would actually be the ProductCategoryID property of the SelectedItem that I would need to bind to the ProductCategoryID property of the UserControl's datacontext.
  • Binding with Listboxes

    Hi,  I'm having some problems databinding with a listbox and as it's such a basic thing I know there's something silly I'm missing, but for the life of me I can't think what.  I have two tables, Products & Product Categories.  The Product table contains a ProductCategoryID field that corresponds to a value ...
Microsoft Communities