We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Navigation control arrow clicked event

Thread ID:

Created:

Updated:

Platform:

Replies:

983 Sep 10,2002 02:10 PM UTC Sep 11,2002 07:41 AM UTC Windows Forms 3
loading
Tags: GridControl
Trevor Redfern
Asked On September 10, 2002 02:10 PM UTC

The arrow clicked event doesn't seem to be firing in the GridRecordNavigationControl. It fires fine with the RecordNavigationBar. Is there some way I can get this working?

Stefan Hoenig [Syncfusion]
Replied On September 10, 2002 03:37 PM UTC

> The arrow clicked event doesn't seem to be firing in the GridRecordNavigationControl. It fires fine with the RecordNavigationBar. > > Is there some way I can get this working? In the next release due out in a couple of days we'll have a CurrentRecordChanging and a CurrentRecordChanged event that will be fired from the RecordNavigationControl when the arrow buttons are clicked. That should solve your problem. Stefan

Trevor Redfern
Replied On September 10, 2002 06:17 PM UTC

But that isn't exactly the arrowclicked event and those events appear to be working ok to me. > > The arrow clicked event doesn't seem to be firing in the GridRecordNavigationControl. It fires fine with the RecordNavigationBar. > > > > Is there some way I can get this working? > > In the next release due out in a couple of days we'll have a CurrentRecordChanging and a CurrentRecordChanged event that will be fired from the RecordNavigationControl when the arrow buttons are clicked. That should solve your problem. > > Stefan

Clay Burch [Syncfusion]
Replied On September 11, 2002 07:41 AM UTC

If you want to catch the navigation bar ArrowButton event in a GridRecordNavigationControl, you can do so through its NavigationBar property by hooking the handler at runtime, say in Form_Load [C#] using Syncfusion.Windows.Forms; Syncfusion.Windows.Forms.Grid; ..... //in Form_Load this.gridRecordNavigationControl1.NavigationBar.ArrowButtonClicked += new ArrowButtonEventHandler(HandleArrowButton); .... private void HandleArrowButton(object sender, ArrowButtonEventArgs e) { Console.WriteLine("HandleArrowButton"); } VB.NET Imports Syncfusion.Windows.Forms Imports Syncfusion.Windows.Forms.Grid .... 'in Form_Load AddHandler Me.gridRecordNavigationControl1.NavigationBar.ArrowButtonClicked, AddressOf HandleArrowButton .... Private Sub HandleArrowButton(ByVal sender As Object, ByVal e As ArrowButtonEventArgs) Console.WriteLine("HandleArrowButton"); End Sub

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;