Maintaing state in ASP.NET MVC when you're not using the UI helpers?

You will need to manually inject the values from ViewData. The helpers encapsulate this, but if you are writing straight HTML there's no way for ASP. NET MVC to know how to wire the values to the form elements input type="text" id="Name" name="Name" value="Name %.

You will need to manually inject the values from ViewData. The helpers encapsulate this, but if you are writing straight HTML there's no way for ASP. NET MVC to know how to wire the values to the form elements.

I added an example to clarify. – tvanfosson Feb 6 '09 at 3:43 FYI, as of RC1 you can specify Model. Name (don't need ViewData prefix).

– Tim Scott Feb 6 '09 at 15:26 Yes, you don't need the ViewData "prefix" but it will work both ways. – Andrei Rinea Feb 7 '09 at 1:28.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions