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

how to change tabstrip item font-family in client side javascript

1 Answer 47 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Elias Sarband
Top achievements
Rank 1
Elias Sarband asked on 06 Apr 2013, 04:32 PM
I want change Font-Family of tabstript item in javascript (clinet side) in asp.net ajax rad controls.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 08 Apr 2013, 12:30 PM
Hi,

Please try the following JavaScript.

JavaScript:
<script type="text/javascript">
    function pageLoad() {
        var tab = $find('<%=RadTabStrip.ClientID %>');
        tab._findItemByText("ASP")._textElement.style.fontFamily = "Arial Black"
    }
</script>

Thanks,
Princy.
Tags
TabStrip
Asked by
Elias Sarband
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or