DataFilter as RadRibbonDropDownButton Contet error

7 posts, 1 answers
  1. Daní
    Daní avatar
    303 posts
    Member since:
    Feb 2008

    Posted 29 Jul 2010 Link to this post

    Hi,

    I'd like to place a DataFilter control inside a RadRibbonDropDownButton o RadRibbonSplitButton, but i'm getting an unhandled exception the first time i want to add a filter in the DataFilter control.
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 30 Jul 2010 Link to this post

    Hello Daní,

     Can you post more info about this exception? Stack trace can help us to identify the problem. 

    Kind regards,
    Vlad
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Daní
    Daní avatar
    303 posts
    Member since:
    Feb 2008

    Posted 30 Jul 2010 Link to this post

    Hello Vlad,

    I'm sorry but this exceptions does not halt my visual studio. It's a "javascript" error (code 404) and I cannot debug it. Most times, the applications gets frozen, clock cursor, and it stops responding user actions.

    I'm trying to tell what I'm doing. Of course, appliction has Ribbon Bar. This RibbonBar, at this moment, has only one Tab. In this tab I have several RibbonGroups. In one of this RibbonGroups I have a RibbonDropDownButton with a RadDataFilter as Content. This DataFilter has no source set, I'm providing it with a ItemProperties collection. When running the application, firs time I click on the DropDownButton the popup opens and appears the RadDataFilter, if I click on the DataFilter's "plus" button the dropdown inmediately closes, the second time I clck on the dropdownbutton it appears the problem, applications gets frozen (it seems is trying ti open the DropDown popup) and waiting cursors appears. Sometimes I get the javascript error I commented before.

    Hope this helps, if any new, I will post it here.
  5. Daní
    Daní avatar
    303 posts
    Member since:
    Feb 2008

    Posted 03 Aug 2010 Link to this post

    any word on this issue?
  6. Answer
    Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 04 Aug 2010 Link to this post

    Hi Daní,

    To avoid closing of the DropDown you need to set KeepOpen property to True for the RadRibbonSplitButton. About javascript error and frozen application problems you have described we tried to reproduce them but everything works fine on our end. I am attaching a sample project for reference. Please, feel free to modify it if we have missed something or your scenario is different.

    Sincerely yours,
    Yordanka
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Daní
    Daní avatar
    303 posts
    Member since:
    Feb 2008

    Posted 04 Aug 2010 Link to this post

    Thanks Yordanka, it was really useful. I've replicated your code, really not different than mine, but now it works... I don't know what was doing wrong, but clearly I was doing something wrong.

    A little question about an strange issue on the DataFilter. I cannot Bind the ItemsProperties property in xaml file, I can bind it by code.
  8. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 04 Aug 2010 Link to this post

    Hi Daní,

    We have not implemented this yet. You can vote for this feature at the following link:

    Issue ID 2809 - Declarative definition of item properties.

    I hope this helps.

    Greetings,
    Ross
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
DevCraft banner