Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Navigational Workflows Unleashed in WWF/ASP.NET 3.5

, 21 Oct 2008 CPOL
Case-study on the internals of a Navigational Workflow engine for a fictional dating website called “World Wide Dating”.
datesite.zip
DateSite
App_Data
bin
database setup procedure
DateSite.csproj.user
Global.asax
images
complete.png
critical.png
logo2.png
warning.png
Profile.dbml
Profile.dbml.layout
Properties
Service References
NavigationWorkflow
bin
NavigationWorkflow.layout
Properties
Settings.settings
<%@ Page Language="C#" MasterPageFile="~/DateSiteMaster.Master" AutoEventWireup="true" CodeBehind="basics.aspx.cs" Inherits="DateSite.basics" Title="World Wide Dating: Basics" %>
<%@ 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>Basics</h2>
    <br />
    
    <table style="text-align: left;">
        <tr>
            <td>
                <div>    
                    <table>
                        <tr>
                            <td style="text-align: right;">
                                Who are you looking for?&nbsp;
                            </td>
                            <td style="text-align: left;">
                                <asp:DropDownList ID="ddlLookingFor" runat="server">
                                    <asp:ListItem Text="Women" Value="women" Selected="True" />
                                    <asp:ListItem Text="Men" Value="men" />
                                </asp:DropDownList>                
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                Between the ages of&nbsp;
                            </td>
                            <td style="text-align: left;">
                                <asp:DropDownList ID="ddlStartAge" runat="server">
                                    <asp:ListItem Text="18" Value="18" />
                                    <asp:ListItem Text="19" Value="19" />
                                    <asp:ListItem Text="20" Value="20" />
                                    <asp:ListItem Text="21" Value="21" />
                                    <asp:ListItem Text="22" Value="22" />
                                    <asp:ListItem Text="23" Value="23" />
                                    <asp:ListItem Text="24" Value="24" />
                                    <asp:ListItem Text="25" Value="25" />
                                </asp:DropDownList>                
                                &nbsp;and&nbsp;
                                <asp:DropDownList ID="ddlEndAge" runat="server">
                                    <asp:ListItem Text="18" Value="18" />
                                    <asp:ListItem Text="19" Value="19" />
                                    <asp:ListItem Text="20" Value="20" />
                                    <asp:ListItem Text="21" Value="21" />
                                    <asp:ListItem Text="22" Value="22" />
                                    <asp:ListItem Text="23" Value="23" />
                                    <asp:ListItem Text="24" Value="24" />
                                    <asp:ListItem Text="25" Value="25" />
                                </asp:DropDownList>                    
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                How tall are you?&nbsp;
                            </td>
                            <td style="text-align: left;">
                                <asp:DropDownList ID="ddlFeet" runat="server">
                                    <asp:ListItem Text="4" Value="4" />
                                    <asp:ListItem Text="5" Value="5" />
                                    <asp:ListItem Text="6" Value="6" />
                                </asp:DropDownList>
                                &nbsp;feet&nbsp;
                                <asp:DropDownList ID="ddlInches" runat="server">
                                    <asp:ListItem Text="0" Value="0" />
                                    <asp:ListItem Text="1" Value="1" />
                                    <asp:ListItem Text="2" Value="2" />
                                    <asp:ListItem Text="3" Value="3" />
                                    <asp:ListItem Text="4" Value="4" />
                                    <asp:ListItem Text="5" Value="5" />
                                    <asp:ListItem Text="6" Value="6" />
                                    <asp:ListItem Text="7" Value="7" />
                                    <asp:ListItem Text="8" Value="8" />
                                    <asp:ListItem Text="9" Value="9" />
                                    <asp:ListItem Text="10" Value="10" />
                                    <asp:ListItem Text="11" Value="11" />
                                </asp:DropDownList>        
                                &nbsp;inches            
                            </td>
                        </tr>
                    </table>        
                    
                    <hr />
                    
                    <div style="text-align: center;">
                        <asp:Button ID="btnNext" Width="125px" Height="30px" runat="server" Text="Next" onclick="btnNext_Click" />
                    </div>       
                </div>            
            </td>
            <td>
                <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)

Share

About the Author

Pero Matić
Software Developer (Senior) Plan A Software
United States United States
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141223.1 | Last Updated 21 Oct 2008
Article Copyright 2008 by Pero Matić
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid