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

[Solved] GridView Paging using QueryableCollectionView

1 Answer 208 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
chaitanya vrk
Top achievements
Rank 1
chaitanya vrk asked on 23 Dec 2009, 04:41 AM
Following this documentation http://www.telerik.com/help/silverlight/gridview-paging-using-silverlight-datapager.html step-by-step, I created silverlight project, with a radGridView and DataPager.

But when I run the application nothing happerns, no paging in GridView and not in DataPager.

I'm using Silverlight_2009_2_812 (I guess some Q2 version) version of rad controls. Is this a problem with the version or Am I missing anything?

Here is my code,
List<int> MonitorDataNumbers = new List<int>() { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; 
QueryableCollectionView MonitorData = new QueryableCollectionView(MonitorDataNumbers); 
dataPager.Source = MonitorData; 
radGridView.ItemsSource = MonitorData; 


dataPager.Source = MonitorData;
            radGridView.ItemsSource = MonitorData;
        <telerik:RadGridView Grid.Row="0" x:Name="radGridView"/> 
 
        <data:DataPager Grid.Row="1" x:Name="dataPager" PageSize="3" DisplayMode="FirstLastPreviousNextNumeric"  
                        VerticalAlignment="Center" HorizontalAlignment="Right" NumericButtonCount="0" 
                        Margin="0,0,100,0" IsTotalItemCountFixed="True"/> 

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 23 Dec 2009, 07:10 AM
Hi,

You can check this demo for more info:
http://demos.telerik.com/silverlight/#GridView/Paging

All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
chaitanya vrk
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or