Posts by André Luís Moretto • 1 point
3 posts
-
0
votes0
answers27
viewsQ: How to cascade a multiselect list based on selecting a Dropbox with Asp.net core Razor
I need help to create a dynamic control. I’m a beginner so... Problem: The page has a selectlist which shows the records of the Jobs table returning the Jobid in the post. I need to capture the id…
-
0
votes1
answer10
viewsA: How to return a compound field in a dropdown by ASP CORE using Razor
Capturing data: var ListJobs = from j in _context.Job .Include(k => k.Entity) .OrderBy(k => k.Entity.EntityName) select j; Creating the View Controler: ViewData["JobId"] = new…
-
-1
votes1
answer10
viewsQ: How to return a compound field in a dropdown by ASP CORE using Razor
original in the model = ViewData["JobId"] = new SelectList(_context.Job, "JobId", "JobDay"); Together with Jobday, put the field Job.Entity.Entityname, Job and Entity are related and in context.…