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

rad grid with more link

2 Answers 63 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rama
Top achievements
Rank 1
Rama asked on 13 Jan 2011, 11:25 AM
Hi  

I have 20 columns to display in grid , i want to make a link more so that only 5 columns will be displayed in the grid other 15 columns will be shown as popup when clicked on "more"

Can anyone help pls, its urgent?

Thanks in advance

2 Answers, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 18 Jan 2011, 09:22 AM
Hello Rama,

You need to initially set the RadGrid.PageSize to 5. Also set PagerStyle.Visible to false to hide the pager item. Your more button should simply increase the PageSize to 20 and rebind the grid.

Veli
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
Veli
Telerik team
answered on 18 Jan 2011, 09:24 AM
This is if you need to show all items in the same RadGrid. If you need a popup to show the remaining items, you can use a RadWindow to navigate to another page that has the same RadGrid bound to the rest of the items. Alternatively, you can use RadWindow as a controls container and define the second grid (the one that contains the last 15 items) in the ContentTemplate of the RadWindow on the same page.

Veli
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
Rama
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or