Going to the last page for insert.

3 posts, 1 answers
  1. gureumi
    gureumi avatar
    24 posts
    Member since:
    Dec 2008

    Posted 17 Jan 2011 Link to this post

    I have a [Add] button, clicking of which will call gridview.BeginInsert();
    But with many pages, user has to go to the last page to enter  data for the new row to be inserted.

    How can I do it from code-behind?

    Thanks
  2. Answer
    Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 17 Jan 2011 Link to this post

    Hi gureumi,

    You can do it either like this:

    this.radGridView.Items.MoveToLastPage();

    ...or...

    this.radDataPager.MoveToLastPage();

    I hope this helps. Let us know if there are problems.

    Best wishes,
    Ross
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. UI for WPF is Visual Studio 2017 Ready
  4. gureumi
    gureumi avatar
    24 posts
    Member since:
    Dec 2008

    Posted 17 Jan 2011 Link to this post

    Thanks.

    It works just fine!!
Back to Top