So I have this on my view:
<%= Html.Encode(Model.STPData.ProjectName)%>
Now say instead of having the ProjectName
as the string, I only had the ProjectId
. How would I make this display the string of the text that the Id corresponds to? The dropdown list that contains all the text/value pairs - I am able to generate but it isn't stored anywhere.
I'm stumped. Thanks.