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

Grid Expanding Beyond ContentPlaceHolder Div

2 Answers 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 25 May 2011, 09:42 PM
OK here is the scenario. I have a website with a master page set up, and within one of the pages I am usin the grid control, which is set up to run off from partial postbacks. Everything works fine other then the control breaks out of the div that is set up to be a wrapper for the contentplaceholder, that is filled by the page with the grid. So to give you an idea here is a general idea of what i have below:

CSS:
#mainContentWrapper
{
     width:100%; 
    //No height is set intentionally to allow for dynamic div growth
}

Master Page:

<div id="mainContentWrapper">
    <contentplaceholder></contentplaceholder1>
</div>

Data Page:
<contentplaceholder>
    <telerik:radgrid></telerik:ragrid>
</contentplaceholder>

The problem is as soon as you do anything like change record display size from the client, it breaks out of the mainContentWrapper div instead of the forcing the div to expand like it should. This would work with any other functionality that isnt using the telerik controls so my assumption is that are some point in rendering the grid control is changed to be absolute and thus is placed above the div and will not adjust its size?

2 Answers, 1 is accepted

Sort by
0
Adam
Top achievements
Rank 1
answered on 26 May 2011, 02:56 PM
Anything?
0
Radoslav
Telerik team
answered on 30 May 2011, 11:04 AM
Hello Adam,

I tried to reproduce the described issue but to no avail. I am sending you a simple example, please check it out and let me know what differs in your case.

Looking forward for your reply.

All the best,
Radoslav
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
Adam
Top achievements
Rank 1
Answers by
Adam
Top achievements
Rank 1
Radoslav
Telerik team
Share this question
or