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

"Contains" filter breaks with Custom Skin

5 Answers 116 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
The Wire
Top achievements
Rank 1
The Wire asked on 07 May 2010, 11:12 PM
I have a RadComboBox in a GridTemplateColumn.  When I set the custom skin, the "Contains" filter no longer works.  I will start typing and the dropdownlist doesn't start filtering.  If I hit backspace in the text, then it filters.  If I remove my custom skin and use the default embedded skin, then the filtering works as I type.

My combobox is:
<rad:RadComboBox ID="ddlItems" runat="server" Width="250" Filter="Contains" EmptyMessage="Choose an item:" 
   DataSourceID="dsItems" DataTextField="Item" DataValueField="Id" Skin="Custom" EnableEmbeddedSkins="false" AllowCustomText="true">  
</rad:RadComboBox> 

I copied the ComboBox.Office2007.css stylesheet, renamed it ComboBox.Custom.css, added a link reference to my page and then the only thing I modified was
.RadComboBox_Custom td.rcbInputCellLeft { background-position: 0 200; }  
.RadComboBox_Custom td.rcbArrowCellLeft { background-position: 0 200; }  
.RadComboBox_Custom td.rcbArrowCellRight { background-position: 0 200; } 
just to bump the images off so the ComboBox has the appearance of a label when it's not being used.  Every other style I left the same.

Any idea why the Contains filter isn't working anymore?

5 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 12 May 2010, 05:07 PM
Hello The Wire,

Can you reproduce this with a RadComboBox outside of the Grid?

Regards,
Simon
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
The Wire
Top achievements
Rank 1
answered on 12 May 2010, 05:43 PM
Yes, same behavior outside of the grid.  The data source is a SqlDataSource.
0
Simon
Telerik team
answered on 13 May 2010, 03:12 PM
Hi The Wire,

I was unable to reproduce this issue with a simple RadComboBox. Can you please see the attached page and let me know if I am missing something? 

Greetings,
Simon
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
The Wire
Top achievements
Rank 1
answered on 13 May 2010, 04:03 PM
Simon-

A Couple things different that I see:
1.  I made my 3 css customizations in the custom css file, not inside a style block on my aspx page.
2.  I also have a RadScriptManager and RadAjaxManager and RadAjaxLoadingPanel.
3.  I'm within the context of a SharePoint custom application page so my aspx page is using a masterpage and all my controls are in a ContentPlaceHolder

I've attached screenshots of what I have.

Thanks for your help!
0
Simon
Telerik team
answered on 19 May 2010, 12:32 PM
Hi The Wire,

The presence of a RadScriptManager, RadAjaxManager or a RadAjaxLoadingPanel should not affect the filtering functionality as it operates solely on the client when text is being typed in the input. Additionally the location of the RadComboBox in the page control hierarchy as well as the place where the styles are defined should not matter if they load properly.

I will need to investigate this issue closely before being able to suggest you a resolution. Can you please provide me with a live URL which exhibits the issue or open a support ticket and send us a page with a single RCB (outside of a RadGrid) and the custom styles?

Best wishes,
Simon
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
ComboBox
Asked by
The Wire
Top achievements
Rank 1
Answers by
Simon
Telerik team
The Wire
Top achievements
Rank 1
Share this question
or