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

radgrid problem in IE7 with allowscroll and frozencolumns

4 Answers 94 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Catalin
Top achievements
Rank 1
Catalin asked on 14 Apr 2011, 11:51 AM
this is my grid definition from aspx page; the columns are generated in the code-behind in page_init
<telerik:RadGrid ID="competenceGrid" runat="server" Width="99%">
       <ClientSettings>
               <Scrolling AllowScroll="True" UseStaticHeaders="True" FrozenColumnsCount="4">
               </Scrolling>
               <ClientEvents OnGridCreated="GridCreated" />
       </ClientSettings>
       <MasterTableView TableLayout="Fixed" Width="100%" Height="100%">
           <RowIndicatorColumn>
               <HeaderStyle Width="20px"></HeaderStyle>
           </RowIndicatorColumn>
           <ExpandCollapseColumn>
               <HeaderStyle Width="20px"></HeaderStyle>
           </ExpandCollapseColumn>
       </MasterTableView>
       <HeaderContextMenu EnableImageSprites="True" CssClass="GridContextMenu GridContextMenu_Default">
       </HeaderContextMenu>
       <ItemStyle HorizontalAlign="Center"/>
       <ActiveItemStyle HorizontalAlign="Center" />
       <AlternatingItemStyle HorizontalAlign="Center" />
       <HeaderStyle Width="160px" Height="75px" />
   </telerik:RadGrid>
Everthing work well in IE8-9, Firefox, but not IE7 where when i horizontal scroll to the end of the right side the first 2 columns from the left which are not  frozen and normally should be displayed are in fact overlaped.
I tried with different combination's for the width value (%) for  the mastertableview  and the radgrid and also in conjunction with tablelayout="fixed|auto". Also the container of the grid have a fixed width in pixels.
Please see the picture attached
Any ideea ?

4 Answers, 1 is accepted

Sort by
0
Catalin
Top achievements
Rank 1
answered on 15 Apr 2011, 08:49 AM
I come back with an additional note. only the radbuttons in the column headers are overlapping.
0
Pavlina
Telerik team
answered on 18 Apr 2011, 09:46 AM
Hi Catalin,

I have tried to reproduce the problem you are facing in IE7, but without success. Attached is a small sample that works as expected on my side. Please give it a try and let me know how it goes.

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.

0
Catalin
Top achievements
Rank 1
answered on 18 Apr 2011, 12:54 PM
Hi Pavlina,
Thank you for your answer but doesn't help me in any way!
 I looked in your example page, in code behind, from the attached zip file, and i don't saw any buttons in the header of the of the columns... in order correctly reproduce my problem as i described you need to manually create these columns in code behind as GridTemplateColumns and for the HeaderTemplate property of these columns you need to assign an instance of a  custom class that implements the ITemplate interface.Inside this class please add 2 radbuttons.
Otherwise, i can't figured out how can you reproduce my problem and give me an appropriate answer:
Please check here: http://www.telerik.com/help/aspnet-ajax/grdprogrammaticcreation.html#Dynamically_defining_the_structure_of_a_statically-declared_grid
Best Regards,
Catalin
0
Pavlina
Telerik team
answered on 22 Apr 2011, 09:38 AM
Hello Catalin,

Could you please open a support ticket and send us a sample project where the problem can be reproduced? Once we are able to reproduce the problem on our side we will do our best to provide a solution.

All the best,
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.

Tags
Grid
Asked by
Catalin
Top achievements
Rank 1
Answers by
Catalin
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or