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

Radgrid select column

1 Answer 231 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Geoff Ballard
Top achievements
Rank 1
Geoff Ballard asked on 13 Oct 2010, 04:17 PM
Hi,

I'm adding some columns to a grid dynamically and have a select column but it's rendering incorrectly.  See attached png for the problem, but essentially the select hyperlink is appearing inside the first column.

the markup is:

<telerik:RadGrid ID="RadGrid_FileView" runat="server" Height="318px" AllowSorting="true"
    AllowPaging="false" AllowFilteringByColumn="false" AutoGenerateColumns="false"
    OnItemCommand="RadGrid_FileView_ItemCommand" ShowStatusBar="true">
    <MasterTableView AutoGenerateColumns="false" DataKeyNames="FileSharepointID">
        <Columns>
            <telerik:GridButtonColumn HeaderText="" Text="Select" CommandName="Select" />
            <telerik:GridBoundColumn HeaderText="File" UniqueName="Filename" DataField="Filename" />
        </Columns>
    </MasterTableView>
    <ClientSettings>
        <Selecting AllowRowSelect="true" />
    </ClientSettings>
</telerik:RadGrid>

1 Answer, 1 is accepted

Sort by
0
Geoff Ballard
Top achievements
Rank 1
answered on 13 Oct 2010, 04:31 PM
Sorry, I just saw the problem.  I missed a line of code that was calling clear on the columns.
Tags
Grid
Asked by
Geoff Ballard
Top achievements
Rank 1
Answers by
Geoff Ballard
Top achievements
Rank 1
Share this question
or