html helper - Displaying multiple values with Telerik ASP.Net MVC extensions with the ForeignKey column -
from i've read, doesn't seem possible associate foreignkey column multi-select listbox. true?
if it's not true, famiiar using foreginkey column , know how accomplish code snippet, if possible.
if it's true it's not supported (i have latest extensions of tools), how go implement this? if telerik doesn't have work around, i'd to below.
the next best thing display users in multiple rows (each distinct value selected specified group), guess. how implement scenario using foreignkey or otherwise? meaning, there can many users many groups. image worth one thousand words. please see below i'd implement.
fyi, have value , text info both columns, the groups column not listbox; it's textbox , has text value displayed. the users listbox have value selected each user (assume users listbox contains list of 10 users).
grid abc groups column (contains text value) users column (this foreignkey listbox) ----------------------------------- ----------------------------------------------------------- grp1 user1 grp1 user2 grp1 user3 grp2 user2 grp2 user3
personally suggest create hierarchy of grid edit such relation.
e.g.
grp1 user1 user2 user3 grp2 user2 user3
implementation hierarchy editing can found here.
option 2 -> since extensions not have multi select not easy add together such editor template. anyway if implement multi-select somehow hand can utilize add together editor shown here.
regarding foreignkey - not option.
html-helper telerik-grid telerik-mvc
No comments:
Post a Comment