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

Best way to reporesent a foreign key

Thread ID:

Created:

Updated:

Platform:

Replies:

113719 Oct 6,2013 11:24 PM UTC May 19,2014 11:55 AM UTC ASP.NET MVC (Classic) 3
loading
Tags: Grid
Jeremy Branham
Asked On October 6, 2013 11:24 PM UTC

In your Dialog example -
 
You display an "Employee ID" column with a numeric editor.
Let's assume this a foreign key value to an employee table.
The numeric editor is insufficient because a value can be selected that does not exist in the employee table.
 
What is the best way to represent a foreign key in the grid [display and editing]?
 
I have seen the drop down data source, which works for editing, but fails for displaying because the Id is still shown in the grid, rather than the display text [in this case, it could be the employee's name].
 

Bala Murugan A.S [Syncfusion]
Replied On October 11, 2013 05:22 AM UTC

Hi Jeremy Branham,

Thanks for using Syncfusion Products.

We have created a new Direct Trac incident 114223 for you query and updated response in that incident. We suggest you to followup that incident for any further assistance.

Please let me know if you have any concerns.

Regards,
Balamurugan A.S

Suchayna Metra
Replied On May 11, 2014 02:42 PM UTC

Any update on how to show foreign key values on the MVC grid?

Hariharan J V [Syncfusion]
Replied On May 19, 2014 11:55 AM UTC

Hi Suchayna Metra,

Thanks for your udpate.

We have response for the query("Any update on how to show foreign key values on the MVC grid") in the incident 125217 and we suggest you to followup the incident 125217.

Please let us know if you need any further assistance.

Regards,
Hariharan J.V

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

;