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

[Solved] Pagecount after change datasource

3 Answers 126 Views
Grid
This is a migrated thread and some comments may be shown as answers.
vita
Top achievements
Rank 1
vita asked on 17 Apr 2008, 08:05 AM
When I change datasource of RadGrid for ASP.NET AJAX programmatically where numbers of rows are different, the paging works only if number of rows is larger than ever before. So when the datasource has less rows than before the pagecount in paging always show the highest number of datasources before. It works correctly in 2007.3.1425.35, but it doesn't in 2008.1.415.35. Could be problem in the Q1 2008?

Thanks

Vita

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 18 Apr 2008, 11:52 AM
Hello vita,

Indeed there is a problem with such scenario with the current official RadGrid for ASP.NET AJAX and we will release fix for this in the first SP which will come after two or three weeks. In the meantime you can set AllowCustomPaging to true and VirtualItemCount to desired to workaround this issue.

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
vita
Top achievements
Rank 1
answered on 22 Apr 2008, 12:35 PM
Thank you for your answer.

An another question:
When I use custon skin and slider paging mode together, the slider isn't show. What I have to set up for showing the slider? Another modes are normal.

Thanks
Vita
0
Konstantin Petkov
Telerik team
answered on 23 Apr 2008, 08:35 AM
Hello Vita,

Grid's slider is actually RadSlider. Setting custom skin for the Grid attempts to apply the same skin for the slider. You can either create the slider skin with the same name or set it an embedded skin like this:

        protected void Page_Load(object sender, EventArgs e) 
        { 
            RadGrid1.FilterMenu.Skin = "Vista2007"
        } 

Best wishes,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
vita
Top achievements
Rank 1
Answers by
Vlad
Telerik team
vita
Top achievements
Rank 1
Konstantin Petkov
Telerik team
Share this question
or