Hi,
I would like to have an image to the left of the text in the combo box similar to how I have the button in this image, I am using the combo more like a menu where you can select the 2 items in the list but it does not change what is on the tool bar.
I have tried to do it the same way I implemented the button but no luck.
Any ideas
I would like to have an image to the left of the text in the combo box similar to how I have the button in this image, I am using the combo more like a menu where you can select the 2 items in the list but it does not change what is on the tool bar.
I have tried to do it the same way I implemented the button but no luck.
Any ideas
<
button
id
=
"moveButton"
class
=
"k-button"
><
img
/>Move</
button
>
<
button
id
=
"viewXML"
><
img
/></
button
>
#moveButton img, #viewXML img
{
content
:
""
;
float
:
left
;
width
:
16px
;
height
:
16px
;
margin
:
5px
5px
0
0
;
background-image
:
url
(
'images/SpritesSmall.png'
);
background-position
:
-70px
center
;
}
$(
"#viewXML"
).kendoDropDownList([{ text:
"Option 1"
, value:
"1"
}, { text:
"Option 2"
, value:
"2"
}]);
$(
"#viewXML"
).data(
"kendoDropDownList"
).text(
"View XML"
)