The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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?
SHStefan Hoenig Syncfusion Team 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
TRTrevor RedfernSeptember 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
CBClay Burch Syncfusion Team 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