IsDropDownOpen is Invalid XAML

4 posts, 0 answers
  1. Tyree
    Tyree avatar
    105 posts
    Member since:
    Dec 2006

    Posted 24 Aug 2009 Link to this post

    Intellisense says IsDropDownOpen is available, but if I add it I get Invalid XAML error in Blend and parser error when I run the app.

    Whats the property to open the dropdown?
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 25 Aug 2009 Link to this post

    Hello,

    The IsDropDownOpen property is the right way to open RadComboBox. I suspect that the problem is related to a missing reference, most probably the Telerik.Windows.Controls.dll assembly, since Blend does not add automatically all needed references.

    Best wishes,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Tyree
    Tyree avatar
    105 posts
    Member since:
    Dec 2006

    Posted 25 Aug 2009 Link to this post

    The application has all needed references. As I said if I add the property I get Invalid XML in blend and a PARSER error when I run the app. If I remove the property everything works fine.

    This project has Telerik.Windows.Controls, Telerik.Windows.Controls.Input, Telerik.Window.Data.

  4. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 25 Aug 2009 Link to this post

    Hi,

    I apologize for the misunderstanding. I created a simple test application and I was able to reproduce the problem. It is related to the fact that the IsDropDownOpen property changed event handler uses template parts that are not yet initialized if you set the property in XAML. Generally, it was not intended to be set this way, but I assume this behavior as a bug. It will be fixed in the next internal build, this friday.

    Your points have been updated.

    Greetings,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top