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

Opera leaves vertical gap

6 Answers 43 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Elliott
Top achievements
Rank 2
Elliott asked on 11 Jan 2012, 07:33 PM
I have a very wide grid, which in Opera needs to have scrolling enabled

// Opera lops off Items grid
HttpBrowserCapabilities Lugs = Request.Browser;
if (Lugs.Type.StartsWith("Opera"))
{
    rgItems.ClientSettings.Scrolling.AllowScroll = true;
}

(all the other browsers are fine IE, Firefox, Chrome, Safari)
there is this huge whitespace in Opera which isn't in any of the other browsers above

6 Answers, 1 is accepted

Sort by
0
Accepted
Iana Tsolova
Telerik team
answered on 13 Jan 2012, 06:06 AM
Hi Marianne,

Do you mean the gap between the grid item and the horizontal scrollbar of the grid?

All the best,
Iana Tsolova
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
Elliott
Top achievements
Rank 2
answered on 13 Jan 2012, 02:48 PM
yes, the white space below the grid on top and the rest of the controls
none of the other browsers look like that - but the scrolling commands only are necessary for Opera
0
Iana Tsolova
Telerik team
answered on 13 Jan 2012, 05:13 PM
Hi Marianne,

This is because the default ScrollHeight for RadGrid is 300px and when you have static headers the scroll area has static height. Though the same behavior should be observed in all browsers.

Do you have Height for set for the grid, or some javascript for changing the grid scroll area height on demand as in this article for instance?

Greetings,
Iana Tsolova
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
Elliott
Top achievements
Rank 2
answered on 13 Jan 2012, 09:14 PM
I am not touching the Scroll Height
Opera cut off about half of the grid unless I enabled scrolling
the other browsers expanded the entire window to fit the very wide grid
if I really wanted to I could calculate the approximate height based on items and in the databinding set a height
0
Accepted
Iana Tsolova
Telerik team
answered on 16 Jan 2012, 10:52 AM
Hello Marianne,

That is really strange. I cannot find a suitable reason for this behavior though it deserves further investigation.
Can you open a formal support ticket and send us there a live Url, or a sample project, or the problematic page with any external resources it uses where we can observe the issue and try finding what is going on?

Greetings,
Iana Tsolova
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
Elliott
Top achievements
Rank 2
answered on 18 Jan 2012, 05:24 PM
Iana
I upgraded to the latest version - and the problem is now fixed
Opera handles very wide grids the same as any other browser - so the code that set a fixed height was removed
so no more Mind the Gap
thanks
Tags
Grid
Asked by
Elliott
Top achievements
Rank 2
Answers by
Iana Tsolova
Telerik team
Elliott
Top achievements
Rank 2
Share this question
or