I am trying to do a CRUD in ASP.net 6 but having difficulties posting my data to the data base. I believe my form data is not valid because of my sele ...
I am trying to do a CRUD in ASP.net 6 but having difficulties posting my data to the data base. I believe my form data is not valid because of my sele ...
I have 3 classes I try example above, string concatenation, tried to do it with LINQ. I realized that I need to do this through an auxiliary class. ...
I am trying to pass a concatenated columns from a LINQ statement to a select list using view bag. Controller: View: But in the select list when ...
In my razor view, I have a Drop down list This is within a form, within a partial view displayed in a modal. This is not a required field, so it ca ...
I'm developing an ASP.NET Core 6 MVC app. My IDE is VS Code and I am using Windows 10. The SelectList can work in one controller but not be found in ...
I have a onchange function on my dynamically created select list which is trying to get the data- attributes but I am getting a "undefined" value. ...
I have a for loop where I am iterating over array selected items. I want to get the element from select list where my value is equal with innerText of ...
I want to grab all the values of a multiple selected selectlist but it keeps telling me null. this is my viewmodel select tag is anytime i run ...
I have a table I created to use as the source for the of dropdowns of a form. The goal is to have only what possible options are available for the Dep ...
I am using a generic SelectList to render a list of checkboxes. I can check items and save them to the users record without problems. But on retrievin ...
I want to hide option from previous selected dropdown but my solution only works for two dropdown list. This means that when I come to third dropdown ...
I have a select list to show a list of Nationalities which is This brings back my list in Alphabetical order which is fine. I now want the default ...
When I submit the form, the user skills come. I use many to many relationship but always come count 0 on post action ...
I'm trying to show my data received from ViewData["ProductGroupId"] and ViewData["ProductSubGroupId"] in two seperate drop down lists. When debbuging, ...
I managed to solve the problem myself. See update 3 at the bottom. I'm making a SelectList of a List<ApplicationUserViewModel> like this: Th ...
Right now when I select an option from first selectlist, it automatically set the 2nd select list value, but I want if I select an option from first s ...
I'm trying to submit a form using Html helper like this: Onload of page, I'm binding the dropdown using HTML helper like this It loaded correctl ...
So I am tryin to figure out how to select an option from a dropdown list in ASP.net where when you select the option of "custom pricing", a modal pops ...
do you know what I have done wrong? My subquery is returining the same value for all lines. Thanks a lot in advance for your any advice! :) ...