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

change the font weight of selected nodes

1 Answer 30 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Alan
Top achievements
Rank 1
Alan asked on 30 May 2012, 05:43 AM
I want to change the font weight of selected nodes of a radcombobox to bold. how can I do that??

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 30 May 2012, 07:13 AM
Hi Alan,

Try the following code snippet to achieve your scenario.

JS:
function OnClientSelectedIndexChanged(sender, args)
    {
        args._item.set_cssClass("bold");
    }
</script>

CSS:
<style type="text/css" >
        .bold
        {
            font-weight:bold!important;
        }
</style>

Hope this helps.

Thanks,
Shinu.
Tags
ComboBox
Asked by
Alan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or