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

Scrolling and Compatibility Mode in vs. 2012.1.215.40

3 Answers 98 Views
Grid
This is a migrated thread and some comments may be shown as answers.
James Daresta
Top achievements
Rank 1
James Daresta asked on 06 Mar 2012, 08:06 PM
I am experiencing an issue with the RadGrid in compatibility mode set to IE 7 withing IE 9 after upgrading my project to version 2012.1.215.40. In a grid with NumericTextBoxes the textboxes seem to float outside the grid. In non-compatibility mode this does not occur. Taking one of the online demos I am able to reproduce when I set the client AllowScroll to true in the grid.

<ClientSettings Resizing-AllowColumnResize="false" EnableRowHoverStyle="false">
    <Scrolling AllowScroll="True" ScrollHeight="200px"
    UseStaticHeaders="True" />
</ClientSettings>

Again it happens in compatibility mode. I would move away from compatibility, but I have users that still have not upgraded yet. The demo code I used can be found at http://www.telerik.com/community/code-library/aspnet-ajax/general/refresh-footer-values-in-radgrid-client-side-using-radnumerictextbox.aspx. I had to upgrade it to the newest version. Thanks.

3 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 09 Mar 2012, 04:04 PM
Hi,

You could try to use this CSS class:

.rgDataDiv
{
  position: relative;
}

and check whether the issue is resolved.

Greetings,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
James Daresta
Top achievements
Rank 1
answered on 14 Mar 2012, 07:04 PM
Where should I put this in relation to my page? My own css file? Master Page? etc?
0
Shinu
Top achievements
Rank 2
answered on 15 Mar 2012, 06:29 AM
Hello James,

If you are using an external CSS, you can refer the style sheet in the content page as shown below.
aspx:
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
 <link href="Styles/RadGridStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
Another approach is you can directly mention the CSS in the style tag.
CSS:
<style type="text/css">
  .rgDataDiv
  {
    position: relative;
  }
</style>

Thanks,
Shinu.
Tags
Grid
Asked by
James Daresta
Top achievements
Rank 1
Answers by
Andrey
Telerik team
James Daresta
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or