Click here to Skip to main content
15,886,032 members
Articles / Web Development / ASP.NET

Flexible Web UI Workflow application through ASP.NET MVC & Windows Workflow Foundation

Rate me:
Please Sign up or sign in to vote.
4.68/5 (20 votes)
3 Sep 2009CPOL10 min read 165.8K   9.8K   53  
An article on developing a flexible web UI workflow application, using ASP.NET MVC & Windows Workflow Foundation
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<WizardTypeUITwo.Models.Employee>" %>
<%@ Import Namespace="WizardTypeUITwo"%>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Employee Registration Process - Step1
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Employee Registration Process - Step1</h2>

    <%= Html.ValidationSummary("Please correct the errors and try again.") %>

    <% using (Html.BeginForm()) {%>

        <fieldset>
            
            <p>
            </p>
            
            <legend>Fields</legend>
            
            <p>
                <label for="Name">Name:</label>
                <%= Html.TextBox("Name", Model.Name) %>
                <%= Html.ValidationMessage("Name", "*") %>
            </p>
            
              <p>
                <label for="Age">Age:</label>
                <%= Html.TextBox("Age", Model.Age) %>
                <%= Html.ValidationMessage("Age", "*") %>
            </p>
            
            <p>
                <input type="submit" name="nextButton" value="Next >" />
                <input type="submit" name="backButton" value="Back <" />
            </p>

        </fieldset>

    <% } %>


</asp:Content>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect Collabera
India India
Gnana (Gnanasekaran) is currently working as a Senior Architect at Collabera, Bangalore, India, having more than 10 years experience. His area of specialization includes SOA, BPM, Messaging, Integration and Enterprise Architecture. The emerging tech. trends like web 2.0 and Enterprise Mobility excites him a lot. Architectural consulting is his core expertise. He also possess experience in Data warehousing and business intelligence solutions consulting, based on the Microsoft technology stack like SSAS, SSIS and SQL Server. You can reach him via e-mails at gnana.sekaran@collabera.com & vgnanasekaran@yahoo.com or at www.gnanasekaran.com

Comments and Discussions