This question is locked. New answers and comments are not allowed.
Hi!
We have a Grid component listing Employees of a specific type (say developers) in a company, where the company is selected by the user (website.com/ListDevelopers/{GuidOfCompany}). The model for that page is similair to this:
We have a Grid component listing Employees of a specific type (say developers) in a company, where the company is selected by the user (website.com/ListDevelopers/{GuidOfCompany}). The model for that page is similair to this:
public class CompanyViewModel { public Guid Id {get;set;} public String Name {get;set;} public List<EmployeeViewModel> {get;set;}}
We use a popup for insert and edit, using an editor template.
In the "Add" popup, we want the user to be able to select an Employee of the current company using a DropDown and then set some other properties. That is, we want to pass the CompanyViewModel Id to the Editor Template. How do we do that?
Kind regards
Victor Ström