Ok just checked the version control.... v2.3.8 has this...
Dave.
If PgSize > 0 And ctlPagingControl.Visible Then
If _CurrentPage > ((ListSize / PgSize) + 1) Then 'stop problem with invlid page number in url
_CurrentPage = Convert.ToInt32((ListSize / PgSize))
Response.StatusCode = HttpStatusCode.NotFound
Response.Redirect("/404ErrorPage.aspx") ' redirect to 404 so robot picks it up.
End If
End If
so I suggest the first thing to try is a upgrade, but like I said. I'm not sure this is your problem.Dave.