Server Management and MVC

I was lucky, without research, that server controls were lost in the MVC model. I am very curious to find out if this is true, and if so, how can something be achieved that is equivalent to controlling a repeater or any other representation whose exact structure depends on the content of the model?

+3
source share
6 answers

I do not agree, Yuri, that control is not useful. A set of data-bound MVC controls, easily tied to viewdata, without holding rewriting identifiers, without any dependence on the unpleasant look of the gunk or the reverse transfer and full control over the templates (by default for reasonable markup), will be a great addition to the structure MVC Controls are a very powerful and useful concept that can significantly increase development time and should not be discarded solely because they carry some emotional baggage from ugly old web forms! :)

+1
source

ASP.NET MVC ViewState , asp.net, , . , , .

Mvc- - HtmlHelper, html. htmlhelpers , - - - asp.net mvc.

MVCContrib - Contrib asp.net mvc, htmlhelpers http://www.codeplex.com/MVCContrib

htmlhelper

ASP.NET MVC http://www.asp.net/mvc/

+2

, MVC .. , . , , , jQuery UI Yahoo UI .. ... "foreach" - :)

+1

, . , / , ASP.NET, Web Forms.

Repeater.

0

, . , , . MSDN:

. , ( ), ( ).

View. .

. , / , .

0

I assume that there will be some kind of smart helper methods like html.textbox or the like, and they will draw a table / grid, for example, based on this collection of objects.
You can pack your html helper inside an asp user control and use it in any mvc application ...
Some people think like regular asp.net server controls, but without viewstate, events and all other pagelifycle dependent elements.

0
source

All Articles