Quantcast
Channel: CodeProject Latest postings for ASP.NET
Viewing all articles
Browse latest Browse all 3938

Razor Pages Inconsistent Behaviour

$
0
0
Is there some magic I am missing with the select list tag helper
<div style="margin-top:15px;"><label asp-for="SelectedUserDetails.ModifiedBy" style="font-weight:bold;"></label><input type='text' class='form-control' asp-for="SelectedUserDetails.ModifiedBy" /></div><div style="margin-top:15px;"><label asp-for="SelectedUserDetails.Operator" style="font-weight:bold;"></label><select asp-for="SelectedUserDetails.OperatorID" asp-items="Model.OperatorList"></select></div>

The first block places the input field BELOW the label. However the second block containing the Select tag helper places the drop down directly directly AFTER the label.

What should I add to get the drop down onto the line below the label?
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP

Viewing all articles
Browse latest Browse all 3938

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>