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

Strange default behaviour using customized styles

3 Answers 54 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Warnestam
Top achievements
Rank 1
Warnestam asked on 06 Oct 2015, 01:45 PM

Hello,

 I just updated from Q2 2014 to Q3 2015 and run into a strange artifact.

 I've styled the RadComboBox using a custom ​style sheet(RadComboBox_​CUSTOM) and a custom image (rcbSprite). In the new version of Telerik all RadComboBox items now looked as they where focused by default - but not according to my CSS file, instead it seems to be a defallt background positioning).

I have tried to look what has beaked since last version we had, but cannot find anything. I've created a small test project for this issue.

 

Kind regards

 

Robert

 

3 Answers, 1 is accepted

Sort by
0
Warnestam
Top achievements
Rank 1
answered on 07 Oct 2015, 07:05 AM

Update:

There is a new default behaviour in the new version of RadComboBox that makes all by css statements obsolete:

.RadComboBox_Codab td.rcbInputCellLeft { background-position: 0 -220px; }
.RadComboBox_Codab td.rcbInputCellRight { background-position: 100% -220px; }

 @Telerik: Is there a new way to customize the component?

 

0
Warnestam
Top achievements
Rank 1
answered on 07 Oct 2015, 07:34 AM

Here is a solution, but I'm not sure I like it...

.RadComboBox_Codab td.rcbInputCellLeft { background-position: 0 -220px!important; }
.RadComboBox_Codab td.rcbInputCellRight { background-position: 100% -220px!important; } 

 

0
Ivan Danchev
Telerik team
answered on 09 Oct 2015, 07:49 AM
Hello Robert,

While changes to the styles of the controls are introduced with subsequent versions the goal is to improve them and we are doing our best to avoid breaking changes. However, we cannot predict all the possible custom CSS styles applied to a particular control and differences in the control's appearance when such styles are applied on different control versions are possible.

I would suggest opening a support ticket, in which you would be able to attach a sample project with the isolated ComboBox demonstrating the issue, because the forum does not allow attachments. This way we would be able to compare the behavior of the control using vQ2 2014 and vQ3 2015 and suggest a possible solution.

Regards,
Ivan Danchev
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
ComboBox
Asked by
Warnestam
Top achievements
Rank 1
Answers by
Warnestam
Top achievements
Rank 1
Ivan Danchev
Telerik team
Share this question
or