Search code examples
asp.net-mvcrazorteleriktelerik-gridtelerik-mvc

Using Telerik MVC extensions, Grid control, why vertical and/or horizontal scroll is not appearing when resizing a window?


Hy,

In my app I use Telerik extensions for MVC Grid control:

Telerik Grid

Does anyone have any idea why when I resize the window (in any browser) the vertical or horizontal scroll is not appearing?

I am setting the width and height of the grid to 100%.

 @(Html.Telerik().Grid<MyViewModel>()
      .Name("MyGrid")
      .HtmlAttributes(new { style = "display:table; width:100%; height: 100%;" })
...)

I've tried even putting the grid into a div with width and height 100%... still no scroll when I resize the window.

Thanks in advance,

Jeff.


Solution

  • I fond the solution. Somehow the style of the page had 'overflow:hidden'; after setting to 'auto', all the scrolls are there.