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

Is the widget suppose to copy the input style?

2 Answers 61 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 26 Apr 2013, 06:53 PM
Is the dropdownlist widget suppose to copy the style from the input element?

<input class="#MyDDL" style="width:930px;">
$('#MyDDL').kendoDropDownList({
            index: 0,
            dataTextField: 'FirstName',
            dataValueField: 'ID',
            dataSource: myDataSource
});
I thought 930px would be copied from the input style but I was wrong.  The width is provided by the kendo.common.min.css

Is this the expected behavior?

Best regards,

Simon

EDIT
OK, I just realized the problem occurs in Chrome only... Firefox and IE are working as expected.


2 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Krustev
Telerik team
answered on 29 Apr 2013, 08:35 AM
Hello Simon,

 
I prepared a simple jsBin demo in my attempt to replicate the issue, but to no avail. Check it and let me know if I am missing something.

Regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Simon
Top achievements
Rank 1
answered on 29 Apr 2013, 11:57 AM
OK

I just find out what was wrong:  NOTHING!

I think some part of the page / script was getting cached by chrome.

CTRL + F5 and CTRL + SHIFT + R fixed my issue

Sorry about that.

Simon
Tags
DropDownList
Asked by
Simon
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Simon
Top achievements
Rank 1
Share this question
or