This is a migrated thread and some comments may be shown as answers.
error: The specified value cannot be set on CurrentPageIndex
1 Answer 19 Views
This is a migrated thread and some comments may be shown as answers.
Vaibhav
Top achievements
Rank 1
Vaibhav asked on 31 Oct 2008, 08:26 AM
Hi,

I am doing live grid update. It works fine if there is only one page.
But if I am on page 2 and webservice is called then e.NewPageIndex gets -1, and that throws error.

If I try to use viewstate to reset CurrentPageIndex value then I get error "The specified value cannot be set on CurrentPageIndex" in "RaisePostBackEvent"
on below statement
MyBase.RaisePostBackEvent(source, eventArgument)

Any input please.

Thanks & Regards,
Vaibhav

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 03 Nov 2008, 11:38 AM
Hello Vaibhav,

Based on the supplied information, it is hard to determine what is causing the issue at hand. To further investigate the problem, it will be best if you open a formal support ticket, and send us a small working sample, demonstrating the setup, as well as the unwanted behavior. We will review it locally, and advise you further.

Kind regards,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Vaibhav
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or