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

Navigational Workflows Unleashed in WWF/ASP.NET 3.5

Rate me:
Please Sign up or sign in to vote.
4.97/5 (42 votes)
21 Oct 2008CPOL18 min read 226.1K   1.6K   165  
Case-study on the internals of a Navigational Workflow engine for a fictional dating website called “World Wide Dating”.
<%@ Page Language="C#" MasterPageFile="~/DateSiteMaster.Master" AutoEventWireup="true" CodeBehind="interests.aspx.cs" Inherits="DateSite.interests" Title="World Wide Dating: Interests" %>
<%@ MasterType VirtualPath="~/DateSiteMaster.Master" %>
<%@ Register TagPrefix="ux" TagName="NavigationPane" Src="~/NavigationPane.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <h2>Interests</h2>
    <br />
    
    <table style="text-align: left;">
        <tr>
            <td>
                <div>
                    <div style="width: 375px; text-align: left;">What do you do for fun?</div>
                    <div><asp:TextBox ID="txtFunActivities" runat="server" TextMode="MultiLine" Width="375px" Height="50px" Wrap="true"></asp:TextBox></div>
                    
                    <br />
                    
                    <div style="width: 375px; text-align: left;">Favorite hot spots or destinations?</div>
                    <div><asp:TextBox ID="txtFavoriteDestinations" runat="server" TextMode="MultiLine" Width="375px" Height="50px" Wrap="true"></asp:TextBox></div>
                    
                    <br />
                    
                    <div style="width: 375px; text-align: left;">What's the last thing you read?</div>
                    <div><asp:TextBox ID="txtLastRead" runat="server" TextMode="MultiLine" Width="375px" Height="50px" Wrap="true"></asp:TextBox></div>
                    
                    <hr />
                        
                    <div style="text-align: center;">
                        <asp:Button ID="btnPrevious" Width="125px" Height="30px" runat="server" Text="Previous" onclick="btnPrevious_Click" />&nbsp;
                        <asp:Button ID="btnNext" Width="125px" Height="30px" runat="server" Text="Next" onclick="btnNext_Click" />
                    </div>     
                </div>            
            </td>
            <td valign="top">
                <ux:NavigationPane ID="uxNavigationPane" runat="server" />
            </td>
        </tr>
    </table>
    
</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
Founder Turing Inc.
United States United States

Comments and Discussions