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.

Foreign Key Columns: Showing One Value but Saving Another

Thread ID:

Created:

Updated:

Platform:

Replies:

25010 Feb 16,2005 07:36 AM Feb 24,2005 04:54 PM Windows Forms 3
loading
Tags: GridControl
Ahmed
Asked On February 16, 2005 07:36 AM

First, I have found a little bug in the sample code in the user guide in Grid -> DataBoundGrid -> BoundColums -> Foreign Key Column : PrimareyTable() and ForeignKeyTable() functions; the While loop is endless -> loop variable i is not incremented. hope it''s usefull for you. Second, reagrding the same subject, this mechanism anly works if the column type is ComboBox, what if I want the cell to display mapped value from the primary table whith no combo?? Thanx

Administrator [Syncfusion]
Replied On February 16, 2005 08:02 AM

What version are you seeing the first problem in? To simplest way to get this fuctionality without teh combobox is to hide the combobox button. You can do this by setting style.ShowButtons = GridShowButtons.Hide for the style of the cell.

Ahmed
Replied On February 24, 2005 03:23 PM

The Bug in sample code, are in last version, I downloaded two weeks ago. >What version are you seeing the first problem in? > >To simplest way to get this fuctionality without teh combobox is to hide the combobox button. You can do this by setting style.ShowButtons = GridShowButtons.Hide for the style of the cell.

Administrator [Syncfusion]
Replied On February 24, 2005 04:54 PM

Thank you. This has been corrected now.

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.

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.

;