scaffolding - Edit text box in ASP.Net MVC application not working? -


Currently due to unknown reasons, in a strongly typed partial view that automatically "templates" Deny displaying any data in the textbox.

However, the testtitle string displays the realtime content.

  By using  & lt; fieldset & gt; & lt; Legend & gt; Fields & lt; / story & gt; & lt; p & gt; & lt;% string titletext = Model. Title.ToString (); & Gt%; & Lt;% = titletext%> & lt; label = "title" & gt; Title: & lt; / label & gt; & lt;% = Html.TextBox ("title", Model.Title)% & gt; ; < "Post-text" itemprop = "text"> 

Make sure that you insert the text into the text box that does not have html tags - try html

MVC 2 Is handled automatically.

EDIT: What is not a model. Property property in conflict with page-level title variables?


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -