Results 1 to 1 of 1

Thread: [resolded]Strange issue

Threaded View

  1. #1

    Thread Starter
    Fanatic Member davebat's Avatar
    Join Date
    Dec 2002
    Posts
    727

    Resolved [resolded]Strange issue

    I have paging on my datagrid as follows.

    VB Code:
    1. Private Sub dgOne_PageIndexChanged(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles dgOne.PageIndexChanged
    2.         dgOne.CurrentPageIndex = e.NewPageIndex
    3.         Label1.Text = "hello"
    4.         pulldata()
    5.     End Sub
    It all works fine, but I wanted to see the value of e.NewPageIndex ( I asume its just a number) so i did

    VB Code:
    1. label1.text = e.NewPageIndex

    this came up blank, so i set it up too say hello and still nothing.

    Is this just a cacheissue??



    I declared as something else ina different function
    Last edited by davebat; Oct 5th, 2004 at 04:11 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width