Click here to Skip to main content
15,894,180 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How do I clean for the past values ​​of TexBoxFor?
Posted
Comments
[no name] 31-Aug-12 16:28pm    
Very very unclear.

If I understood the question correctly, consider using ModelState.Clear. For example, have a look at this post: http://blogs.msdn.com/b/simonince/archive/2010/05/05/asp-net-mvc-s-html-helpers-render-the-wrong-value.aspx[^]
 
Share this answer
 
@Html.TextBoxFor(model => model.desc_goods, new {autocomplete="off", onkeyup = "GetDescName(this.value);", style = "width: 615px" }
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900