Any explanations for this?
A Runtime Error has occurred. Do you wish to Debug?
Line: 0
Error: Object expected
This is generated by trying to change pages from the following code:
sub Page_Change(obj as object, e as DataGridPageChangedEventArgs)
dgRoger.CurrentPageIndex=e.NewPageIndex
dgRoger.DataBind()
end sub
</script>
<html>
<body>
<form>
<asp:DataGrid id="dgRoger"runat="server" AllowPaging="True"
PagerStyle-Mode="NumericPages" PageSize="12"
OnPageIndexChanged="Page_Change" />
</form>
</body>
</html>
The page opens fine, but will not progress from one page of data to another.
Instead I get the error stated above. Teach me- I obvoiusly need it!
TIA
Roger