Hi.
I have a RadGrid with AutoGenerateColumns="True", when there are several columns, the info and the Header titles overlap.
<telerik:RadGrid ID="grdReport" runat="server" AllowPaging="true" AutoGenerateColumns="True"
BorderWidth="1px" GridLines="None" OnPageIndexChanged="grdReport_PageIndexChanged" PageSize="10"
onitemdatabound="grdReport_ItemDataBound" >
<PagerStyle AlwaysVisible="true"
FirstPageToolTip="<%$ Resources:WebDexon, FirstPage %>"
LastPageToolTip="<%$ Resources:WebDexon, LastPage %>" Mode="NextPrevAndNumeric"
NextPagesToolTip="<%$ Resources:WebDexon, NextPages %>"
NextPageToolTip="<%$ Resources:WebDexon, NextPage %>"
PagerTextFormat="<%$ Resources:WebDexon, PagerTextFormat %>" Position="Bottom"
PrevPagesToolTip="<%$ Resources:WebDexon, PrevPages %>"
PrevPageToolTip="<%$ Resources:WebDexon, PrevPage %>" Visible="true" />
<clientsettings scrolling-allowscroll="true"
scrolling-usestaticheaders="true" Resizing-AllowColumnResize="true" Resizing-ClipCellContentOnResize="false">
<Scrolling AllowScroll="True" UseStaticHeaders="True"></Scrolling>
</clientsettings>
<statusbarsettings loadingtext="<%$ Resources:WebDexon, Loading %>"
readytext="<%$ Resources:WebDexon, Ready %>" />
<ItemStyle Height="100%" />
<mastertableview nodetailrecordstext="" nomasterrecordstext="" tablelayout="Fixed" Height="90%">
</mastertableview>
</telerik:RadGrid>
protected void grdReport_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridPagerItem)
{
GridPagerItem pager = (GridPagerItem)e.Item;
RadComboBox pageSizeComboBox = (RadComboBox)pager.FindControl("PageSizeComboBox");
pageSizeComboBox.Visible = false;
Label changePageSizelbl = (Label)pager.FindControl("ChangePageSizeLabel");
changePageSizelbl.Visible = false;
}
}
I've added a printscreen.
Is there any way to fix this?
I appreciate your response as soon as possible
I have a RadGrid with AutoGenerateColumns="True", when there are several columns, the info and the Header titles overlap.
<telerik:RadGrid ID="grdReport" runat="server" AllowPaging="true" AutoGenerateColumns="True"
BorderWidth="1px" GridLines="None" OnPageIndexChanged="grdReport_PageIndexChanged" PageSize="10"
onitemdatabound="grdReport_ItemDataBound" >
<PagerStyle AlwaysVisible="true"
FirstPageToolTip="<%$ Resources:WebDexon, FirstPage %>"
LastPageToolTip="<%$ Resources:WebDexon, LastPage %>" Mode="NextPrevAndNumeric"
NextPagesToolTip="<%$ Resources:WebDexon, NextPages %>"
NextPageToolTip="<%$ Resources:WebDexon, NextPage %>"
PagerTextFormat="<%$ Resources:WebDexon, PagerTextFormat %>" Position="Bottom"
PrevPagesToolTip="<%$ Resources:WebDexon, PrevPages %>"
PrevPageToolTip="<%$ Resources:WebDexon, PrevPage %>" Visible="true" />
<clientsettings scrolling-allowscroll="true"
scrolling-usestaticheaders="true" Resizing-AllowColumnResize="true" Resizing-ClipCellContentOnResize="false">
<Scrolling AllowScroll="True" UseStaticHeaders="True"></Scrolling>
</clientsettings>
<statusbarsettings loadingtext="<%$ Resources:WebDexon, Loading %>"
readytext="<%$ Resources:WebDexon, Ready %>" />
<ItemStyle Height="100%" />
<mastertableview nodetailrecordstext="" nomasterrecordstext="" tablelayout="Fixed" Height="90%">
</mastertableview>
</telerik:RadGrid>
protected void grdReport_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridPagerItem)
{
GridPagerItem pager = (GridPagerItem)e.Item;
RadComboBox pageSizeComboBox = (RadComboBox)pager.FindControl("PageSizeComboBox");
pageSizeComboBox.Visible = false;
Label changePageSizelbl = (Label)pager.FindControl("ChangePageSizeLabel");
changePageSizelbl.Visible = false;
}
}
I've added a printscreen.
Is there any way to fix this?
I appreciate your response as soon as possible