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

Currencymanager problem

Thread ID:

Created:

Updated:

Platform:

Replies:

15013 Jun 9,2004 05:50 PM UTC Jun 9,2004 06:57 PM UTC WinForms 1
loading
Tags: GridControl
Simon Weaver
Asked On June 9, 2004 05:50 PM UTC

I have a grid which is bound to a strongly typed DataTable. I am trying to bind two textboxes to the same datasource in code. This works fine with just a simple txtDescription.DataBindings.Add("Text", tblFacts, "Description"); however it only seems to use the same currencymanager as the grid when I click on a row. when i do this the textboxes show the correct data for the selected row. If I use the up and down arrow keys it does not update. i have switched to doing this manually (which for other reasons is actually preferable) and doing it manually works. but why is this problem occuring? -simon

Administrator [Syncfusion]
Replied On June 9, 2004 06:57 PM UTC

I am not sure why the grid would be using two different currency manages, one for clicking and one for arrow moving. Are you using a GridRecordNavigationControl? If so, you might try setting grid.BindingContext = this.BindingContext; gridRecordNavigation1.BindingContext = this.BindingContext; just to try to make sure the grid is usingthe same bindingcontext as the form. Can you reproduce this problem in one of our sample, or can you post a sample showing the probelm?

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.

Please sign in to access our forum

or the page will be automatically redirected to 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

;