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

Stylesheet for RadGrid

2 Answers 37 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kelmen
Top achievements
Rank 1
Kelmen asked on 12 Nov 2014, 07:13 AM
I worked out a RadGrid, but the rendered layout are not in a table format, it's a list of div in a single line/row

What is needed to make it form in table format?

I tried include RadSkinManager, no difference.

I'm assuming it should be as simple as including this
<LINK rel=stylesheet type=text/css href="/??.css">

but I can't see documentation or sample of this

2 Answers, 1 is accepted

Sort by
0
Kelmen
Top achievements
Rank 1
answered on 12 Nov 2014, 07:27 AM
below is my RadGrid.
if I hide/remove the Columns, and set AutoGenerateColumns=true, the layout looks fine

what am I missing in customizing the columns?

<telerik:RadGrid runat="server" AutoGenerateColumns="true" AllowPaging="false" AllowSorting="false" >
<MasterTableView>
    <Columns>
        <telerik:GridTemplateColumn>
            <ItemTemplate>
                <telerik:RadComboBox />
            </ItemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridNumericColumn />
    </Columns>
</MasterTableView>
</telerik:RadGrid>
0
Kelmen
Top achievements
Rank 1
answered on 12 Nov 2014, 07:47 AM
I stumbled a post from Google
http://stackoverflow.com/questions/24848546/telerik-adding-gridtemplatecolumn-breaks-the-grid

need to add this in web.config:
<appSettings>
   <add key="vs:EnableBrowserLink" value="false"/>
</appSettings>

problem gone
Tags
Grid
Asked by
Kelmen
Top achievements
Rank 1
Answers by
Kelmen
Top achievements
Rank 1
Share this question
or