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

rule attribute

1 Answer 20 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bert
Top achievements
Rank 1
Bert asked on 17 Sep 2008, 11:41 AM
Hi,

I want to set the rule attribute and the border attribute of the Table of the grid.
I disabled the skins by setting radgrid.skin = "";
When i  use
radgrid.MasterTableView.Attributes["rule"] = "none"  
radgrid.MasterTableView.Attributes["border"] = "0" 


i get the following in html:
<table cellspacing="0" rules="all" rules="none" border="0" border="1" id="ctl00_Body_MainList_grdvGrid_ctl31_ctl00" style="border-collapse:collapse;table-layout:auto;empty-cells:show;"

So the rule and border attribute is duplicated.

How do i set those properly?

Thx in advance,
Bert

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 17 Sep 2008, 12:04 PM
Hello Bert,

You can use GridLines and BorderWidth instead.

Kind regards,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Bert
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or