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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





34988 Sep 20,2005 06:07 PM UTC Sep 21,2005 11:40 AM UTC WinForms 1
Tags: GridControl
Ross Prestmo
Asked On September 20, 2005 06:07 PM UTC

Hi, I''m trying to use a RecordNavigationControl to control record navigation for some data-bound textboxes that I have. I thought I could just bind the RecordNavigationControl to the same Currency Manager somehow, but have been unsuccessful. Can you send me an example line of code that shows how this is normally achieved? Or is this control not used for this purpose? Thanks. Ross.

Administrator [Syncfusion]
Replied On September 21, 2005 11:40 AM UTC

Hi Ross, After dropping the GridNavigationControl onto the form, you can use code such as DataTable dt = ReturnATable() // dt is your datatable; this.RecordNavigationControl1.CurrentRecord = 1; this.RecordNavigationControl1.Height = SystemInformation.HorizontalScrollBarHeight + 4; this.RecordNavigationControl1.SplitBars = DynamicSplitBars.None; this.RecordNavigationControl1.MaxRecord = dt.Rows.Count; To make things look reasonable. You would have to handle two events, RecordNavigationControl1_CurrentRecordChanging and RecordNavigationControl1_CurrentRecordChanged, to save the text to your datatable and then load the new record from your datatable to the textboxes. But GridNavigationControl was basically designed to work with Grid. Regards, Leo.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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