I building contact manager ( http://www.asp.net/mvc/tutorials/iteration-1-create-the-application-vb).
When the data is returned for editing from the database it uses tihis:
<%: Html.TextBoxFor(Function(model) model.Phone)%>
This shows the phone number and a lot of spaces in a textbox. This creates a problem with validation.
How is it possible to trim the string before it is sent to the textbox?
View Complete Post