I have a bootstrap modal popup that has bound data to the asp.net dropdown ( inside the modal ). Now I want to save the selected value into database. My problem is the selected value of the dropdown is not getting passed in the aspx.cs (code behind ) page.
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Carriage Return (ASCII chr 13) is missing from tex
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
Where you bind dropdown in page load method? write code as below in aspx.cs
There is no issue in model popup of bootstrap.
It's hard to say what the problem might be because you haven't posted any code in your question so here is a complete working example of a
DropDownList
control inside a Bootstrap modal popup, hope it helps you.Code behind:
.ASPX: