Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » Ajax » Atlas » Downloads
 
Add your own
alternative version

Build a Google IG like AJAX Start Page in 7 days using ASP.NET AJAX and .NET 3.0

, 10 Mar 2010
Build a Start Page similar to Google IG in 7 nights using ASP.NET AJAX, .NET 3.0, LINQ, DLinq, and XLinq.
Prize winner in Competition "ASP.NET Dec 2006"
dashboard.zip
src
bin
AjaxControlToolkit.dll
CustomDragDrop
Dashboard
App_Code
App_Data
App_Themes
Default
google.gif
HeaderBack.PNG
Logo.png
max_blue.gif
max_blue_highlight.gif
min_blue.gif
min_blue_highlight.gif
x_blue.gif
x_blue_highlight.gif
Bin
AjaxControlToolkit.dll
CSharp3CodeDomProvider.dll
Global.asax
indicator.gif
vwd.webinfo
Widgets
FlickrIcon.gif
rss.gif
DashboardBusiness
Activities
CreateDeafultWidgetsOnPageActivity.rules
DashboardBusiness.csproj.user
NewUserSetupWorkflow.rules
Properties
UserVisitWorkflow.rules
DashboardData
Properties
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace DashboardBusiness
{
	partial class NewUserSetupWorkflow
	{
		#region Designer generated code
		
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
		private void InitializeComponent()
		{
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding1 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding2 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference1 = new System.Workflow.Activities.Rules.RuleConditionReference();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference2 = new System.Workflow.Activities.Rules.RuleConditionReference();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            this.SetException1 = new System.Workflow.Activities.CodeActivity();
            this.CallWorkflow = new DashboardBusiness.Activities.CallWorkflowActivity();
            this.Else1 = new System.Workflow.Activities.IfElseBranchActivity();
            this.IfCreated1 = new System.Workflow.Activities.IfElseBranchActivity();
            this.SetException = new System.Workflow.Activities.CodeActivity();
            this.SecondPageCheck = new System.Workflow.Activities.IfElseActivity();
            this.Create2ndPage = new DashboardBusiness.Activities.CreateNewPageActivity();
            this.CreateDefaultWidgetsOnPage1 = new DashboardBusiness.Activities.CreateDeafultWidgetsOnPageActivity();
            this.Else = new System.Workflow.Activities.IfElseBranchActivity();
            this.IfCreated = new System.Workflow.Activities.IfElseBranchActivity();
            this.faultHandlersActivity1 = new System.Workflow.ComponentModel.FaultHandlersActivity();
            this.FirstPageCreateCheck = new System.Workflow.Activities.IfElseActivity();
            this.CreateFirstPage = new DashboardBusiness.Activities.CreateNewPageActivity();
            this.GetUserGuid = new DashboardBusiness.Activities.GetUserGuidActivity();
            // 
            // SetException1
            // 
            this.SetException1.Name = "SetException1";
            this.SetException1.ExecuteCode += new System.EventHandler(this.SetException_ExecuteCode);
            // 
            // CallWorkflow
            // 
            this.CallWorkflow.Name = "CallWorkflow";
            activitybind1.Name = "NewUserSetupWorkflow";
            activitybind1.Path = "UserName";
            workflowparameterbinding1.ParameterName = "UserName";
            workflowparameterbinding1.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            activitybind2.Name = "NewUserSetupWorkflow";
            activitybind2.Path = "UserPageSetup";
            workflowparameterbinding2.ParameterName = "UserPageSetup";
            workflowparameterbinding2.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            this.CallWorkflow.Parameters.Add(workflowparameterbinding1);
            this.CallWorkflow.Parameters.Add(workflowparameterbinding2);
            this.CallWorkflow.Type = typeof(DashboardBusiness.UserVisitWorkflow);
            // 
            // Else1
            // 
            this.Else1.Activities.Add(this.SetException1);
            this.Else1.Name = "Else1";
            // 
            // IfCreated1
            // 
            this.IfCreated1.Activities.Add(this.CallWorkflow);
            ruleconditionreference1.ConditionName = "SecondPageIDPositive";
            this.IfCreated1.Condition = ruleconditionreference1;
            this.IfCreated1.Name = "IfCreated1";
            // 
            // SetException
            // 
            this.SetException.Name = "SetException";
            this.SetException.ExecuteCode += new System.EventHandler(this.SetException_ExecuteCode);
            // 
            // SecondPageCheck
            // 
            this.SecondPageCheck.Activities.Add(this.IfCreated1);
            this.SecondPageCheck.Activities.Add(this.Else1);
            this.SecondPageCheck.Name = "SecondPageCheck";
            // 
            // Create2ndPage
            // 
            this.Create2ndPage.Name = "Create2ndPage";
            this.Create2ndPage.NewPageId = 0;
            this.Create2ndPage.Title = "My 2nd Page";
            activitybind3.Name = "GetUserGuid";
            activitybind3.Path = "UserGuid";
            this.Create2ndPage.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("UserId", typeof(DashboardBusiness.Activities.CreateNewPageActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            // 
            // CreateDefaultWidgetsOnPage1
            // 
            this.CreateDefaultWidgetsOnPage1.Name = "CreateDefaultWidgetsOnPage1";
            activitybind4.Name = "CreateFirstPage";
            activitybind4.Path = "NewPageId";
            this.CreateDefaultWidgetsOnPage1.SetBinding(DashboardBusiness.Activities.CreateDeafultWidgetsOnPageActivity.PageIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            // 
            // Else
            // 
            this.Else.Activities.Add(this.SetException);
            this.Else.Name = "Else";
            // 
            // IfCreated
            // 
            this.IfCreated.Activities.Add(this.CreateDefaultWidgetsOnPage1);
            this.IfCreated.Activities.Add(this.Create2ndPage);
            this.IfCreated.Activities.Add(this.SecondPageCheck);
            ruleconditionreference2.ConditionName = "PageIDPositiveInteger";
            this.IfCreated.Condition = ruleconditionreference2;
            this.IfCreated.Name = "IfCreated";
            // 
            // faultHandlersActivity1
            // 
            this.faultHandlersActivity1.Name = "faultHandlersActivity1";
            // 
            // FirstPageCreateCheck
            // 
            this.FirstPageCreateCheck.Activities.Add(this.IfCreated);
            this.FirstPageCreateCheck.Activities.Add(this.Else);
            this.FirstPageCreateCheck.Name = "FirstPageCreateCheck";
            // 
            // CreateFirstPage
            // 
            this.CreateFirstPage.Name = "CreateFirstPage";
            this.CreateFirstPage.NewPageId = 0;
            this.CreateFirstPage.Title = "My First Page";
            activitybind5.Name = "GetUserGuid";
            activitybind5.Path = "UserGuid";
            this.CreateFirstPage.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("UserId", typeof(DashboardBusiness.Activities.CreateNewPageActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            // 
            // GetUserGuid
            // 
            this.GetUserGuid.Name = "GetUserGuid";
            this.GetUserGuid.UserGuid = new System.Guid("00000000-0000-0000-0000-000000000000");
            activitybind6.Name = "NewUserSetupWorkflow";
            activitybind6.Path = "UserName";
            this.GetUserGuid.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("UserName", typeof(DashboardBusiness.Activities.GetUserGuidActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            // 
            // NewUserSetupWorkflow
            // 
            this.Activities.Add(this.GetUserGuid);
            this.Activities.Add(this.CreateFirstPage);
            this.Activities.Add(this.FirstPageCreateCheck);
            this.Activities.Add(this.faultHandlersActivity1);
            this.Name = "NewUserSetupWorkflow";
            this.CanModifyActivities = false;

		}

		#endregion

        private IfElseBranchActivity Else1;
        private IfElseBranchActivity IfCreated1;
        private IfElseActivity SecondPageCheck;
        private CodeActivity SetException1;
        private FaultHandlersActivity faultHandlersActivity1;
        private CodeActivity SetException;
        private IfElseBranchActivity IfCreated;
        private IfElseActivity FirstPageCreateCheck;
        private IfElseBranchActivity Else;
        private DashboardBusiness.Activities.CallWorkflowActivity CallWorkflow;
        private DashboardBusiness.Activities.GetUserGuidActivity GetUserGuid;
        private DashboardBusiness.Activities.CreateNewPageActivity CreateFirstPage;
        private DashboardBusiness.Activities.CreateNewPageActivity Create2ndPage;
        private DashboardBusiness.Activities.CreateDeafultWidgetsOnPageActivity CreateDefaultWidgetsOnPage1;


















































































































    }
}

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)

About the Author


| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 10 Mar 2010
Article Copyright 2007 by Omar Al Zabir
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid