6 Answers, 1 is accepted
0

Shinu
Top achievements
Rank 2
answered on 15 Apr 2009, 04:30 AM
Hi Bala,
Try setting the Font- name and Font-Size for the Grid as shown below.
ASPX:
Shinu
Try setting the Font- name and Font-Size for the Grid as shown below.
ASPX:
<telerik:RadGrid ID="RadGrid1" Skin="Web20" DataSourceID="SqlDataSource1" runat="server" > |
<MasterTableView Font-Names="Arial" Font-Size="8" > |
Shinu
0

bala
Top achievements
Rank 1
answered on 15 Apr 2009, 02:26 PM
Figured it out already. Yes by setting font and size at mastertableview. Thanks for your reply.
0

Cyrus
Top achievements
Rank 1
answered on 19 Jan 2010, 05:35 PM
Sorry to rant a little, but why then is there a property for fonts at the Grid level if it doesn't do anything? Waste some time on this issue and perplexed about the property being available at the RadGrid level.
0
Hi Cyrus,
In quirks mode browsers do not apply inherited font styles to <table> elements. That's why we set these styles at table level, not RadGrid level.
The RadGrid font properties exist because RadGrid is a web control. They will work in standards mode if you are using a custom skin.
Sincerely yours,
Dimo
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
In quirks mode browsers do not apply inherited font styles to <table> elements. That's why we set these styles at table level, not RadGrid level.
The RadGrid font properties exist because RadGrid is a web control. They will work in standards mode if you are using a custom skin.
Sincerely yours,
Dimo
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0

Paul
Top achievements
Rank 2
answered on 05 Nov 2012, 02:59 PM
This did NOT work for me.
I tried setting the font size at both the RadGrid level and the MasterTableViewLevel.
When I change at the MasterTableViewLevel, the font size changes in Visual Studio design view, but the page still renders in its micro font.
I tried setting the font size at both the RadGrid level and the MasterTableViewLevel.
When I change at the MasterTableViewLevel, the font size changes in Visual Studio design view, but the page still renders in its micro font.
0

Shinu
Top achievements
Rank 2
answered on 06 Nov 2012, 04:35 AM
Hi,
Unfortunately I couldn't replicate the issue. Its working fine at my end. Please the following CSS.
CSS:
Thanks,
Shinu.
Unfortunately I couldn't replicate the issue. Its working fine at my end. Please the following CSS.
CSS:
<style type=
"text/css"
>
.rgMasterTable
{
font-size
:
large
!important
;
font-family
:
Arial
!important
;
}
</style>
Thanks,
Shinu.