How to create a control panel user interface using ASP.NET MVC?

I am currently building an application using ASP.NET MVC. Data entry pages are pretty easy to code, I'm just making a model for a page like my business object:

namespace MyNameSpace.Web.Views.ProjectEdit
{
    public partial class MyView : ViewPage<Project>
    {
    }
}

Where am I afraid, the best way to find out how to implement an interface similar to an interface with autonomous parts using ASP.NET MVC, where will the model for each part be different? I assume that each part will be an MVC control.

Also, how can I make each part testable?

+5
source share
3 answers

, - , , . , . , , , , , , . , , , . , . , :

<% MyUserControlModel model = ViewData["MyUserControlModel"]
         as MyUserControlModel; %>

<div id="myUserControl_dashboard" class="dashboard">
   Name: <%= model.Name %><br />
   Count: <%$ model.Count %>
</div>

, , , Selenium - - . , , , , .

+7

Codeplex.com "DotNet.Highcharts". ASP.NET, ( ) Highcharts. MVC3 .

URL: http://dotnethighcharts.codeplex.com/

CodeProject.com, VS2012 #. webform , MVC. JavaScript, HTML CSS. # #, JavaScript, .

+2

All Articles