Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Datagrid Control (http://www.velocityreviews.com/forums/f60-asp-net-datagrid-control.html)
-   -   Type 'DataGridPageChangedEventArgs' is not defined (http://www.velocityreviews.com/forums/t760500-type-datagridpagechangedeventargs-is-not-defined.html)

William Gower 04-23-2004 08:39 PM

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



Teemu Keiski 04-24-2004 06:31 AM

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.