skip to Main Content

ASP.NET codebehind can't get selected drop down list value (after set Javascript attribute)

anyone know how does it cause ASP.NET codebehind can't acquire the selected value. What I found is the problem is the javascript function; set attribute portion: process.options[process.selectedIndex].setAttribute("style", "color:red;font-weight:600;"); process.options[process.selectedIndex].setAttribute("disabled", "disabled"); If I remove these setAttribute portion, ASP.NET codebehind can acquire…

VIEW QUESTION

C# Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1] An unhandled exception has occurred while executing the request – Asp.net

I need help in this code, something wrong is not right lol... I'm trying to run in InMemory database but I wasn't successful. I'm using Microsoft.AspNetCore.App 5.0.12 Microsoft.AspNetCore.App 6.0.0 Microsoft.NETCore.App 5.0.12 Microsoft.NETCore.App 6.0.0 Microsoft.WindowsDesktop.App 5.0.12 Microsoft.WindowsDesktop.App 6.0.0 [error image] https://i.stack.imgur.com/5tFrN.jpg…

VIEW QUESTION
Back To Top
Search