Hi there,
I have creates a combobox - Text with icons (http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/textwithicons/defaultvb.aspx?#qsf-demo-source)
I use the following code:
The images are displayed with different height and width according to their definition.
Is their a way to set the width and height of the images automatically to 16 x 16?
Thanx!
Marcel
I have creates a combobox - Text with icons (http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/textwithicons/defaultvb.aspx?#qsf-demo-source)
I use the following code:
//fill radcombobox
foreach (DataRow BrandRow in Brand.BrandTable.Rows)
{
RadComboBoxItem Item = new RadComboBoxItem();
Item.Value = (string)BrandRow["Brand"];
Item.Text = (string)BrandRow["Description"];
Item.ImageUrl = "~/Images/Brands/" + (string)BrandRow["Brand"] + ".jpg";
cbBrand.Items.Add(Item);
}
The images are displayed with different height and width according to their definition.
Is their a way to set the width and height of the images automatically to 16 x 16?
Thanx!
Marcel