I'm going through the MVC 3 tutorials and working on cshtml, how do design the views "Visually" like we do in ASP.Net that we can see the HTML and Design surface?
There are no WebControls as in WebForms and most of the times you need to go through an Action to get the view. Why to spend so much time to create a designer that runs your site behind the scenes when you can just hit F5?
Please click 'Mark as Answer' if my reply has assisted you
With MVC there is a more 1 to one relation among helpers and controls, this means that you can create your page with ANY html authoring tool(for instance expression web or dreamweaver), and then, copying the created hatml into a View. Once you have done
this it is enough to substitute the html elements that you want to be dynanically generated with helpers. That is all!
This way a grephic designer can prepare a beatiful page for you (he is able to use html designers...but bot visual studio) and then you can isert into your MVC sites following the steps I outlined.
Do you know if there are any plans to integrate a professional design surface into visual studio? Perhaps expression web could converge similar to what they've done with blend?
BenHayat
Member
59 Points
33 Posts
How do we design our views "Visually"?
Jan 19, 2011 01:39 AM|LINK
I'm going through the MVC 3 tutorials and working on cshtml, how do design the views "Visually" like we do in ASP.Net that we can see the HTML and Design surface?
Why doesn't VS10 show a design tab?
Thanks!
Best Regards;
..Ben
raduenuca
All-Star
24675 Points
4250 Posts
Re: How do we design our views "Visually"?
Jan 19, 2011 06:16 AM|LINK
There are no WebControls as in WebForms and most of the times you need to go through an Action to get the view. Why to spend so much time to create a designer that runs your site behind the scenes when you can just hit F5?
Radu Enuca | Blog
francesco ab...
All-Star
20912 Points
3279 Posts
Re: How do we design our views "Visually"?
Jan 19, 2011 08:03 AM|LINK
With MVC there is a more 1 to one relation among helpers and controls, this means that you can create your page with ANY html authoring tool(for instance expression web or dreamweaver), and then, copying the created hatml into a View. Once you have done this it is enough to substitute the html elements that you want to be dynanically generated with helpers. That is all!
This way a grephic designer can prepare a beatiful page for you (he is able to use html designers...but bot visual studio) and then you can isert into your MVC sites following the steps I outlined.
Mvc Controls Toolkit | Data Moving Plug-in Videos
BenHayat
Member
59 Points
33 Posts
Re: How do we design our views "Visually"?
Jan 19, 2011 12:38 PM|LINK
Thanks Francesco;
Best Regards;
..Ben
brianlbaker
Member
2 Points
3 Posts
Re: How do we design our views "Visually"?
Dec 18, 2012 03:55 AM|LINK