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

Radgrid Paging getting distorted

3 Answers 125 Views
Grid
This is a migrated thread and some comments may be shown as answers.
unnati
Top achievements
Rank 1
unnati asked on 27 May 2011, 09:20 AM
Hi

I am using a RadGrid in my aspx page. The Radgrid is generating columns dynamically at run time.
When there are around 3 or 4 columns generated, the paging UI looks fine.
But when multiple columns are generated, say around 1000, the paging UI gets distorted completely.
Please provide any resolution or solution to this asap.

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 27 May 2011, 10:05 AM
Hi Unnati,

Try increasing the Width of the Grid and set Wrap property to false to see whether the Pager is getting displayed correctly:
<MasterTableView   Width="900px" >  
 <PagerStyle  Wrap="false" />


Kind regards,
Pavlina
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
unnati
Top achievements
Rank 1
answered on 27 May 2011, 11:09 AM
Hi Telerik team,

I added the 'Width' attribute and 'Wrap' attribute as mentioned.
But after doing that, the Radgrid stopped showing data completely on page.
This is how my code looks now

 <MasterTableView CommandItemDisplay="Top" Width="960px">
                             <PagerStyle Wrap="false" Position="Top"></PagerStyle>
                           
                        </MasterTableView>

The screenshot shows how the page looks now
0
Pavlina
Telerik team
answered on 27 May 2011, 12:09 PM
Hello Unnati,

Could you post your aspx, ascx and code-behind. It is important to know how exactly the grid is being data-bound. Please, use the Code Formatter tool of the html editor.

Thanks.

Greetings,
Pavlina
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
unnati
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
unnati
Top achievements
Rank 1
Share this question
or