Grid Paging problem...please

Results 1 to 2 of 2

Thread: Grid Paging problem...please

  1. #1
    Join Date
    Dec 1969

    Default Grid Paging problem...please

    I have asked this in a few places but still cannot get it to work.<BR><BR>In my grid when I filter and then page to page 2 for example. I cannot reselect an option without getting a paging error.<BR><BR>Please take a look if you have time.<BR><BR><BR><BR>Choose &#039;Kenya&#039; then go to page 2 and then try to get another country.<BR><BR>I have tried to reset the data grid page to 0 on the selectedItemIndexChanged event of the dropdown, is this correct?<BR>Thanks.<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Grid Paging problem...please

    What does your Page_Load event handler look like? If it has code like this:<BR><BR>Sub Page_Load(...)<BR> datagridID.DataSource = ...<BR> datagridID.DataBind()<BR>End Sub<BR><BR><BR>change it to:<BR><BR>Sub Page_Load(...)<BR> If Not Past.IsPostBack then<BR> datagridID.DataSource = ...<BR> datagridID.DataBind()<BR> End If<BR>End Sub<BR><BR><BR>Does this do the trick for you?

Posting Permissions

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