Looking for an idea about how to structure this. We have three related tables, Department, agency and program. Program relates to agency via FK, and Agency relates to Department via FK. We'd like to have a single Radgrid for editing programs, and it's easy to show the lookup for programs, but we'd like to show the department name, the agency name, as well as an additional field from the agency table. Here's the structure (simplified)
Department
===========
DepartmentID
DepartmentName
Agency
===========
AgencyID
DepartmentID
AgencyName
AgencyType
Program
===========
ProgramID
ProgramName
[other columns....]
AgencyID
We could create a view that contains all columns, but then I lose the automated editing functionality. Is there a way to create this grid, include the department name and the additional field from the agency table automatically, and still retain the Radgrid editing functionality?
Department
===========
DepartmentID
DepartmentName
Agency
===========
AgencyID
DepartmentID
AgencyName
AgencyType
Program
===========
ProgramID
ProgramName
[other columns....]
AgencyID
We could create a view that contains all columns, but then I lose the automated editing functionality. Is there a way to create this grid, include the department name and the additional field from the agency table automatically, and still retain the Radgrid editing functionality?