GrapeCity Forums

The GrapeCity Message Boards
Welcome to GrapeCity Forums Sign in | Join | Help
in Search

how to make it dont show pager when one pagesize data in it?

Last post 07-03-2009, 10:38 AM by scotts. 3 replies.
Sort Posts: Previous Next
  •  07-01-2009, 10:50 PM 79758

    how to make it dont show pager when one pagesize data in it?

    hi,

    i want to ask the question ,

    when only one pagesize data in it,how to make it dont show pager ?

     

    thanks in advance.

  •  07-02-2009, 8:40 AM 79780 in reply to 79758

    Re: how to make it dont show pager when one pagesize data in it?

    Hello,

    Is it a Windows Application or a Web Application?

     

     

    Regards,

     


    Deepak Sharma
    GrapeCity FarPoint
  •  07-02-2009, 10:56 PM 79809 in reply to 79780

    Re: how to make it dont show pager when one pagesize data in it?

    oh.I am sorry for didnt say that, in fact  it is the  Web Application.

     

    thank u .

     

  •  07-03-2009, 10:38 AM 79825 in reply to 79809

    Re: how to make it dont show pager when one pagesize data in it?

    Hello,

    You can add code in the CreateButton event to hide the buttons if you do not want them to display.

        Protected Sub FpSpread1_CreateButton(ByVal sender As Object, ByVal e As FarPoint.Web.Spread.CreateButtonEventArgs) Handles FpSpread1.CreateButton
            If e.Label = "<<" Or e.Label = ">>" And FpSpread1.ActiveSheetView.NonEmptyRowCount <= FpSpread1.ActiveSheetView.PageSize Then
                e.Visible = False
            End If
        End Sub


    Scott S.
    Product Manager, Spread ASP.NET
    GrapeCity FarPoint
View as RSS news feed in XML
     FarPoint Forums Home