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
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.
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.