Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event Handler not Firing
Message
General information
Forum:
ASP.NET
Category:
WebForms
Miscellaneous
Thread ID:
00775939
Message ID:
00776191
Views:
29
Hi Jim,

The Navigate event only fires when you move to a different table in the DataGrid, not when you move between records. The Scroll event will fire when you move within a DataTable in the DataGrid.

>I have a DataGrid bound to a datasource and the Navigate event is not firing.
>I have AllowNavigation = TRUE
>
>I tested the click event which fires.
>
Private Sub myClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles dgProjects.Click
>        System.Diagnostics.Debugger.Break()
>End Sub
>
>This event does not.
>
Private Sub dgProjects_Navigate(ByVal sender As System.Object,_
> ByVal ne As System.Windows.Forms.NavigateEventArgs) Handles dgProjects.Navigate
>        System.Diagnostics.Debugger.Break()
>    End Sub
>
>I thought this worked a few days ago when I first coded it.
>
>Thanks for any sugs.
>
>jim durkin
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Reply
Map
View

Click here to load this message in the networking platform