Where are the graphical page components for an ASP.NET MVC application?

It sounds very silly, but I was told that you can drag visual components (including JavaScript or AJAX components?) Onto a web page view in ASP.NET MVC, and then "customize" the components by editing the code behind them when they were on location. Either I misunderstood what I was told, or I am blind and cannot see how to do it, but the ability to do it will help a lot, especially since I cannot really create things to save my life.

EDIT 1: To clarify: As I was told, it seemed like you could go to the panel, drag the button to the viewport, and then HTML / CSS to put the button there. Then you can open the code editor and customize everything as you want.

0


source to share


2 answers


Drag and drop is more suitable for standard ASP.NET Web Forms rather than MVC. I think you can still do this in MVC, but only if the controls don't rely on the viewstate (which MVC doesn't support).



try Googling on "asp.net mvc custom controls"

+2


source


Even with Webforms, view in design is pretty useless. It is nowhere near the wysiwyg editor you are planning for even a relatively simple website design. While you can technically drag and drop components onto the page, they usually have no resemblance to the rendered html.



If you want to create a website using any ASP.Net framework, you will need to write the markup more conveniently. The upside is that the MVC framework simplifies the markup side a lot.

+1


source







All Articles