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 CPOL
Build a Start Page similar to Google IG in 7 nights using ASP.NET AJAX, .NET 3.0, LINQ, DLinq, and XLinq.
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
Dashboard.bak
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections.Generic;
using System.Drawing;
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;

using DashboardDataAccess;

namespace DashboardBusiness
{
	public sealed partial class UserVisitWorkflow: SequentialWorkflowActivity
	{
		public UserVisitWorkflow()
		{
			InitializeComponent();
		}

        public static DependencyProperty UserNameProperty = DependencyProperty.Register("UserName", typeof(System.String), typeof(DashboardBusiness.UserVisitWorkflow));

        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        [BrowsableAttribute(true)]
        [CategoryAttribute("Misc")]
        public String UserName
        {
            get
            {
                return ((string)(base.GetValue(DashboardBusiness.UserVisitWorkflow.UserNameProperty)));
            }
            set
            {
                base.SetValue(DashboardBusiness.UserVisitWorkflow.UserNameProperty, value);
            }
        }

        public static DependencyProperty UserPageSetupProperty = DependencyProperty.Register("UserPageSetup", typeof(UserPageSetup), typeof(DashboardBusiness.UserVisitWorkflow));

        [BrowsableAttribute(true)]
        [CategoryAttribute("Misc")]
        public UserPageSetup UserPageSetup
        {
            get
            {
                return ((UserPageSetup)(base.GetValue(DashboardBusiness.UserVisitWorkflow.UserPageSetupProperty)));
            }
            set
            {
                base.SetValue(DashboardBusiness.UserVisitWorkflow.UserPageSetupProperty, value);
            }
        }

        public static DependencyProperty UserPagesProperty = DependencyProperty.Register("UserPages", typeof(System.Collections.Generic.List<Page>), typeof(DashboardBusiness.UserVisitWorkflow));

        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        [BrowsableAttribute(true)]
        [CategoryAttribute("Misc")]
        public System.Collections.Generic.List<Page> UserPages
        {
            get
            {
                return ((System.Collections.Generic.List<Page>)(base.GetValue(DashboardBusiness.UserVisitWorkflow.UserPagesProperty)));
            }
            set
            {
                base.SetValue(DashboardBusiness.UserVisitWorkflow.UserPagesProperty, value);
            }
        }

        private void UserHasPageCode_ExecuteCode(object sender, EventArgs e)
        {
            System.Diagnostics.Debug.WriteLine("User has pages");
        }

        public static DependencyProperty ReturnPages_MethodInvoking1Event = DependencyProperty.Register("ReturnPages_MethodInvoking1", typeof(System.EventHandler), typeof(DashboardBusiness.UserVisitWorkflow));

        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        [BrowsableAttribute(true)]
        [CategoryAttribute("Handlers")]
        public event EventHandler ReturnPages_MethodInvoking1
        {
            add
            {
                base.AddHandler(ReturnPages_MethodInvoking1Event, value);
            }
            remove
            {
                base.RemoveHandler(ReturnPages_MethodInvoking1Event, value);
            }
        }


        private void ReturnUserPageSetup_ExecuteCode(object sender, EventArgs e)
        {
            this.UserPageSetup.Pages = this.GetUserPages.Pages;
            this.UserPageSetup.UserSetting = this.GetUserSetting.UserSetting;
            this.UserPageSetup.WidgetInstances = this.GetWidgetsInCurrentPage.WidgetInstances;
        }

        
	}

}

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

Omar Al Zabir
Architect BT, UK (ex British Telecom)
United Kingdom United Kingdom

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