This is a migrated thread and some comments may be shown as answers.

DataFilter as RadRibbonDropDownButton Contet error

6 Answers 55 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Daní
Top achievements
Rank 1
Daní asked on 29 Jul 2010, 04:22 PM
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.

6 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 30 Jul 2010, 06:42 AM
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
0
Daní
Top achievements
Rank 1
answered on 30 Jul 2010, 10:15 AM
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.
0
Daní
Top achievements
Rank 1
answered on 03 Aug 2010, 03:24 PM
any word on this issue?
0
Accepted
Yordanka
Telerik team
answered on 04 Aug 2010, 09:19 AM
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
0
Daní
Top achievements
Rank 1
answered on 04 Aug 2010, 01:05 PM
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.
0
Rossen Hristov
Telerik team
answered on 04 Aug 2010, 01:10 PM
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
Tags
DataFilter
Asked by
Daní
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Daní
Top achievements
Rank 1
Yordanka
Telerik team
Rossen Hristov
Telerik team
Share this question
or