![]() |
Type 'DataGridPageChangedEventArgs' is not defined
In my code-behind page I have this routine. What do I have to do for it to
recognize DataGridPageChangedEventArgs? Sub PageIndexChanged(ByVal source As Object, ByVal e As DataGridPageChangedEventArgs) _ Handles DataGrid1.PageIndexChanged DataGrid1.CurrentPageIndex = e.NewPageIndex BindDataGrid() End Sub |
Re: Type 'DataGridPageChangedEventArgs' is not defined
Hi,
and System.Web.UI.WebControls namespace is imported? -- Teemu Keiski MCP, Microsoft MVP (ASP.NET), AspInsiders member ASP.NET Forum Moderator, AspAlliance Columnist http://blogs.aspadvice.com/joteke "William Gower" <w_gower@hotmail.com> wrote in message news:er5TpMXKEHA.3916@TK2MSFTNGP10.phx.gbl... In my code-behind page I have this routine. What do I have to do for it to recognize DataGridPageChangedEventArgs? Sub PageIndexChanged(ByVal source As Object, ByVal e As DataGridPageChangedEventArgs) _ Handles DataGrid1.PageIndexChanged DataGrid1.CurrentPageIndex = e.NewPageIndex BindDataGrid() End Sub |
| All times are GMT. The time now is 01:54 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.