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="lifestyle.aspx.cs" Inherits="DateSite.lifestyle" Title="World Wide Dating: Lifestyle" %>
<%@ 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>Lifestyle</h2>
    <br />
    
    <table style="text-align: left;">
        <tr>
            <td>
                <div>
                    <table>
                        <tr>
                            <td style="text-align: right;">
                                How often do you exercise?&nbsp;
                            </td>
                            <td style="text-align: left;">
                                <asp:DropDownList ID="ddlExerciseHabits" runat="server">
                                    <asp:ListItem Text="No Answer" Value="noanswer" Selected="True" />
                                    <asp:ListItem Text="Never" Value="never" />
                                    <asp:ListItem Text="1-2 times per week" Value="1to2" />
                                    <asp:ListItem Text="3-4 times per week" Value="3to4" />
                                    <asp:ListItem Text="5 or more times per week" Value="alot" />
                                </asp:DropDownList>                
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                Do you smoke?&nbsp;
                            </td>
                            <td style="text-align: left;">
                                <asp:DropDownList ID="ddlSmoking" runat="server">
                                    <asp:ListItem Text="No Answer" Value="noanswer" Selected="True" />
                                    <asp:ListItem Text="No Way" Value="noway" />
                                    <asp:ListItem Text="Occasionally" Value="occasionally" />
                                    <asp:ListItem Text="Daily" Value="daily" />
                                </asp:DropDownList>                
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                How often do you drink?&nbsp;
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlDrinking" runat="server">
                                    <asp:ListItem Text="No Answer" Value="noanswer" Selected="True" />
                                    <asp:ListItem Text="I don't drink" Value="no" />
                                    <asp:ListItem Text="Social Drinker" Value="social" />
                                    <asp:ListItem Text="Regularly" Value="regularly" />
                                </asp:DropDownList>                
                            </td>
                        </tr>
                    </table>
                    
                    <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>
                <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
Web01 | 2.8.141220.1 | Last Updated 21 Oct 2008
Article Copyright 2008 by Pero Matić
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid