Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8756099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:59:27+00:00 2026-06-13T13:59:27+00:00

ASP.Net MVC 3, Kendo UI Web, Kendo grid control. My main datasource uses foreign

  • 0

ASP.Net MVC 3, Kendo UI Web, Kendo grid control.

My main datasource uses foreign datasource via foreign key binding:

.Columns(columns =>
{
    columns.ForeignKey(p => p.FK_ID, (System.Collections.IEnumerable)ViewData["things"], "ID", "NAME");
    ...

In view mode, binding works as expected, I see NAME property bound by “FK_ID – ID” relation.

However when I enter edit mode strange things happen:

  • in inline mode — the column is disabled (i.e. there is no editor for this field of any kind)

  • in popup mode — there is an editbox editor, not combobox, so I have to type it manually despite the fact of binding

On the Kendo website the demo shows, that in case of foreign keys in edit mode, combobox is shown and the choice is limited to the foreign datasource (pretty common sense).

So what should I do additionally to show combobox and choose only from the values shown there?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:59:29+00:00Added an answer on June 13, 2026 at 1:59 pm

    Could you please check whether you have the foreign key editor which is required? It should be under the Views/Shared/EditorTemplates folder and its name is GridForeignKey.cshtml (or .aspx if using ASPX view engine)

    If it is not there you can add it by hand using the info from above. The content of the editor is:

    @( Html.Kendo().DropDownList()
        .Name(ViewData.TemplateInfo.GetFullHtmlFieldName(""))
        .BindTo((SelectList)ViewData[ViewData.TemplateInfo.GetFullHtmlFieldName("") + "_Data"]))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

ASP.Net MVC 3, Kendo UI Web, Kendo grid control. I configured several fields to
The situation: I have build a Grid with kendo-ui web (in ASP.NET MVC 3)
ASP.Net MVC 3, Kendo UI Web. Typical example -- there is a database and
I have an asp.net MVC web app using Kendo UI Grids with client templates.
I am trying to use the new Kendo UI grid from asp.net mvc 3.
By default the Kendo Grid for ASP.NET MVC will perform server side requests and
ASP.Net MVC Controllers have several methods of forwarding control to another controller or action.
ASP.NET MVC web app that exposes friendly URLs: http://somesite.com/friendlyurl ...which are rewritten (not redirected)
My ASP.NET MVC web site markup looks wrong in iOS (both iPad and iPhone).
ASP.NET MVC Model Binding is still new to me and I'm trying to understand

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.