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

Remove the line

1 Answer 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kjell
Top achievements
Rank 1
Iron
Iron
Kjell asked on 04 Jan 2014, 03:04 PM
How to remove this (dump.png) line/separator

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 06 Jan 2014, 05:14 AM
Hi Kjell,

I was not able to replicate the issue, here is a sample code, please try and see if the issue exists.

ASPX:
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="true" OnNeedDataSource="RadGrid1_NeedDataSource" AllowPaging="true" PageSize="5">
</telerik:RadGrid>

C#:
protected void RadGrid1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
{
    dynamic data = new[] {
        new { ID = 1, Name ="Name1", Stock=20,IsSysAdmin = true},
        new { ID = 2, Name = "Name2",Stock=30,IsSysAdmin = false},
        new { ID = 3, Name = "Name3", Stock=20,IsSysAdmin = true},
        new { ID = 4, Name = "Name4", Stock=50,IsSysAdmin = true},
        new { ID = 5, Name = "Name5", Stock=60,IsSysAdmin = false},
        new { ID = 6, Name = "Name6", Stock=70,IsSysAdmin = true},
        new { ID = 7, Name = "Name7", Stock=80,IsSysAdmin = false},
        new { ID = 8, Name = "Name8", Stock=90,IsSysAdmin = false},
        new { ID = 9, Name = "Name9", Stock=22,IsSysAdmin = true},
        new { ID = 10, Name = "Name10", Stock=20,IsSysAdmin = false}
    };
    RadGrid1.DataSource = data;
}

Thanks,
Princy
Tags
Grid
Asked by
Kjell
Top achievements
Rank 1
Iron
Iron
Answers by
Princy
Top achievements
Rank 2
Share this question
or