Can you use the Visual Studio toolbox controls, such as GridView, UpdatePanel, AjaxControl Toolkit, etc. working with MVC and Razor?

0

I am working with visual studio 2013 with MVC and razor , but I would like to take advantage of using the visual studio controls, such as gridview , treeview , navigator , etc.

I remember that when I worked in visual studio 2010 with layers and WCF I could use the toolbox tools, but in this case, I think that you can not, if someone knows me, please tell me

    
asked by Danilo 30.01.2016 в 04:08
source

1 answer

1

I'm afraid not, the WebControl are no longer available in asp.net mvc, mostly because I change the whole architecture. Imagine you know that concepts such as events, viewstate no longer exist.

But you have equivalent, for example for the GridView you have the WebGrid

WebGrid in MVC 3, step by step

To replace the UpdatePanel you have the Ajax.BeginForm

Working With Html. BeginForm () and Ajax.BeginForm () in MVC 3

The idea is that you use mvc Helpers that render the html in the view

    
answered by 30.01.2016 / 04:26
source