2 posts, 0 answers
  1. Kjell
    Kjell avatar
    212 posts
    Member since:
    May 2011

    Posted 05 Jun 2015 Link to this post

    How set the first item in my RadComboBox font.bold = true when i call "RadComboBox1_SelectedIndexChanged"?

    I dont now what the RadComboBoxItem have text or value. Load dynamic....

    Only that i want server side set the first item font bold to true, but first when i call SelectedIndexChanged


  2. Aneliya Petkova
    Aneliya Petkova avatar
    207 posts

    Posted 08 Jun 2015 Link to this post

    Hi Kjell,

    Please try the following code:

    <telerik:RadComboBox ID="RadComboBox1" runat="server" EmptyMessage="Select Office Versions"
        DropDownAutoWidth="Enabled" AutoPostBack="true"

    OnSelectedIndexChanged handler:
    protected void RadComboBox1_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
        RadComboBox1.Items[0].Font.Bold = true;

    Here you may find a video showing how this example works at my side.

    Hope this will be helpful.

    Aneliya Petkova
    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
Back to Top