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

Radgrid height on high Resolution- Challenge for all

6 Answers 130 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dheeraj
Top achievements
Rank 1
Dheeraj asked on 21 Apr 2011, 10:10 AM
Hi All,

First of all thanks to telerik team for their awesome controls.

After searching a lot on Telerik website I am writing my problem here, though there is some suggestion in some threads of the forum but truly speaking none of the solution is satisfying my requirement.

Here is what I want to achieve ->  My project is displaying RadGrid height correctly and it is filling the page correctly on a screen resolution of (1024 X 768), but problem arise when screen resolution change to some higher value (e.g. 1440 X 900). On high resolution grid looks like hanging in the middle of the browser. Please note that RadGrid scroll height is hard coded in each .aspx page depending on the space available for Radgrid( Means there are also some controls above the Grid like Menu's, tabs, export to excel button etc, which are screen specific,though Menu's are contained in Master page)

Radgrid is using Virtual scrolling, Filtering, static headers, RadToolbar etc.

To make my point clear I made a sample project which demonstrate my page and project structure and here is the link to sample project -

http://www.woofiles.com/dl-242315-4N3ibXA3-GridHeightDemo.zip

I also attached the screen shot of screen on resolution (1024 X 768)  which is working fine and on resolution (1440 X 900) in which grid is hanging out in the middle of browser.

It would be nice if anyone can modify the attached sample project so that it will display consistent on all resolution. I beleive if we can solve this issue it will benefit many others guys also.

Here is detail of environment I am using -

RadControls Version - RadControls for ASP.NET AJAX Q1 2010 ( File Version and product Version - 2010.1.309.20)
ASP.NET version - (ASP.Net 3.5)
Browser - Internet explorer 8 (Version - 8.0.6001.18904)
programming language - C#

Thanks,
Dheeraj

6 Answers, 1 is accepted

Sort by
0
Galin
Telerik team
answered on 27 Apr 2011, 08:28 AM
Hi Dheeraj,

Unfortunately  there is an error with the download links. However take a look at this help topic, there is explained how to set RadGrid to 100% height of its container:
http://www.telerik.com/community/code-library/aspnet-ajax/grid/setting-100-height-and-resize-on-container-resize-for-grid-with-scrolling-and-static-headers.aspx
Take a look at the grid_100_width_height.zip file.

All the best,
Galin
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
Dheeraj
Top achievements
Rank 1
answered on 27 Apr 2011, 08:34 AM
Hi Galin,

Thank you for the kind reply. The link you provided I had already seen and it does not solve my problem.

May I know what error you get ? Attached project don't have any telerik dll , please drag drop the dll and try to run it.

Thanks,
Dheeraj
0
Galin
Telerik team
answered on 27 Apr 2011, 01:40 PM
Hello Dheeraj,

I am not sure if I properly understand what is the issue you are facing. In the provided article it is shown how the container and the RadGrid can fulfil all the page. Is this what you want?

Additionally, it seems there is a problem with site woofiles.com, but you can try attaching the files here, in the forum or open a formal support ticket to send them.


Regards,
Galin
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
Dheeraj
Top achievements
Rank 1
answered on 27 Apr 2011, 02:05 PM
Hi Galin,

Thanks again for your kind reply.

I am sorry for the inconvenince you are facing in downloading and running the example I provied earlier at "woofiles.com".

I am not seeing any option to attach code here thats why I uploaded it to free hosting site. I am uploading it to another free hosting site and here is the link to download sample project.

http://www.4shared.com/file/k-_hsohC/GridHeightDemo.html?

Regarding my question , let me tell you that once you have the sample project runnable you will definately see the problem I am facing.

Please feel free to ask any other quetions , I will be feel more than happy to provide additional information.

Regards,
Dheeraj
0
Galin
Telerik team
answered on 03 May 2011, 11:32 AM
Hi Dheeraj,

I made a solution based on your project, you can find it in the attached file.
Additionally, please take a look at the help topic that I have mentioned in my previous post.

Regards,
Galin
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
Dheeraj
Top achievements
Rank 1
answered on 03 May 2011, 11:40 AM
Hi Galin,

Thanks again for your kind reply.
I will test sample project provided by you and will let you know my result.

Thanks again,
Dheeraj
Tags
Grid
Asked by
Dheeraj
Top achievements
Rank 1
Answers by
Galin
Telerik team
Dheeraj
Top achievements
Rank 1
Share this question
or