I am using Rad grid control for displaying some data and also using command Iterm display property on rad grid.
There is problem for showing static headers.Multiple headers and Command Items are displaying when i set static headers property true .Hoping a favourable solutions for my problem.
Thanks in advance,
Preethy
12 Answers, 1 is accepted
Can you please examine the attached project and let me know what is the difference in your case.
Best wishes,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
I need to set dynamic height and scrolling for grid.so i use the following code.
int gridItems = myTable.Rows.Count;
if (gridItems > 5)
{
rgList.ClientSettings.Scrolling.AllowScroll = true;
rgList.ClientSettings.Scrolling.UseStaticHeaders = true;
rgList.ClientSettings.Scrolling.ScrollHeight = Unit.Pixel(155);
rgList.Height = Unit.Pixel(155);
}
here 'myTable' is my data table name.This datatable used as datasource of Ragrid.rgList is RadGrid ID.
Thanks,
Preethy Kamath
Try using only RadGrid.ClientSettings.Scrolling.ScrollHeight to set height of the control's scrollable area. Note that Height and ScrollHeight should not be used at the same time. In this case ScrollHeight will be ignored.
http://www.telerik.com/help/aspnet-ajax/height-vs-scrollheight.html
Greetings,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Hello
I have a problem : the rad grid duplicates my header
Do you have a solution?
I am using:
radDocs.ClientSettings.Scrolling.AllowScroll = true;
radDocs.ClientSettings.Scrolling.ScrollHeight = 500;
radDocs.ClientSettings.Scrolling.UseStaticHeaders = true;
radDocs.ClientSettings.Scrolling.SaveScrollPosition = true;
Do you have a live Url which we can use to see the issue with duplicate header? The other way to help you troubleshoot the issue, is to send us a sample showing it in a Support ticket.
Regards,
Pavlina
Telerik
I have tried the code locally, but the problem with duplicate headers does not exist as you can see from the attached page.
Regards,
Pavlina
Telerik
Hi,
i'm facing the same issue duplicated header
Regards,
Yaniv
Hi,
the duplicated headers appearing when exporting to excel
Yaniv
Did you compare your project with the one I have attached in the previous post? What is the difference in your case? In order to help you resolve the problem with duplicated headers we need to replicate it locally, otherwise it would be difficult to assists you further.
Regards,
Pavlina
Telerik by Progress
Was this ever resolved? I have the same issue. I am seeing two headers until after a postback.
I have examined your example project and do not see a difference.
Do you mean that you managed to replicate the problem with duplicate headers in the project I sent? If yes please record a video while testing our project and send it to us, so we can see what are the steps you follow and what we missed. Once we observe the issue locally we will get back to you with a possible solution/fix.
I am looking forward to your reply.
Regards,
Pavlina
Telerik by Progress