Assignment 6 complete.
This commit is contained in:
parent
445d67b4f2
commit
de95f591fd
202 changed files with 47956 additions and 8907 deletions
0
Assignment4/Assignment4.sln
Normal file → Executable file
0
Assignment4/Assignment4.sln
Normal file → Executable file
0
Assignment4/Assignment4/Assignment4.csproj
Normal file → Executable file
0
Assignment4/Assignment4/Assignment4.csproj
Normal file → Executable file
0
Assignment4/Assignment4/Properties/AssemblyInfo.cs
Normal file → Executable file
0
Assignment4/Assignment4/Properties/AssemblyInfo.cs
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/DetailsView.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/DetailsView.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/Focus.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/Focus.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/GridView.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/GridView.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjax.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjax.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxApplicationServices.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxApplicationServices.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxComponentModel.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxComponentModel.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxCore.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxCore.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxGlobalization.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxGlobalization.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxHistory.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxHistory.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxNetwork.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxNetwork.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxSerialization.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxSerialization.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxTimer.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxTimer.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxWebForms.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxWebForms.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxWebServices.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MSAjax/MicrosoftAjaxWebServices.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/Menu.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/Menu.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MenuStandards.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/MenuStandards.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/SmartNav.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/SmartNav.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/TreeView.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/TreeView.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/WebForms.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/WebForms.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/WebParts.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/WebParts.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/WebUIValidation.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/WebForms/WebUIValidation.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.bundle.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.bundle.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.bundle.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.bundle.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.esm.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.esm.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.esm.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.esm.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/bootstrap.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.intellisense.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.intellisense.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.slim.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.slim.js
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.slim.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/jquery-3.4.1.slim.min.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/modernizr-2.8.3.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Scripts/modernizr-2.8.3.js
vendored
Normal file → Executable file
0
Assignment4/Assignment4/Web.Debug.config
Normal file → Executable file
0
Assignment4/Assignment4/Web.Debug.config
Normal file → Executable file
0
Assignment4/Assignment4/Web.Release.config
Normal file → Executable file
0
Assignment4/Assignment4/Web.Release.config
Normal file → Executable file
0
Assignment4/Assignment4/Web.config
Normal file → Executable file
0
Assignment4/Assignment4/Web.config
Normal file → Executable file
0
Assignment4/Assignment4/packages.config
Normal file → Executable file
0
Assignment4/Assignment4/packages.config
Normal file → Executable file
0
Assignment4/Assignment4/styles/calc.css
Normal file → Executable file
0
Assignment4/Assignment4/styles/calc.css
Normal file → Executable file
|
@ -1,25 +1,25 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.34114.132
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assignment5", "Assignment5\Assignment5.csproj", "{65DA8B9E-549F-4FB8-81FB-409D90025FC4}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{65DA8B9E-549F-4FB8-81FB-409D90025FC4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{65DA8B9E-549F-4FB8-81FB-409D90025FC4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{65DA8B9E-549F-4FB8-81FB-409D90025FC4}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{65DA8B9E-549F-4FB8-81FB-409D90025FC4}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F8278098-F6FE-4466-BD56-B3454F827362}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.34114.132
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assignment5", "Assignment5\Assignment5.csproj", "{65DA8B9E-549F-4FB8-81FB-409D90025FC4}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{65DA8B9E-549F-4FB8-81FB-409D90025FC4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{65DA8B9E-549F-4FB8-81FB-409D90025FC4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{65DA8B9E-549F-4FB8-81FB-409D90025FC4}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{65DA8B9E-549F-4FB8-81FB-409D90025FC4}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F8278098-F6FE-4466-BD56-B3454F827362}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<%@ Page Title="About" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="About.aspx.cs" Inherits="Assignment5.About" %>
|
||||
|
||||
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<h2><%: Title %>.</h2>
|
||||
<h3>Your application description page.</h3>
|
||||
<p>Use this area to provide additional information.</p>
|
||||
</asp:Content>
|
||||
<%@ Page Title="About" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="About.aspx.cs" Inherits="Assignment5.About" %>
|
||||
|
||||
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<h2><%: Title %>.</h2>
|
||||
<h3>Your application description page.</h3>
|
||||
<p>Use this area to provide additional information.</p>
|
||||
</asp:Content>
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class About : Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class About : Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
32
Assignment5/Assignment5/About.aspx.designer.cs
generated
32
Assignment5/Assignment5/About.aspx.designer.cs
generated
|
@ -1,16 +1,16 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class About
|
||||
{
|
||||
}
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class About
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,38 +1,38 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Optimization;
|
||||
using System.Web.UI;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public class BundleConfig
|
||||
{
|
||||
// For more information on Bundling, visit https://go.microsoft.com/fwlink/?LinkID=303951
|
||||
public static void RegisterBundles(BundleCollection bundles)
|
||||
{
|
||||
bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include(
|
||||
"~/Scripts/WebForms/WebForms.js",
|
||||
"~/Scripts/WebForms/WebUIValidation.js",
|
||||
"~/Scripts/WebForms/MenuStandards.js",
|
||||
"~/Scripts/WebForms/Focus.js",
|
||||
"~/Scripts/WebForms/GridView.js",
|
||||
"~/Scripts/WebForms/DetailsView.js",
|
||||
"~/Scripts/WebForms/TreeView.js",
|
||||
"~/Scripts/WebForms/WebParts.js"));
|
||||
|
||||
// Order is very important for these files to work, they have explicit dependencies
|
||||
bundles.Add(new ScriptBundle("~/bundles/MsAjaxJs").Include(
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjax.js",
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js",
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js",
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js"));
|
||||
|
||||
// Use the Development version of Modernizr to develop with and learn from. Then, when you’re
|
||||
// ready for production, use the build tool at https://modernizr.com to pick only the tests you need
|
||||
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
|
||||
"~/Scripts/modernizr-*"));
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Optimization;
|
||||
using System.Web.UI;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public class BundleConfig
|
||||
{
|
||||
// For more information on Bundling, visit https://go.microsoft.com/fwlink/?LinkID=303951
|
||||
public static void RegisterBundles(BundleCollection bundles)
|
||||
{
|
||||
bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include(
|
||||
"~/Scripts/WebForms/WebForms.js",
|
||||
"~/Scripts/WebForms/WebUIValidation.js",
|
||||
"~/Scripts/WebForms/MenuStandards.js",
|
||||
"~/Scripts/WebForms/Focus.js",
|
||||
"~/Scripts/WebForms/GridView.js",
|
||||
"~/Scripts/WebForms/DetailsView.js",
|
||||
"~/Scripts/WebForms/TreeView.js",
|
||||
"~/Scripts/WebForms/WebParts.js"));
|
||||
|
||||
// Order is very important for these files to work, they have explicit dependencies
|
||||
bundles.Add(new ScriptBundle("~/bundles/MsAjaxJs").Include(
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjax.js",
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js",
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js",
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js"));
|
||||
|
||||
// Use the Development version of Modernizr to develop with and learn from. Then, when you’re
|
||||
// ready for production, use the build tool at https://modernizr.com to pick only the tests you need
|
||||
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
|
||||
"~/Scripts/modernizr-*"));
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,18 +1,18 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Web.Routing;
|
||||
using Microsoft.AspNet.FriendlyUrls;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public static class RouteConfig
|
||||
{
|
||||
public static void RegisterRoutes(RouteCollection routes)
|
||||
{
|
||||
var settings = new FriendlyUrlSettings();
|
||||
settings.AutoRedirectMode = RedirectMode.Permanent;
|
||||
routes.EnableFriendlyUrls(settings);
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Web.Routing;
|
||||
using Microsoft.AspNet.FriendlyUrls;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public static class RouteConfig
|
||||
{
|
||||
public static void RegisterRoutes(RouteCollection routes)
|
||||
{
|
||||
var settings = new FriendlyUrlSettings();
|
||||
settings.AutoRedirectMode = RedirectMode.Permanent;
|
||||
routes.EnableFriendlyUrls(settings);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,320 +1,320 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>
|
||||
</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{65DA8B9E-549F-4FB8-81FB-409D90025FC4}</ProjectGuid>
|
||||
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Assignment5</RootNamespace>
|
||||
<AssemblyName>Assignment5</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<Use64BitIISExpress />
|
||||
<IISExpressSSLPort />
|
||||
<IISExpressAnonymousAuthentication />
|
||||
<IISExpressWindowsAuthentication />
|
||||
<IISExpressUseClassicPipelineMode />
|
||||
<UseGlobalApplicationHostFile />
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Web.Services" />
|
||||
<Reference Include="System.EnterpriseServices" />
|
||||
<Reference Include="System.Web.DynamicData" />
|
||||
<Reference Include="System.Web.Entity" />
|
||||
<Reference Include="System.Web.ApplicationServices" />
|
||||
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AspNet.ScriptManager.bootstrap">
|
||||
<HintPath>..\packages\AspNet.ScriptManager.bootstrap.3.4.1\lib\net45\AspNet.ScriptManager.bootstrap.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AspNet.ScriptManager.jQuery">
|
||||
<HintPath>..\packages\AspNet.ScriptManager.jQuery.3.4.1\lib\net45\AspNet.ScriptManager.jQuery.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.ScriptManager.MSAjax">
|
||||
<HintPath>..\packages\Microsoft.AspNet.ScriptManager.MSAjax.5.0.0\lib\net45\Microsoft.ScriptManager.MSAjax.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.ScriptManager.WebForms">
|
||||
<HintPath>..\packages\Microsoft.AspNet.ScriptManager.WebForms.5.0.0\lib\net45\Microsoft.ScriptManager.WebForms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Optimization, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
|
||||
<HintPath>..\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json">
|
||||
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WebGrease">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\WebGrease.1.6.0\lib\WebGrease.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Antlr3.Runtime">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.AspNet.Web.Optimization.WebForms">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.Web.Optimization.WebForms.1.1.3\lib\net45\Microsoft.AspNet.Web.Optimization.WebForms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.AspNet.FriendlyUrls">
|
||||
<HintPath>..\packages\Microsoft.AspNet.FriendlyUrls.Core.1.0.2\lib\net45\Microsoft.AspNet.FriendlyUrls.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.CodeDom.Providers.DotNetCompilerPlatform">
|
||||
<HintPath>..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="About.aspx" />
|
||||
<Content Include="Contact.aspx" />
|
||||
<Content Include="contentPages\article1.aspx" />
|
||||
<Content Include="contentPages\article2.aspx" />
|
||||
<Content Include="contentPages\article3.aspx" />
|
||||
<Content Include="contentPages\calculator.aspx" />
|
||||
<Content Include="contentPages\home.aspx" />
|
||||
<Content Include="Content\bootstrap-theme.css" />
|
||||
<Content Include="Content\bootstrap-theme.min.css" />
|
||||
<Content Include="Content\bootstrap.css" />
|
||||
<Content Include="Content\bootstrap.min.css" />
|
||||
<Content Include="Content\Site.css" />
|
||||
<Content Include="Default.aspx" />
|
||||
<Content Include="favicon.ico" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.svg" />
|
||||
<Content Include="Global.asax" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.woff2" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.woff" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.ttf" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.eot" />
|
||||
<Content Include="Content\bootstrap.min.css.map" />
|
||||
<Content Include="Content\bootstrap.css.map" />
|
||||
<Content Include="Content\bootstrap-theme.min.css.map" />
|
||||
<Content Include="Content\bootstrap-theme.css.map" />
|
||||
<Content Include="index.html" />
|
||||
<Content Include="masterPages\masterPage1.Master" />
|
||||
<Content Include="fonts\Oswald-Regular.ttf" />
|
||||
<Content Include="fonts\Quicksand-Regular.ttf" />
|
||||
<None Include="Scripts\jquery-3.4.1.intellisense.js" />
|
||||
<Content Include="images\avatar.png" />
|
||||
<Content Include="images\hlaScreenshot.jpg" />
|
||||
<Content Include="images\mcScreenshot.png" />
|
||||
<Content Include="Scripts\bootstrap.js" />
|
||||
<Content Include="Scripts\bootstrap.min.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.min.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.slim.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.slim.min.js" />
|
||||
<Content Include="Scripts\modernizr-2.8.3.js" />
|
||||
<Content Include="Scripts\WebForms\DetailsView.js" />
|
||||
<Content Include="Scripts\WebForms\Focus.js" />
|
||||
<Content Include="Scripts\WebForms\GridView.js" />
|
||||
<Content Include="Scripts\WebForms\Menu.js" />
|
||||
<Content Include="Scripts\WebForms\MenuStandards.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjax.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxApplicationServices.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxComponentModel.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxCore.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxGlobalization.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxHistory.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxNetwork.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxSerialization.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxTimer.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxWebForms.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxWebServices.js" />
|
||||
<Content Include="Scripts\WebForms\SmartNav.js" />
|
||||
<Content Include="Scripts\WebForms\TreeView.js" />
|
||||
<Content Include="Scripts\WebForms\WebForms.js" />
|
||||
<Content Include="Scripts\WebForms\WebParts.js" />
|
||||
<Content Include="Scripts\WebForms\WebUIValidation.js" />
|
||||
<Content Include="Site.Master" />
|
||||
<Content Include="styles\main.css" />
|
||||
<Content Include="styles\reset.css" />
|
||||
<Content Include="ViewSwitcher.ascx" />
|
||||
<Content Include="Web.config" />
|
||||
<Content Include="Bundle.config" />
|
||||
<Content Include="Site.Mobile.Master" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="App_Start\BundleConfig.cs" />
|
||||
<Compile Include="About.aspx.cs">
|
||||
<DependentUpon>About.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="About.aspx.designer.cs">
|
||||
<DependentUpon>About.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="App_Start\RouteConfig.cs" />
|
||||
<Compile Include="Contact.aspx.cs">
|
||||
<DependentUpon>Contact.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Contact.aspx.designer.cs">
|
||||
<DependentUpon>Contact.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\article1.aspx.cs">
|
||||
<DependentUpon>article1.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\article1.aspx.designer.cs">
|
||||
<DependentUpon>article1.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\article2.aspx.cs">
|
||||
<DependentUpon>article2.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\article2.aspx.designer.cs">
|
||||
<DependentUpon>article2.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\article3.aspx.cs">
|
||||
<DependentUpon>article3.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\article3.aspx.designer.cs">
|
||||
<DependentUpon>article3.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\calculator.aspx.cs">
|
||||
<DependentUpon>calculator.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\calculator.aspx.designer.cs">
|
||||
<DependentUpon>calculator.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\home.aspx.cs">
|
||||
<DependentUpon>home.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\home.aspx.designer.cs">
|
||||
<DependentUpon>home.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Default.aspx.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Default.aspx.designer.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Global.asax.cs">
|
||||
<DependentUpon>Global.asax</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="masterPages\masterPage1.Master.cs">
|
||||
<DependentUpon>masterPage1.Master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="masterPages\masterPage1.Master.designer.cs">
|
||||
<DependentUpon>masterPage1.Master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Site.Master.cs">
|
||||
<DependentUpon>Site.Master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Site.Master.designer.cs">
|
||||
<DependentUpon>Site.Master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Site.Mobile.Master.cs">
|
||||
<DependentUpon>Site.Mobile.Master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Site.Mobile.Master.designer.cs">
|
||||
<DependentUpon>Site.Mobile.Master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ViewSwitcher.ascx.cs">
|
||||
<DependentUpon>ViewSwitcher.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ViewSwitcher.ascx.designer.cs">
|
||||
<DependentUpon>ViewSwitcher.ascx</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="App_Data\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
<Content Include="Scripts\jquery-3.4.1.slim.min.map" />
|
||||
<Content Include="Scripts\jquery-3.4.1.min.map" />
|
||||
<None Include="Web.Debug.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
<None Include="Web.Release.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
||||
<WebProjectProperties>
|
||||
<UseIIS>True</UseIIS>
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>49817</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||
<IISUrl>http://localhost:49817/</IISUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
<UseCustomServer>False</UseCustomServer>
|
||||
<CustomServerUrl>
|
||||
</CustomServerUrl>
|
||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||
</WebProjectProperties>
|
||||
</FlavorProperties>
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
|
||||
</Target>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>
|
||||
</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{65DA8B9E-549F-4FB8-81FB-409D90025FC4}</ProjectGuid>
|
||||
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Assignment5</RootNamespace>
|
||||
<AssemblyName>Assignment5</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<Use64BitIISExpress />
|
||||
<IISExpressSSLPort />
|
||||
<IISExpressAnonymousAuthentication />
|
||||
<IISExpressWindowsAuthentication />
|
||||
<IISExpressUseClassicPipelineMode />
|
||||
<UseGlobalApplicationHostFile />
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Web.Services" />
|
||||
<Reference Include="System.EnterpriseServices" />
|
||||
<Reference Include="System.Web.DynamicData" />
|
||||
<Reference Include="System.Web.Entity" />
|
||||
<Reference Include="System.Web.ApplicationServices" />
|
||||
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AspNet.ScriptManager.bootstrap">
|
||||
<HintPath>..\packages\AspNet.ScriptManager.bootstrap.3.4.1\lib\net45\AspNet.ScriptManager.bootstrap.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AspNet.ScriptManager.jQuery">
|
||||
<HintPath>..\packages\AspNet.ScriptManager.jQuery.3.4.1\lib\net45\AspNet.ScriptManager.jQuery.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.ScriptManager.MSAjax">
|
||||
<HintPath>..\packages\Microsoft.AspNet.ScriptManager.MSAjax.5.0.0\lib\net45\Microsoft.ScriptManager.MSAjax.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.ScriptManager.WebForms">
|
||||
<HintPath>..\packages\Microsoft.AspNet.ScriptManager.WebForms.5.0.0\lib\net45\Microsoft.ScriptManager.WebForms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Optimization, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
|
||||
<HintPath>..\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json">
|
||||
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WebGrease">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\WebGrease.1.6.0\lib\WebGrease.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Antlr3.Runtime">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.AspNet.Web.Optimization.WebForms">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.Web.Optimization.WebForms.1.1.3\lib\net45\Microsoft.AspNet.Web.Optimization.WebForms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.AspNet.FriendlyUrls">
|
||||
<HintPath>..\packages\Microsoft.AspNet.FriendlyUrls.Core.1.0.2\lib\net45\Microsoft.AspNet.FriendlyUrls.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.CodeDom.Providers.DotNetCompilerPlatform">
|
||||
<HintPath>..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="About.aspx" />
|
||||
<Content Include="Contact.aspx" />
|
||||
<Content Include="contentPages\article1.aspx" />
|
||||
<Content Include="contentPages\article2.aspx" />
|
||||
<Content Include="contentPages\article3.aspx" />
|
||||
<Content Include="contentPages\calculator.aspx" />
|
||||
<Content Include="contentPages\home.aspx" />
|
||||
<Content Include="Content\bootstrap-theme.css" />
|
||||
<Content Include="Content\bootstrap-theme.min.css" />
|
||||
<Content Include="Content\bootstrap.css" />
|
||||
<Content Include="Content\bootstrap.min.css" />
|
||||
<Content Include="Content\Site.css" />
|
||||
<Content Include="Default.aspx" />
|
||||
<Content Include="favicon.ico" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.svg" />
|
||||
<Content Include="Global.asax" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.woff2" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.woff" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.ttf" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.eot" />
|
||||
<Content Include="Content\bootstrap.min.css.map" />
|
||||
<Content Include="Content\bootstrap.css.map" />
|
||||
<Content Include="Content\bootstrap-theme.min.css.map" />
|
||||
<Content Include="Content\bootstrap-theme.css.map" />
|
||||
<Content Include="index.html" />
|
||||
<Content Include="masterPages\masterPage1.Master" />
|
||||
<Content Include="fonts\Oswald-Regular.ttf" />
|
||||
<Content Include="fonts\Quicksand-Regular.ttf" />
|
||||
<None Include="Scripts\jquery-3.4.1.intellisense.js" />
|
||||
<Content Include="images\avatar.png" />
|
||||
<Content Include="images\hlaScreenshot.jpg" />
|
||||
<Content Include="images\mcScreenshot.png" />
|
||||
<Content Include="Scripts\bootstrap.js" />
|
||||
<Content Include="Scripts\bootstrap.min.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.min.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.slim.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.slim.min.js" />
|
||||
<Content Include="Scripts\modernizr-2.8.3.js" />
|
||||
<Content Include="Scripts\WebForms\DetailsView.js" />
|
||||
<Content Include="Scripts\WebForms\Focus.js" />
|
||||
<Content Include="Scripts\WebForms\GridView.js" />
|
||||
<Content Include="Scripts\WebForms\Menu.js" />
|
||||
<Content Include="Scripts\WebForms\MenuStandards.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjax.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxApplicationServices.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxComponentModel.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxCore.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxGlobalization.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxHistory.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxNetwork.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxSerialization.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxTimer.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxWebForms.js" />
|
||||
<Content Include="Scripts\WebForms\MSAjax\MicrosoftAjaxWebServices.js" />
|
||||
<Content Include="Scripts\WebForms\SmartNav.js" />
|
||||
<Content Include="Scripts\WebForms\TreeView.js" />
|
||||
<Content Include="Scripts\WebForms\WebForms.js" />
|
||||
<Content Include="Scripts\WebForms\WebParts.js" />
|
||||
<Content Include="Scripts\WebForms\WebUIValidation.js" />
|
||||
<Content Include="Site.Master" />
|
||||
<Content Include="styles\main.css" />
|
||||
<Content Include="styles\reset.css" />
|
||||
<Content Include="ViewSwitcher.ascx" />
|
||||
<Content Include="Web.config" />
|
||||
<Content Include="Bundle.config" />
|
||||
<Content Include="Site.Mobile.Master" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="App_Start\BundleConfig.cs" />
|
||||
<Compile Include="About.aspx.cs">
|
||||
<DependentUpon>About.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="About.aspx.designer.cs">
|
||||
<DependentUpon>About.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="App_Start\RouteConfig.cs" />
|
||||
<Compile Include="Contact.aspx.cs">
|
||||
<DependentUpon>Contact.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Contact.aspx.designer.cs">
|
||||
<DependentUpon>Contact.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\article1.aspx.cs">
|
||||
<DependentUpon>article1.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\article1.aspx.designer.cs">
|
||||
<DependentUpon>article1.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\article2.aspx.cs">
|
||||
<DependentUpon>article2.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\article2.aspx.designer.cs">
|
||||
<DependentUpon>article2.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\article3.aspx.cs">
|
||||
<DependentUpon>article3.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\article3.aspx.designer.cs">
|
||||
<DependentUpon>article3.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\calculator.aspx.cs">
|
||||
<DependentUpon>calculator.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\calculator.aspx.designer.cs">
|
||||
<DependentUpon>calculator.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\home.aspx.cs">
|
||||
<DependentUpon>home.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="contentPages\home.aspx.designer.cs">
|
||||
<DependentUpon>home.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Default.aspx.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Default.aspx.designer.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Global.asax.cs">
|
||||
<DependentUpon>Global.asax</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="masterPages\masterPage1.Master.cs">
|
||||
<DependentUpon>masterPage1.Master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="masterPages\masterPage1.Master.designer.cs">
|
||||
<DependentUpon>masterPage1.Master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Site.Master.cs">
|
||||
<DependentUpon>Site.Master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Site.Master.designer.cs">
|
||||
<DependentUpon>Site.Master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Site.Mobile.Master.cs">
|
||||
<DependentUpon>Site.Mobile.Master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Site.Mobile.Master.designer.cs">
|
||||
<DependentUpon>Site.Mobile.Master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ViewSwitcher.ascx.cs">
|
||||
<DependentUpon>ViewSwitcher.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ViewSwitcher.ascx.designer.cs">
|
||||
<DependentUpon>ViewSwitcher.ascx</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="App_Data\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
<Content Include="Scripts\jquery-3.4.1.slim.min.map" />
|
||||
<Content Include="Scripts\jquery-3.4.1.min.map" />
|
||||
<None Include="Web.Debug.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
<None Include="Web.Release.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
||||
<WebProjectProperties>
|
||||
<UseIIS>True</UseIIS>
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>49817</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||
<IISUrl>http://localhost:49817/</IISUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
<UseCustomServer>False</UseCustomServer>
|
||||
<CustomServerUrl>
|
||||
</CustomServerUrl>
|
||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||
</WebProjectProperties>
|
||||
</FlavorProperties>
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
|
||||
</Target>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<bundles version="1.0">
|
||||
<styleBundle path="~/Content/css">
|
||||
<include path="~/Content/bootstrap.css" />
|
||||
<include path="~/Content/Site.css" />
|
||||
</styleBundle>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<bundles version="1.0">
|
||||
<styleBundle path="~/Content/css">
|
||||
<include path="~/Content/bootstrap.css" />
|
||||
<include path="~/Content/Site.css" />
|
||||
</styleBundle>
|
||||
</bundles>
|
|
@ -1,17 +1,17 @@
|
|||
<%@ Page Title="Contact" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Contact.aspx.cs" Inherits="Assignment5.Contact" %>
|
||||
|
||||
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<h2><%: Title %>.</h2>
|
||||
<h3>Your contact page.</h3>
|
||||
<address>
|
||||
One Microsoft Way<br />
|
||||
Redmond, WA 98052-6399<br />
|
||||
<abbr title="Phone">P:</abbr>
|
||||
425.555.0100
|
||||
</address>
|
||||
|
||||
<address>
|
||||
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.com</a><br />
|
||||
<strong>Marketing:</strong> <a href="mailto:Marketing@example.com">Marketing@example.com</a>
|
||||
</address>
|
||||
</asp:Content>
|
||||
<%@ Page Title="Contact" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Contact.aspx.cs" Inherits="Assignment5.Contact" %>
|
||||
|
||||
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<h2><%: Title %>.</h2>
|
||||
<h3>Your contact page.</h3>
|
||||
<address>
|
||||
One Microsoft Way<br />
|
||||
Redmond, WA 98052-6399<br />
|
||||
<abbr title="Phone">P:</abbr>
|
||||
425.555.0100
|
||||
</address>
|
||||
|
||||
<address>
|
||||
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.com</a><br />
|
||||
<strong>Marketing:</strong> <a href="mailto:Marketing@example.com">Marketing@example.com</a>
|
||||
</address>
|
||||
</asp:Content>
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class Contact : Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class Contact : Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
32
Assignment5/Assignment5/Contact.aspx.designer.cs
generated
32
Assignment5/Assignment5/Contact.aspx.designer.cs
generated
|
@ -1,16 +1,16 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class Contact
|
||||
{
|
||||
}
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class Contact
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,31 +1,31 @@
|
|||
/* Move down content because we have a fixed navbar that is 50px tall */
|
||||
body {
|
||||
padding-top: 50px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Wrapping element */
|
||||
/* Set some basic padding to keep content from hitting the edges */
|
||||
.body-content {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
/* Set widths on the form inputs since otherwise they're 100% wide */
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
max-width: 280px;
|
||||
}
|
||||
|
||||
|
||||
/* Responsive: Portrait tablets and up */
|
||||
@media screen and (min-width: 768px) {
|
||||
.jumbotron {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.body-content {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
/* Move down content because we have a fixed navbar that is 50px tall */
|
||||
body {
|
||||
padding-top: 50px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Wrapping element */
|
||||
/* Set some basic padding to keep content from hitting the edges */
|
||||
.body-content {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
/* Set widths on the form inputs since otherwise they're 100% wide */
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
max-width: 280px;
|
||||
}
|
||||
|
||||
|
||||
/* Responsive: Portrait tablets and up */
|
||||
@media screen and (min-width: 768px) {
|
||||
.jumbotron {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.body-content {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,42 +1,42 @@
|
|||
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Assignment5._Default" %>
|
||||
|
||||
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
|
||||
<div class="jumbotron">
|
||||
<h1>ASP.NET</h1>
|
||||
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS, and JavaScript.</p>
|
||||
<p><a href="http://www.asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<h2>Getting started</h2>
|
||||
<p>
|
||||
ASP.NET Web Forms lets you build dynamic websites using a familiar drag-and-drop, event-driven model.
|
||||
A design surface and hundreds of controls and components let you rapidly build sophisticated, powerful UI-driven sites with data access.
|
||||
</p>
|
||||
<p>
|
||||
<a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301948">Learn more »</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h2>Get more libraries</h2>
|
||||
<p>
|
||||
NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.
|
||||
</p>
|
||||
<p>
|
||||
<a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301949">Learn more »</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h2>Web Hosting</h2>
|
||||
<p>
|
||||
You can easily find a web hosting company that offers the right mix of features and price for your applications.
|
||||
</p>
|
||||
<p>
|
||||
<a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301950">Learn more »</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</asp:Content>
|
||||
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Assignment5._Default" %>
|
||||
|
||||
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
|
||||
<div class="jumbotron">
|
||||
<h1>ASP.NET</h1>
|
||||
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS, and JavaScript.</p>
|
||||
<p><a href="http://www.asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<h2>Getting started</h2>
|
||||
<p>
|
||||
ASP.NET Web Forms lets you build dynamic websites using a familiar drag-and-drop, event-driven model.
|
||||
A design surface and hundreds of controls and components let you rapidly build sophisticated, powerful UI-driven sites with data access.
|
||||
</p>
|
||||
<p>
|
||||
<a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301948">Learn more »</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h2>Get more libraries</h2>
|
||||
<p>
|
||||
NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.
|
||||
</p>
|
||||
<p>
|
||||
<a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301949">Learn more »</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h2>Web Hosting</h2>
|
||||
<p>
|
||||
You can easily find a web hosting company that offers the right mix of features and price for your applications.
|
||||
</p>
|
||||
<p>
|
||||
<a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301950">Learn more »</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</asp:Content>
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class _Default : Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class _Default : Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
32
Assignment5/Assignment5/Default.aspx.designer.cs
generated
32
Assignment5/Assignment5/Default.aspx.designer.cs
generated
|
@ -1,16 +1,16 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class _Default
|
||||
{
|
||||
}
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class _Default
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
<%@ Application Codebehind="Global.asax.cs" Inherits="Assignment5.Global" Language="C#" %>
|
||||
<%@ Application Codebehind="Global.asax.cs" Inherits="Assignment5.Global" Language="C#" %>
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Optimization;
|
||||
using System.Web.Routing;
|
||||
using System.Web.Security;
|
||||
using System.Web.SessionState;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public class Global : HttpApplication
|
||||
{
|
||||
void Application_Start(object sender, EventArgs e)
|
||||
{
|
||||
// Code that runs on application startup
|
||||
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
||||
BundleConfig.RegisterBundles(BundleTable.Bundles);
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Optimization;
|
||||
using System.Web.Routing;
|
||||
using System.Web.Security;
|
||||
using System.Web.SessionState;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public class Global : HttpApplication
|
||||
{
|
||||
void Application_Start(object sender, EventArgs e)
|
||||
{
|
||||
// Code that runs on application startup
|
||||
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
||||
BundleConfig.RegisterBundles(BundleTable.Bundles);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,35 +1,35 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Assignment5")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Assignment5")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2023")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("65da8b9e-549f-4fb8-81fb-409d90025fc4")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Assignment5")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Assignment5")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2023")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("65da8b9e-549f-4fb8-81fb-409d90025fc4")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
|
|
68
Assignment5/Assignment5/Scripts/WebForms/DetailsView.js
Normal file → Executable file
68
Assignment5/Assignment5/Scripts/WebForms/DetailsView.js
Normal file → Executable file
|
@ -1,34 +1,34 @@
|
|||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/DetailsView.js
|
||||
function DetailsView() {
|
||||
this.pageIndex = null;
|
||||
this.dataKeys = null;
|
||||
this.createPropertyString = DetailsView_createPropertyString;
|
||||
this.setStateField = DetailsView_setStateValue;
|
||||
this.getHiddenFieldContents = DetailsView_getHiddenFieldContents;
|
||||
this.stateField = null;
|
||||
this.panelElement = null;
|
||||
this.callback = null;
|
||||
}
|
||||
function DetailsView_createPropertyString() {
|
||||
return createPropertyStringFromValues_DetailsView(this.pageIndex, this.dataKeys);
|
||||
}
|
||||
function DetailsView_setStateValue() {
|
||||
this.stateField.value = this.createPropertyString();
|
||||
}
|
||||
function DetailsView_OnCallback (result, context) {
|
||||
var value = new String(result);
|
||||
var valsArray = value.split("|");
|
||||
var innerHtml = valsArray[2];
|
||||
for (var i = 3; i < valsArray.length; i++) {
|
||||
innerHtml += "|" + valsArray[i];
|
||||
}
|
||||
context.panelElement.innerHTML = innerHtml;
|
||||
context.stateField.value = createPropertyStringFromValues_DetailsView(valsArray[0], valsArray[1]);
|
||||
}
|
||||
function DetailsView_getHiddenFieldContents(arg) {
|
||||
return arg + "|" + this.stateField.value;
|
||||
}
|
||||
function createPropertyStringFromValues_DetailsView(pageIndex, dataKeys) {
|
||||
var value = new Array(pageIndex, dataKeys);
|
||||
return value.join("|");
|
||||
}
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/DetailsView.js
|
||||
function DetailsView() {
|
||||
this.pageIndex = null;
|
||||
this.dataKeys = null;
|
||||
this.createPropertyString = DetailsView_createPropertyString;
|
||||
this.setStateField = DetailsView_setStateValue;
|
||||
this.getHiddenFieldContents = DetailsView_getHiddenFieldContents;
|
||||
this.stateField = null;
|
||||
this.panelElement = null;
|
||||
this.callback = null;
|
||||
}
|
||||
function DetailsView_createPropertyString() {
|
||||
return createPropertyStringFromValues_DetailsView(this.pageIndex, this.dataKeys);
|
||||
}
|
||||
function DetailsView_setStateValue() {
|
||||
this.stateField.value = this.createPropertyString();
|
||||
}
|
||||
function DetailsView_OnCallback (result, context) {
|
||||
var value = new String(result);
|
||||
var valsArray = value.split("|");
|
||||
var innerHtml = valsArray[2];
|
||||
for (var i = 3; i < valsArray.length; i++) {
|
||||
innerHtml += "|" + valsArray[i];
|
||||
}
|
||||
context.panelElement.innerHTML = innerHtml;
|
||||
context.stateField.value = createPropertyStringFromValues_DetailsView(valsArray[0], valsArray[1]);
|
||||
}
|
||||
function DetailsView_getHiddenFieldContents(arg) {
|
||||
return arg + "|" + this.stateField.value;
|
||||
}
|
||||
function createPropertyStringFromValues_DetailsView(pageIndex, dataKeys) {
|
||||
var value = new Array(pageIndex, dataKeys);
|
||||
return value.join("|");
|
||||
}
|
||||
|
|
186
Assignment5/Assignment5/Scripts/WebForms/Focus.js
Normal file → Executable file
186
Assignment5/Assignment5/Scripts/WebForms/Focus.js
Normal file → Executable file
|
@ -1,93 +1,93 @@
|
|||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/WebForms.js
|
||||
function WebForm_FindFirstFocusableChild(control) {
|
||||
if (!control || !(control.tagName)) {
|
||||
return null;
|
||||
}
|
||||
var tagName = control.tagName.toLowerCase();
|
||||
if (tagName == "undefined") {
|
||||
return null;
|
||||
}
|
||||
var children = control.childNodes;
|
||||
if (children) {
|
||||
for (var i = 0; i < children.length; i++) {
|
||||
try {
|
||||
if (WebForm_CanFocus(children[i])) {
|
||||
return children[i];
|
||||
}
|
||||
else {
|
||||
var focused = WebForm_FindFirstFocusableChild(children[i]);
|
||||
if (WebForm_CanFocus(focused)) {
|
||||
return focused;
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function WebForm_AutoFocus(focusId) {
|
||||
var targetControl;
|
||||
if (__nonMSDOMBrowser) {
|
||||
targetControl = document.getElementById(focusId);
|
||||
}
|
||||
else {
|
||||
targetControl = document.all[focusId];
|
||||
}
|
||||
var focused = targetControl;
|
||||
if (targetControl && (!WebForm_CanFocus(targetControl)) ) {
|
||||
focused = WebForm_FindFirstFocusableChild(targetControl);
|
||||
}
|
||||
if (focused) {
|
||||
try {
|
||||
focused.focus();
|
||||
if (__nonMSDOMBrowser) {
|
||||
focused.scrollIntoView(false);
|
||||
}
|
||||
if (window.__smartNav) {
|
||||
window.__smartNav.ae = focused.id;
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
function WebForm_CanFocus(element) {
|
||||
if (!element || !(element.tagName)) return false;
|
||||
var tagName = element.tagName.toLowerCase();
|
||||
return (!(element.disabled) &&
|
||||
(!(element.type) || element.type.toLowerCase() != "hidden") &&
|
||||
WebForm_IsFocusableTag(tagName) &&
|
||||
WebForm_IsInVisibleContainer(element)
|
||||
);
|
||||
}
|
||||
function WebForm_IsFocusableTag(tagName) {
|
||||
return (tagName == "input" ||
|
||||
tagName == "textarea" ||
|
||||
tagName == "select" ||
|
||||
tagName == "button" ||
|
||||
tagName == "a");
|
||||
}
|
||||
function WebForm_IsInVisibleContainer(ctrl) {
|
||||
var current = ctrl;
|
||||
while((typeof(current) != "undefined") && (current != null)) {
|
||||
if (current.disabled ||
|
||||
( typeof(current.style) != "undefined" &&
|
||||
( ( typeof(current.style.display) != "undefined" &&
|
||||
current.style.display == "none") ||
|
||||
( typeof(current.style.visibility) != "undefined" &&
|
||||
current.style.visibility == "hidden") ) ) ) {
|
||||
return false;
|
||||
}
|
||||
if (typeof(current.parentNode) != "undefined" &&
|
||||
current.parentNode != null &&
|
||||
current.parentNode != current &&
|
||||
current.parentNode.tagName.toLowerCase() != "body") {
|
||||
current = current.parentNode;
|
||||
}
|
||||
else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/WebForms.js
|
||||
function WebForm_FindFirstFocusableChild(control) {
|
||||
if (!control || !(control.tagName)) {
|
||||
return null;
|
||||
}
|
||||
var tagName = control.tagName.toLowerCase();
|
||||
if (tagName == "undefined") {
|
||||
return null;
|
||||
}
|
||||
var children = control.childNodes;
|
||||
if (children) {
|
||||
for (var i = 0; i < children.length; i++) {
|
||||
try {
|
||||
if (WebForm_CanFocus(children[i])) {
|
||||
return children[i];
|
||||
}
|
||||
else {
|
||||
var focused = WebForm_FindFirstFocusableChild(children[i]);
|
||||
if (WebForm_CanFocus(focused)) {
|
||||
return focused;
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function WebForm_AutoFocus(focusId) {
|
||||
var targetControl;
|
||||
if (__nonMSDOMBrowser) {
|
||||
targetControl = document.getElementById(focusId);
|
||||
}
|
||||
else {
|
||||
targetControl = document.all[focusId];
|
||||
}
|
||||
var focused = targetControl;
|
||||
if (targetControl && (!WebForm_CanFocus(targetControl)) ) {
|
||||
focused = WebForm_FindFirstFocusableChild(targetControl);
|
||||
}
|
||||
if (focused) {
|
||||
try {
|
||||
focused.focus();
|
||||
if (__nonMSDOMBrowser) {
|
||||
focused.scrollIntoView(false);
|
||||
}
|
||||
if (window.__smartNav) {
|
||||
window.__smartNav.ae = focused.id;
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
function WebForm_CanFocus(element) {
|
||||
if (!element || !(element.tagName)) return false;
|
||||
var tagName = element.tagName.toLowerCase();
|
||||
return (!(element.disabled) &&
|
||||
(!(element.type) || element.type.toLowerCase() != "hidden") &&
|
||||
WebForm_IsFocusableTag(tagName) &&
|
||||
WebForm_IsInVisibleContainer(element)
|
||||
);
|
||||
}
|
||||
function WebForm_IsFocusableTag(tagName) {
|
||||
return (tagName == "input" ||
|
||||
tagName == "textarea" ||
|
||||
tagName == "select" ||
|
||||
tagName == "button" ||
|
||||
tagName == "a");
|
||||
}
|
||||
function WebForm_IsInVisibleContainer(ctrl) {
|
||||
var current = ctrl;
|
||||
while((typeof(current) != "undefined") && (current != null)) {
|
||||
if (current.disabled ||
|
||||
( typeof(current.style) != "undefined" &&
|
||||
( ( typeof(current.style.display) != "undefined" &&
|
||||
current.style.display == "none") ||
|
||||
( typeof(current.style.visibility) != "undefined" &&
|
||||
current.style.visibility == "hidden") ) ) ) {
|
||||
return false;
|
||||
}
|
||||
if (typeof(current.parentNode) != "undefined" &&
|
||||
current.parentNode != null &&
|
||||
current.parentNode != current &&
|
||||
current.parentNode.tagName.toLowerCase() != "body") {
|
||||
current = current.parentNode;
|
||||
}
|
||||
else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
72
Assignment5/Assignment5/Scripts/WebForms/GridView.js
Normal file → Executable file
72
Assignment5/Assignment5/Scripts/WebForms/GridView.js
Normal file → Executable file
|
@ -1,36 +1,36 @@
|
|||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/GridView.js
|
||||
function GridView() {
|
||||
this.pageIndex = null;
|
||||
this.sortExpression = null;
|
||||
this.sortDirection = null;
|
||||
this.dataKeys = null;
|
||||
this.createPropertyString = GridView_createPropertyString;
|
||||
this.setStateField = GridView_setStateValue;
|
||||
this.getHiddenFieldContents = GridView_getHiddenFieldContents;
|
||||
this.stateField = null;
|
||||
this.panelElement = null;
|
||||
this.callback = null;
|
||||
}
|
||||
function GridView_createPropertyString() {
|
||||
return createPropertyStringFromValues_GridView(this.pageIndex, this.sortDirection, this.sortExpression, this.dataKeys);
|
||||
}
|
||||
function GridView_setStateValue() {
|
||||
this.stateField.value = this.createPropertyString();
|
||||
}
|
||||
function GridView_OnCallback (result, context) {
|
||||
var value = new String(result);
|
||||
var valsArray = value.split("|");
|
||||
var innerHtml = valsArray[4];
|
||||
for (var i = 5; i < valsArray.length; i++) {
|
||||
innerHtml += "|" + valsArray[i];
|
||||
}
|
||||
context.panelElement.innerHTML = innerHtml;
|
||||
context.stateField.value = createPropertyStringFromValues_GridView(valsArray[0], valsArray[1], valsArray[2], valsArray[3]);
|
||||
}
|
||||
function GridView_getHiddenFieldContents(arg) {
|
||||
return arg + "|" + this.stateField.value;
|
||||
}
|
||||
function createPropertyStringFromValues_GridView(pageIndex, sortDirection, sortExpression, dataKeys) {
|
||||
var value = new Array(pageIndex, sortDirection, sortExpression, dataKeys);
|
||||
return value.join("|");
|
||||
}
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/GridView.js
|
||||
function GridView() {
|
||||
this.pageIndex = null;
|
||||
this.sortExpression = null;
|
||||
this.sortDirection = null;
|
||||
this.dataKeys = null;
|
||||
this.createPropertyString = GridView_createPropertyString;
|
||||
this.setStateField = GridView_setStateValue;
|
||||
this.getHiddenFieldContents = GridView_getHiddenFieldContents;
|
||||
this.stateField = null;
|
||||
this.panelElement = null;
|
||||
this.callback = null;
|
||||
}
|
||||
function GridView_createPropertyString() {
|
||||
return createPropertyStringFromValues_GridView(this.pageIndex, this.sortDirection, this.sortExpression, this.dataKeys);
|
||||
}
|
||||
function GridView_setStateValue() {
|
||||
this.stateField.value = this.createPropertyString();
|
||||
}
|
||||
function GridView_OnCallback (result, context) {
|
||||
var value = new String(result);
|
||||
var valsArray = value.split("|");
|
||||
var innerHtml = valsArray[4];
|
||||
for (var i = 5; i < valsArray.length; i++) {
|
||||
innerHtml += "|" + valsArray[i];
|
||||
}
|
||||
context.panelElement.innerHTML = innerHtml;
|
||||
context.stateField.value = createPropertyStringFromValues_GridView(valsArray[0], valsArray[1], valsArray[2], valsArray[3]);
|
||||
}
|
||||
function GridView_getHiddenFieldContents(arg) {
|
||||
return arg + "|" + this.stateField.value;
|
||||
}
|
||||
function createPropertyStringFromValues_GridView(pageIndex, sortDirection, sortExpression, dataKeys) {
|
||||
var value = new Array(pageIndex, sortDirection, sortExpression, dataKeys);
|
||||
return value.join("|");
|
||||
}
|
||||
|
|
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjax.js
vendored
Normal file → Executable file
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjax.js
vendored
Normal file → Executable file
File diff suppressed because one or more lines are too long
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxApplicationServices.js
Normal file → Executable file
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxApplicationServices.js
Normal file → Executable file
File diff suppressed because one or more lines are too long
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxComponentModel.js
Normal file → Executable file
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxComponentModel.js
Normal file → Executable file
File diff suppressed because one or more lines are too long
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxCore.js
Normal file → Executable file
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxCore.js
Normal file → Executable file
File diff suppressed because one or more lines are too long
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxGlobalization.js
Normal file → Executable file
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxGlobalization.js
Normal file → Executable file
File diff suppressed because one or more lines are too long
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxHistory.js
Normal file → Executable file
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxHistory.js
Normal file → Executable file
File diff suppressed because one or more lines are too long
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxNetwork.js
Normal file → Executable file
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxNetwork.js
Normal file → Executable file
File diff suppressed because one or more lines are too long
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxSerialization.js
Normal file → Executable file
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxSerialization.js
Normal file → Executable file
File diff suppressed because one or more lines are too long
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxTimer.js
Normal file → Executable file
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxTimer.js
Normal file → Executable file
|
@ -1,6 +1,6 @@
|
|||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjaxTimer.js
|
||||
//----------------------------------------------------------
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjaxTimer.js
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjaxTimer.js
|
||||
//----------------------------------------------------------
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjaxTimer.js
|
||||
Type._registerScript("Timer.js",["MicrosoftAjaxComponentModel.js"]);Sys.UI._Timer=function(a){Sys.UI._Timer.initializeBase(this,[a]);this._interval=60000;this._enabled=true;this._postbackPending=false;this._raiseTickDelegate=null;this._endRequestHandlerDelegate=null;this._timer=null;this._pageRequestManager=null;this._uniqueID=null};Sys.UI._Timer.prototype={get_enabled:function(){return this._enabled},set_enabled:function(a){this._enabled=a},get_interval:function(){return this._interval},set_interval:function(a){this._interval=a},get_uniqueID:function(){return this._uniqueID},set_uniqueID:function(a){this._uniqueID=a},dispose:function(){this._stopTimer();if(this._pageRequestManager!==null)this._pageRequestManager.remove_endRequest(this._endRequestHandlerDelegate);Sys.UI._Timer.callBaseMethod(this,"dispose")},_doPostback:function(){__doPostBack(this.get_uniqueID(),"")},_handleEndRequest:function(c,b){var a=b.get_dataItems()[this.get_id()];if(a)this._update(a[0],a[1]);if(this._postbackPending===true&&this._pageRequestManager!==null&&this._pageRequestManager.get_isInAsyncPostBack()===false){this._postbackPending=false;this._doPostback()}},initialize:function(){Sys.UI._Timer.callBaseMethod(this,"initialize");this._raiseTickDelegate=Function.createDelegate(this,this._raiseTick);this._endRequestHandlerDelegate=Function.createDelegate(this,this._handleEndRequest);if(Sys.WebForms&&Sys.WebForms.PageRequestManager)this._pageRequestManager=Sys.WebForms.PageRequestManager.getInstance();if(this._pageRequestManager!==null)this._pageRequestManager.add_endRequest(this._endRequestHandlerDelegate);if(this.get_enabled())this._startTimer()},_raiseTick:function(){this._startTimer();if(this._pageRequestManager===null||!this._pageRequestManager.get_isInAsyncPostBack()){this._doPostback();this._postbackPending=false}else this._postbackPending=true},_startTimer:function(){this._timer=window.setTimeout(Function.createDelegate(this,this._raiseTick),this.get_interval())},_stopTimer:function(){if(this._timer!==null){window.clearTimeout(this._timer);this._timer=null}},_update:function(c,b){var a=!this.get_enabled(),d=this.get_interval()!==b;if(!a&&(!c||d)){this._stopTimer();a=true}this.set_enabled(c);this.set_interval(b);if(this.get_enabled()&&a)this._startTimer()}};Sys.UI._Timer.registerClass("Sys.UI._Timer",Sys.UI.Control);
|
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxWebForms.js
Normal file → Executable file
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxWebForms.js
Normal file → Executable file
File diff suppressed because one or more lines are too long
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxWebServices.js
Normal file → Executable file
10
Assignment5/Assignment5/Scripts/WebForms/MSAjax/MicrosoftAjaxWebServices.js
Normal file → Executable file
|
@ -1,6 +1,6 @@
|
|||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjaxWebServices.js
|
||||
//----------------------------------------------------------
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjaxWebServices.js
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjaxWebServices.js
|
||||
//----------------------------------------------------------
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjaxWebServices.js
|
||||
Type._registerScript("MicrosoftAjaxWebServices.js",["MicrosoftAjaxNetwork.js"]);Type.registerNamespace("Sys.Net");Sys.Net.WebServiceProxy=function(){};Sys.Net.WebServiceProxy.prototype={get_timeout:function(){return this._timeout||0},set_timeout:function(a){if(a<0)throw Error.argumentOutOfRange("value",a,Sys.Res.invalidTimeout);this._timeout=a},get_defaultUserContext:function(){return typeof this._userContext==="undefined"?null:this._userContext},set_defaultUserContext:function(a){this._userContext=a},get_defaultSucceededCallback:function(){return this._succeeded||null},set_defaultSucceededCallback:function(a){this._succeeded=a},get_defaultFailedCallback:function(){return this._failed||null},set_defaultFailedCallback:function(a){this._failed=a},get_enableJsonp:function(){return !!this._jsonp},set_enableJsonp:function(a){this._jsonp=a},get_path:function(){return this._path||null},set_path:function(a){this._path=a},get_jsonpCallbackParameter:function(){return this._callbackParameter||"callback"},set_jsonpCallbackParameter:function(a){this._callbackParameter=a},_invoke:function(d,e,g,f,c,b,a){c=c||this.get_defaultSucceededCallback();b=b||this.get_defaultFailedCallback();if(a===null||typeof a==="undefined")a=this.get_defaultUserContext();return Sys.Net.WebServiceProxy.invoke(d,e,g,f,c,b,a,this.get_timeout(),this.get_enableJsonp(),this.get_jsonpCallbackParameter())}};Sys.Net.WebServiceProxy.registerClass("Sys.Net.WebServiceProxy");Sys.Net.WebServiceProxy.invoke=function(q,a,m,l,j,b,g,e,w,p){var i=w!==false?Sys.Net.WebServiceProxy._xdomain.exec(q):null,c,n=i&&i.length===3&&(i[1]!==location.protocol||i[2]!==location.host);m=n||m;if(n){p=p||"callback";c="_jsonp"+Sys._jsonp++}if(!l)l={};var r=l;if(!m||!r)r={};var s,h,f=null,k,o=null,u=Sys.Net.WebRequest._createUrl(a?q+"/"+encodeURIComponent(a):q,r,n?p+"=Sys."+c:null);if(n){s=document.createElement("script");s.src=u;k=new Sys._ScriptLoaderTask(s,function(d,b){if(!b||c)t({Message:String.format(Sys.Res.webServiceFailedNoMsg,a)},-1)});function v(){if(f===null)return;f=null;h=new Sys.Net.WebServiceError(true,String.format(Sys.Res.webServiceTimedOut,a));k.dispose();delete Sys[c];if(b)b(h,g,a)}function t(d,e){if(f!==null){window.clearTimeout(f);f=null}k.dispose();delete Sys[c];c=null;if(typeof e!=="undefined"&&e!==200){if(b){h=new Sys.Net.WebServiceError(false,d.Message||String.format(Sys.Res.webServiceFailedNoMsg,a),d.StackTrace||null,d.ExceptionType||null,d);h._statusCode=e;b(h,g,a)}}else if(j)j(d,g,a)}Sys[c]=t;e=e||Sys.Net.WebRequestManager.get_defaultTimeout();if(e>0)f=window.setTimeout(v,e);k.execute();return null}var d=new Sys.Net.WebRequest;d.set_url(u);d.get_headers()["Content-Type"]="application/json; charset=utf-8";if(!m){o=Sys.Serialization.JavaScriptSerializer.serialize(l);if(o==="{}")o=""}d.set_body(o);d.add_completed(x);if(e&&e>0)d.set_timeout(e);d.invoke();function x(d){if(d.get_responseAvailable()){var f=d.get_statusCode(),c=null;try{var e=d.getResponseHeader("Content-Type");if(e.startsWith("application/json"))c=d.get_object();else if(e.startsWith("text/xml"))c=d.get_xml();else c=d.get_responseData()}catch(m){}var k=d.getResponseHeader("jsonerror"),h=k==="true";if(h){if(c)c=new Sys.Net.WebServiceError(false,c.Message,c.StackTrace,c.ExceptionType,c)}else if(e.startsWith("application/json"))c=!c||typeof c.d==="undefined"?c:c.d;if(f<200||f>=300||h){if(b){if(!c||!h)c=new Sys.Net.WebServiceError(false,String.format(Sys.Res.webServiceFailedNoMsg,a));c._statusCode=f;b(c,g,a)}}else if(j)j(c,g,a)}else{var i;if(d.get_timedOut())i=String.format(Sys.Res.webServiceTimedOut,a);else i=String.format(Sys.Res.webServiceFailedNoMsg,a);if(b)b(new Sys.Net.WebServiceError(d.get_timedOut(),i,"",""),g,a)}}return d};Sys.Net.WebServiceProxy._generateTypedConstructor=function(a){return function(b){if(b)for(var c in b)this[c]=b[c];this.__type=a}};Sys._jsonp=0;Sys.Net.WebServiceProxy._xdomain=/^\s*([a-zA-Z0-9\+\-\.]+\:)\/\/([^?#\/]+)/;Sys.Net.WebServiceError=function(d,e,c,a,b){this._timedOut=d;this._message=e;this._stackTrace=c;this._exceptionType=a;this._errorObject=b;this._statusCode=-1};Sys.Net.WebServiceError.prototype={get_timedOut:function(){return this._timedOut},get_statusCode:function(){return this._statusCode},get_message:function(){return this._message},get_stackTrace:function(){return this._stackTrace||""},get_exceptionType:function(){return this._exceptionType||""},get_errorObject:function(){return this._errorObject||null}};Sys.Net.WebServiceError.registerClass("Sys.Net.WebServiceError");
|
1796
Assignment5/Assignment5/Scripts/WebForms/Menu.js
Normal file → Executable file
1796
Assignment5/Assignment5/Scripts/WebForms/Menu.js
Normal file → Executable file
File diff suppressed because it is too large
Load diff
1394
Assignment5/Assignment5/Scripts/WebForms/MenuStandards.js
Normal file → Executable file
1394
Assignment5/Assignment5/Scripts/WebForms/MenuStandards.js
Normal file → Executable file
File diff suppressed because it is too large
Load diff
560
Assignment5/Assignment5/Scripts/WebForms/SmartNav.js
Normal file → Executable file
560
Assignment5/Assignment5/Scripts/WebForms/SmartNav.js
Normal file → Executable file
|
@ -1,280 +1,280 @@
|
|||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/SmartNav.js
|
||||
var snSrc;
|
||||
if ((typeof(window.__smartNav) == "undefined") || (window.__smartNav == null))
|
||||
{
|
||||
window.__smartNav = new Object();
|
||||
window.__smartNav.update = function()
|
||||
{
|
||||
var sn = window.__smartNav;
|
||||
var fd;
|
||||
document.detachEvent("onstop", sn.stopHif);
|
||||
sn.inPost = false;
|
||||
try { fd = frames["__hifSmartNav"].document; } catch (e) {return;}
|
||||
var fdr = fd.getElementsByTagName("asp_smartnav_rdir");
|
||||
if (fdr.length > 0)
|
||||
{
|
||||
if ((typeof(sn.sHif) == "undefined") || (sn.sHif == null))
|
||||
{
|
||||
sn.sHif = document.createElement("IFRAME");
|
||||
sn.sHif.name = "__hifSmartNav";
|
||||
sn.sHif.style.display = "none";
|
||||
sn.sHif.src = snSrc;
|
||||
}
|
||||
try {window.location = fdr[0].url;} catch (e) {};
|
||||
return;
|
||||
}
|
||||
var fdurl = fd.location.href;
|
||||
var index = fdurl.indexOf(snSrc);
|
||||
if ((index != -1 && index == fdurl.length-snSrc.length)
|
||||
|| fdurl == "about:blank")
|
||||
return;
|
||||
var fdurlb = fdurl.split("?")[0];
|
||||
if (document.location.href.indexOf(fdurlb) < 0)
|
||||
{
|
||||
document.location.href=fdurl;
|
||||
return;
|
||||
}
|
||||
sn._savedOnLoad = window.onload;
|
||||
window.onload = null;
|
||||
window.__smartNav.updateHelper();
|
||||
}
|
||||
window.__smartNav.updateHelper = function()
|
||||
{
|
||||
if (document.readyState != "complete")
|
||||
{
|
||||
window.setTimeout(window.__smartNav.updateHelper, 25);
|
||||
return;
|
||||
}
|
||||
window.__smartNav.loadNewContent();
|
||||
}
|
||||
window.__smartNav.loadNewContent = function()
|
||||
{
|
||||
var sn = window.__smartNav;
|
||||
var fd;
|
||||
try { fd = frames["__hifSmartNav"].document; } catch (e) {return;}
|
||||
if ((typeof(sn.sHif) != "undefined") && (sn.sHif != null))
|
||||
{
|
||||
sn.sHif.removeNode(true);
|
||||
sn.sHif = null;
|
||||
}
|
||||
var hdm = document.getElementsByTagName("head")[0];
|
||||
var hk = hdm.childNodes;
|
||||
var tt = null;
|
||||
var i;
|
||||
for (i = hk.length - 1; i>= 0; i--)
|
||||
{
|
||||
if (hk[i].tagName == "TITLE")
|
||||
{
|
||||
tt = hk[i].outerHTML;
|
||||
continue;
|
||||
}
|
||||
if (hk[i].tagName != "BASEFONT" || hk[i].innerHTML.length == 0)
|
||||
hdm.removeChild(hdm.childNodes[i]);
|
||||
}
|
||||
var kids = fd.getElementsByTagName("head")[0].childNodes;
|
||||
for (i = 0; i < kids.length; i++)
|
||||
{
|
||||
var tn = kids[i].tagName;
|
||||
var k = document.createElement(tn);
|
||||
k.id = kids[i].id;
|
||||
k.mergeAttributes(kids[i]);
|
||||
switch(tn)
|
||||
{
|
||||
case "TITLE":
|
||||
if (tt == kids[i].outerHTML)
|
||||
continue;
|
||||
k.innerText = kids[i].text;
|
||||
hdm.insertAdjacentElement("afterbegin", k);
|
||||
continue;
|
||||
case "BASEFONT" :
|
||||
if (kids[i].innerHTML.length > 0)
|
||||
continue;
|
||||
break;
|
||||
default:
|
||||
var o = document.createElement("BODY");
|
||||
o.innerHTML = "<BODY>" + kids[i].outerHTML + "</BODY>";
|
||||
k = o.firstChild;
|
||||
break;
|
||||
}
|
||||
if((typeof(k) != "undefined") && (k != null))
|
||||
hdm.appendChild(k);
|
||||
}
|
||||
document.body.clearAttributes();
|
||||
document.body.id = fd.body.id;
|
||||
document.body.mergeAttributes(fd.body);
|
||||
var newBodyLoad = fd.body.onload;
|
||||
if ((typeof(newBodyLoad) != "undefined") && (newBodyLoad != null))
|
||||
document.body.onload = newBodyLoad;
|
||||
else
|
||||
document.body.onload = sn._savedOnLoad;
|
||||
var s = "<BODY>" + fd.body.innerHTML + "</BODY>";
|
||||
if ((typeof(sn.hif) != "undefined") && (sn.hif != null))
|
||||
{
|
||||
var hifP = sn.hif.parentElement;
|
||||
if ((typeof(hifP) != "undefined") && (hifP != null))
|
||||
sn.sHif=hifP.removeChild(sn.hif);
|
||||
}
|
||||
document.body.innerHTML = s;
|
||||
var sc = document.scripts;
|
||||
for (i = 0; i < sc.length; i++)
|
||||
{
|
||||
sc[i].text = sc[i].text;
|
||||
}
|
||||
sn.hif = document.all("__hifSmartNav");
|
||||
if ((typeof(sn.hif) != "undefined") && (sn.hif != null))
|
||||
{
|
||||
var hif = sn.hif;
|
||||
sn.hifName = "__hifSmartNav" + (new Date()).getTime();
|
||||
frames["__hifSmartNav"].name = sn.hifName;
|
||||
sn.hifDoc = hif.contentWindow.document;
|
||||
if (sn.ie5)
|
||||
hif.parentElement.removeChild(hif);
|
||||
window.setTimeout(sn.restoreFocus,0);
|
||||
}
|
||||
if (typeof(window.onload) == "string")
|
||||
{
|
||||
try { eval(window.onload) } catch (e) {};
|
||||
}
|
||||
else if ((typeof(window.onload) != "undefined") && (window.onload != null))
|
||||
{
|
||||
try { window.onload() } catch (e) {};
|
||||
}
|
||||
sn._savedOnLoad = null;
|
||||
sn.attachForm();
|
||||
};
|
||||
window.__smartNav.restoreFocus = function()
|
||||
{
|
||||
if (window.__smartNav.inPost == true) return;
|
||||
var curAe = document.activeElement;
|
||||
var sAeId = window.__smartNav.ae;
|
||||
if (((typeof(sAeId) == "undefined") || (sAeId == null)) ||
|
||||
(typeof(curAe) != "undefined") && (curAe != null) && (curAe.id == sAeId || curAe.name == sAeId))
|
||||
return;
|
||||
var ae = document.all(sAeId);
|
||||
if ((typeof(ae) == "undefined") || (ae == null)) return;
|
||||
try { ae.focus(); } catch(e){};
|
||||
}
|
||||
window.__smartNav.saveHistory = function()
|
||||
{
|
||||
if ((typeof(window.__smartNav.hif) != "undefined") && (window.__smartNav.hif != null))
|
||||
window.__smartNav.hif.removeNode();
|
||||
if ((typeof(window.__smartNav.sHif) != "undefined") && (window.__smartNav.sHif != null)
|
||||
&& (typeof(document.all[window.__smartNav.siHif]) != "undefined")
|
||||
&& (document.all[window.__smartNav.siHif] != null)) {
|
||||
document.all[window.__smartNav.siHif].insertAdjacentElement(
|
||||
"BeforeBegin", window.__smartNav.sHif);
|
||||
}
|
||||
}
|
||||
window.__smartNav.stopHif = function()
|
||||
{
|
||||
document.detachEvent("onstop", window.__smartNav.stopHif);
|
||||
var sn = window.__smartNav;
|
||||
if (((typeof(sn.hifDoc) == "undefined") || (sn.hifDoc == null)) &&
|
||||
(typeof(sn.hif) != "undefined") && (sn.hif != null))
|
||||
{
|
||||
try {sn.hifDoc = sn.hif.contentWindow.document;}
|
||||
catch(e){sn.hifDoc=null}
|
||||
}
|
||||
if (sn.hifDoc != null)
|
||||
{
|
||||
try {sn.hifDoc.execCommand("stop");} catch (e){}
|
||||
}
|
||||
}
|
||||
window.__smartNav.init = function()
|
||||
{
|
||||
var sn = window.__smartNav;
|
||||
window.__smartNav.form.__smartNavPostBack.value = 'true';
|
||||
document.detachEvent("onstop", sn.stopHif);
|
||||
document.attachEvent("onstop", sn.stopHif);
|
||||
try { if (window.event.returnValue == false) return; } catch(e) {}
|
||||
sn.inPost = true;
|
||||
if ((typeof(document.activeElement) != "undefined") && (document.activeElement != null))
|
||||
{
|
||||
var ae = document.activeElement.id;
|
||||
if (ae.length == 0)
|
||||
ae = document.activeElement.name;
|
||||
sn.ae = ae;
|
||||
}
|
||||
else
|
||||
sn.ae = null;
|
||||
try {document.selection.empty();} catch (e) {}
|
||||
if ((typeof(sn.hif) == "undefined") || (sn.hif == null))
|
||||
{
|
||||
sn.hif = document.all("__hifSmartNav");
|
||||
sn.hifDoc = sn.hif.contentWindow.document;
|
||||
}
|
||||
if ((typeof(sn.hifDoc) != "undefined") && (sn.hifDoc != null))
|
||||
try {sn.hifDoc.designMode = "On";} catch(e){};
|
||||
if ((typeof(sn.hif.parentElement) == "undefined") || (sn.hif.parentElement == null))
|
||||
document.body.appendChild(sn.hif);
|
||||
var hif = sn.hif;
|
||||
hif.detachEvent("onload", sn.update);
|
||||
hif.attachEvent("onload", sn.update);
|
||||
window.__smartNav.fInit = true;
|
||||
};
|
||||
window.__smartNav.submit = function()
|
||||
{
|
||||
window.__smartNav.fInit = false;
|
||||
try { window.__smartNav.init(); } catch(e) {}
|
||||
if (window.__smartNav.fInit) {
|
||||
window.__smartNav.form._submit();
|
||||
}
|
||||
};
|
||||
window.__smartNav.attachForm = function()
|
||||
{
|
||||
var cf = document.forms;
|
||||
for (var i=0; i<cf.length; i++)
|
||||
{
|
||||
if ((typeof(cf[i].__smartNavEnabled) != "undefined") && (cf[i].__smartNavEnabled != null))
|
||||
{
|
||||
window.__smartNav.form = cf[i];
|
||||
window.__smartNav.form.insertAdjacentHTML("beforeEnd", "<input type='hidden' name='__smartNavPostBack' value='false' />");
|
||||
break;
|
||||
}
|
||||
}
|
||||
var snfm = window.__smartNav.form;
|
||||
if ((typeof(snfm) == "undefined") || (snfm == null)) return false;
|
||||
var sft = snfm.target;
|
||||
if (sft.length != 0 && sft.indexOf("__hifSmartNav") != 0) return false;
|
||||
var sfc = snfm.action.split("?")[0];
|
||||
var url = window.location.href.split("?")[0];
|
||||
if (url.charAt(url.length-1) != '/' && url.lastIndexOf(sfc) + sfc.length != url.length) return false;
|
||||
if (snfm.__formAttached == true) return true;
|
||||
snfm.__formAttached = true;
|
||||
snfm.attachEvent("onsubmit", window.__smartNav.init);
|
||||
snfm._submit = snfm.submit;
|
||||
snfm.submit = window.__smartNav.submit;
|
||||
snfm.target = window.__smartNav.hifName;
|
||||
return true;
|
||||
};
|
||||
window.__smartNav.hifName = "__hifSmartNav" + (new Date()).getTime();
|
||||
window.__smartNav.ie5 = navigator.appVersion.indexOf("MSIE 5") > 0;
|
||||
var rc = window.__smartNav.attachForm();
|
||||
var hif = document.all("__hifSmartNav");
|
||||
if ((typeof(snSrc) == "undefined") || (snSrc == null)) {
|
||||
if (typeof(window.dialogHeight) != "undefined") {
|
||||
snSrc = "IEsmartnav1";
|
||||
hif.src = snSrc;
|
||||
} else {
|
||||
snSrc = hif.src;
|
||||
}
|
||||
}
|
||||
if (rc)
|
||||
{
|
||||
var fsn = frames["__hifSmartNav"];
|
||||
fsn.name = window.__smartNav.hifName;
|
||||
window.__smartNav.siHif = hif.sourceIndex;
|
||||
try {
|
||||
if (fsn.document.location != snSrc)
|
||||
{
|
||||
fsn.document.designMode = "On";
|
||||
hif.attachEvent("onload",window.__smartNav.update);
|
||||
window.__smartNav.hif = hif;
|
||||
}
|
||||
}
|
||||
catch (e) { window.__smartNav.hif = hif; }
|
||||
window.attachEvent("onbeforeunload", window.__smartNav.saveHistory);
|
||||
}
|
||||
else
|
||||
window.__smartNav = null;
|
||||
}
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/SmartNav.js
|
||||
var snSrc;
|
||||
if ((typeof(window.__smartNav) == "undefined") || (window.__smartNav == null))
|
||||
{
|
||||
window.__smartNav = new Object();
|
||||
window.__smartNav.update = function()
|
||||
{
|
||||
var sn = window.__smartNav;
|
||||
var fd;
|
||||
document.detachEvent("onstop", sn.stopHif);
|
||||
sn.inPost = false;
|
||||
try { fd = frames["__hifSmartNav"].document; } catch (e) {return;}
|
||||
var fdr = fd.getElementsByTagName("asp_smartnav_rdir");
|
||||
if (fdr.length > 0)
|
||||
{
|
||||
if ((typeof(sn.sHif) == "undefined") || (sn.sHif == null))
|
||||
{
|
||||
sn.sHif = document.createElement("IFRAME");
|
||||
sn.sHif.name = "__hifSmartNav";
|
||||
sn.sHif.style.display = "none";
|
||||
sn.sHif.src = snSrc;
|
||||
}
|
||||
try {window.location = fdr[0].url;} catch (e) {};
|
||||
return;
|
||||
}
|
||||
var fdurl = fd.location.href;
|
||||
var index = fdurl.indexOf(snSrc);
|
||||
if ((index != -1 && index == fdurl.length-snSrc.length)
|
||||
|| fdurl == "about:blank")
|
||||
return;
|
||||
var fdurlb = fdurl.split("?")[0];
|
||||
if (document.location.href.indexOf(fdurlb) < 0)
|
||||
{
|
||||
document.location.href=fdurl;
|
||||
return;
|
||||
}
|
||||
sn._savedOnLoad = window.onload;
|
||||
window.onload = null;
|
||||
window.__smartNav.updateHelper();
|
||||
}
|
||||
window.__smartNav.updateHelper = function()
|
||||
{
|
||||
if (document.readyState != "complete")
|
||||
{
|
||||
window.setTimeout(window.__smartNav.updateHelper, 25);
|
||||
return;
|
||||
}
|
||||
window.__smartNav.loadNewContent();
|
||||
}
|
||||
window.__smartNav.loadNewContent = function()
|
||||
{
|
||||
var sn = window.__smartNav;
|
||||
var fd;
|
||||
try { fd = frames["__hifSmartNav"].document; } catch (e) {return;}
|
||||
if ((typeof(sn.sHif) != "undefined") && (sn.sHif != null))
|
||||
{
|
||||
sn.sHif.removeNode(true);
|
||||
sn.sHif = null;
|
||||
}
|
||||
var hdm = document.getElementsByTagName("head")[0];
|
||||
var hk = hdm.childNodes;
|
||||
var tt = null;
|
||||
var i;
|
||||
for (i = hk.length - 1; i>= 0; i--)
|
||||
{
|
||||
if (hk[i].tagName == "TITLE")
|
||||
{
|
||||
tt = hk[i].outerHTML;
|
||||
continue;
|
||||
}
|
||||
if (hk[i].tagName != "BASEFONT" || hk[i].innerHTML.length == 0)
|
||||
hdm.removeChild(hdm.childNodes[i]);
|
||||
}
|
||||
var kids = fd.getElementsByTagName("head")[0].childNodes;
|
||||
for (i = 0; i < kids.length; i++)
|
||||
{
|
||||
var tn = kids[i].tagName;
|
||||
var k = document.createElement(tn);
|
||||
k.id = kids[i].id;
|
||||
k.mergeAttributes(kids[i]);
|
||||
switch(tn)
|
||||
{
|
||||
case "TITLE":
|
||||
if (tt == kids[i].outerHTML)
|
||||
continue;
|
||||
k.innerText = kids[i].text;
|
||||
hdm.insertAdjacentElement("afterbegin", k);
|
||||
continue;
|
||||
case "BASEFONT" :
|
||||
if (kids[i].innerHTML.length > 0)
|
||||
continue;
|
||||
break;
|
||||
default:
|
||||
var o = document.createElement("BODY");
|
||||
o.innerHTML = "<BODY>" + kids[i].outerHTML + "</BODY>";
|
||||
k = o.firstChild;
|
||||
break;
|
||||
}
|
||||
if((typeof(k) != "undefined") && (k != null))
|
||||
hdm.appendChild(k);
|
||||
}
|
||||
document.body.clearAttributes();
|
||||
document.body.id = fd.body.id;
|
||||
document.body.mergeAttributes(fd.body);
|
||||
var newBodyLoad = fd.body.onload;
|
||||
if ((typeof(newBodyLoad) != "undefined") && (newBodyLoad != null))
|
||||
document.body.onload = newBodyLoad;
|
||||
else
|
||||
document.body.onload = sn._savedOnLoad;
|
||||
var s = "<BODY>" + fd.body.innerHTML + "</BODY>";
|
||||
if ((typeof(sn.hif) != "undefined") && (sn.hif != null))
|
||||
{
|
||||
var hifP = sn.hif.parentElement;
|
||||
if ((typeof(hifP) != "undefined") && (hifP != null))
|
||||
sn.sHif=hifP.removeChild(sn.hif);
|
||||
}
|
||||
document.body.innerHTML = s;
|
||||
var sc = document.scripts;
|
||||
for (i = 0; i < sc.length; i++)
|
||||
{
|
||||
sc[i].text = sc[i].text;
|
||||
}
|
||||
sn.hif = document.all("__hifSmartNav");
|
||||
if ((typeof(sn.hif) != "undefined") && (sn.hif != null))
|
||||
{
|
||||
var hif = sn.hif;
|
||||
sn.hifName = "__hifSmartNav" + (new Date()).getTime();
|
||||
frames["__hifSmartNav"].name = sn.hifName;
|
||||
sn.hifDoc = hif.contentWindow.document;
|
||||
if (sn.ie5)
|
||||
hif.parentElement.removeChild(hif);
|
||||
window.setTimeout(sn.restoreFocus,0);
|
||||
}
|
||||
if (typeof(window.onload) == "string")
|
||||
{
|
||||
try { eval(window.onload) } catch (e) {};
|
||||
}
|
||||
else if ((typeof(window.onload) != "undefined") && (window.onload != null))
|
||||
{
|
||||
try { window.onload() } catch (e) {};
|
||||
}
|
||||
sn._savedOnLoad = null;
|
||||
sn.attachForm();
|
||||
};
|
||||
window.__smartNav.restoreFocus = function()
|
||||
{
|
||||
if (window.__smartNav.inPost == true) return;
|
||||
var curAe = document.activeElement;
|
||||
var sAeId = window.__smartNav.ae;
|
||||
if (((typeof(sAeId) == "undefined") || (sAeId == null)) ||
|
||||
(typeof(curAe) != "undefined") && (curAe != null) && (curAe.id == sAeId || curAe.name == sAeId))
|
||||
return;
|
||||
var ae = document.all(sAeId);
|
||||
if ((typeof(ae) == "undefined") || (ae == null)) return;
|
||||
try { ae.focus(); } catch(e){};
|
||||
}
|
||||
window.__smartNav.saveHistory = function()
|
||||
{
|
||||
if ((typeof(window.__smartNav.hif) != "undefined") && (window.__smartNav.hif != null))
|
||||
window.__smartNav.hif.removeNode();
|
||||
if ((typeof(window.__smartNav.sHif) != "undefined") && (window.__smartNav.sHif != null)
|
||||
&& (typeof(document.all[window.__smartNav.siHif]) != "undefined")
|
||||
&& (document.all[window.__smartNav.siHif] != null)) {
|
||||
document.all[window.__smartNav.siHif].insertAdjacentElement(
|
||||
"BeforeBegin", window.__smartNav.sHif);
|
||||
}
|
||||
}
|
||||
window.__smartNav.stopHif = function()
|
||||
{
|
||||
document.detachEvent("onstop", window.__smartNav.stopHif);
|
||||
var sn = window.__smartNav;
|
||||
if (((typeof(sn.hifDoc) == "undefined") || (sn.hifDoc == null)) &&
|
||||
(typeof(sn.hif) != "undefined") && (sn.hif != null))
|
||||
{
|
||||
try {sn.hifDoc = sn.hif.contentWindow.document;}
|
||||
catch(e){sn.hifDoc=null}
|
||||
}
|
||||
if (sn.hifDoc != null)
|
||||
{
|
||||
try {sn.hifDoc.execCommand("stop");} catch (e){}
|
||||
}
|
||||
}
|
||||
window.__smartNav.init = function()
|
||||
{
|
||||
var sn = window.__smartNav;
|
||||
window.__smartNav.form.__smartNavPostBack.value = 'true';
|
||||
document.detachEvent("onstop", sn.stopHif);
|
||||
document.attachEvent("onstop", sn.stopHif);
|
||||
try { if (window.event.returnValue == false) return; } catch(e) {}
|
||||
sn.inPost = true;
|
||||
if ((typeof(document.activeElement) != "undefined") && (document.activeElement != null))
|
||||
{
|
||||
var ae = document.activeElement.id;
|
||||
if (ae.length == 0)
|
||||
ae = document.activeElement.name;
|
||||
sn.ae = ae;
|
||||
}
|
||||
else
|
||||
sn.ae = null;
|
||||
try {document.selection.empty();} catch (e) {}
|
||||
if ((typeof(sn.hif) == "undefined") || (sn.hif == null))
|
||||
{
|
||||
sn.hif = document.all("__hifSmartNav");
|
||||
sn.hifDoc = sn.hif.contentWindow.document;
|
||||
}
|
||||
if ((typeof(sn.hifDoc) != "undefined") && (sn.hifDoc != null))
|
||||
try {sn.hifDoc.designMode = "On";} catch(e){};
|
||||
if ((typeof(sn.hif.parentElement) == "undefined") || (sn.hif.parentElement == null))
|
||||
document.body.appendChild(sn.hif);
|
||||
var hif = sn.hif;
|
||||
hif.detachEvent("onload", sn.update);
|
||||
hif.attachEvent("onload", sn.update);
|
||||
window.__smartNav.fInit = true;
|
||||
};
|
||||
window.__smartNav.submit = function()
|
||||
{
|
||||
window.__smartNav.fInit = false;
|
||||
try { window.__smartNav.init(); } catch(e) {}
|
||||
if (window.__smartNav.fInit) {
|
||||
window.__smartNav.form._submit();
|
||||
}
|
||||
};
|
||||
window.__smartNav.attachForm = function()
|
||||
{
|
||||
var cf = document.forms;
|
||||
for (var i=0; i<cf.length; i++)
|
||||
{
|
||||
if ((typeof(cf[i].__smartNavEnabled) != "undefined") && (cf[i].__smartNavEnabled != null))
|
||||
{
|
||||
window.__smartNav.form = cf[i];
|
||||
window.__smartNav.form.insertAdjacentHTML("beforeEnd", "<input type='hidden' name='__smartNavPostBack' value='false' />");
|
||||
break;
|
||||
}
|
||||
}
|
||||
var snfm = window.__smartNav.form;
|
||||
if ((typeof(snfm) == "undefined") || (snfm == null)) return false;
|
||||
var sft = snfm.target;
|
||||
if (sft.length != 0 && sft.indexOf("__hifSmartNav") != 0) return false;
|
||||
var sfc = snfm.action.split("?")[0];
|
||||
var url = window.location.href.split("?")[0];
|
||||
if (url.charAt(url.length-1) != '/' && url.lastIndexOf(sfc) + sfc.length != url.length) return false;
|
||||
if (snfm.__formAttached == true) return true;
|
||||
snfm.__formAttached = true;
|
||||
snfm.attachEvent("onsubmit", window.__smartNav.init);
|
||||
snfm._submit = snfm.submit;
|
||||
snfm.submit = window.__smartNav.submit;
|
||||
snfm.target = window.__smartNav.hifName;
|
||||
return true;
|
||||
};
|
||||
window.__smartNav.hifName = "__hifSmartNav" + (new Date()).getTime();
|
||||
window.__smartNav.ie5 = navigator.appVersion.indexOf("MSIE 5") > 0;
|
||||
var rc = window.__smartNav.attachForm();
|
||||
var hif = document.all("__hifSmartNav");
|
||||
if ((typeof(snSrc) == "undefined") || (snSrc == null)) {
|
||||
if (typeof(window.dialogHeight) != "undefined") {
|
||||
snSrc = "IEsmartnav1";
|
||||
hif.src = snSrc;
|
||||
} else {
|
||||
snSrc = hif.src;
|
||||
}
|
||||
}
|
||||
if (rc)
|
||||
{
|
||||
var fsn = frames["__hifSmartNav"];
|
||||
fsn.name = window.__smartNav.hifName;
|
||||
window.__smartNav.siHif = hif.sourceIndex;
|
||||
try {
|
||||
if (fsn.document.location != snSrc)
|
||||
{
|
||||
fsn.document.designMode = "On";
|
||||
hif.attachEvent("onload",window.__smartNav.update);
|
||||
window.__smartNav.hif = hif;
|
||||
}
|
||||
}
|
||||
catch (e) { window.__smartNav.hif = hif; }
|
||||
window.attachEvent("onbeforeunload", window.__smartNav.saveHistory);
|
||||
}
|
||||
else
|
||||
window.__smartNav = null;
|
||||
}
|
||||
|
|
440
Assignment5/Assignment5/Scripts/WebForms/TreeView.js
Normal file → Executable file
440
Assignment5/Assignment5/Scripts/WebForms/TreeView.js
Normal file → Executable file
|
@ -1,220 +1,220 @@
|
|||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/TreeView.js
|
||||
function TreeView_HoverNode(data, node) {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
node.hoverClass = data.hoverClass;
|
||||
WebForm_AppendToClassName(node, data.hoverClass);
|
||||
if (__nonMSDOMBrowser) {
|
||||
node = node.childNodes[node.childNodes.length - 1];
|
||||
}
|
||||
else {
|
||||
node = node.children[node.children.length - 1];
|
||||
}
|
||||
node.hoverHyperLinkClass = data.hoverHyperLinkClass;
|
||||
WebForm_AppendToClassName(node, data.hoverHyperLinkClass);
|
||||
}
|
||||
function TreeView_GetNodeText(node) {
|
||||
var trNode = WebForm_GetParentByTagName(node, "TR");
|
||||
var outerNodes;
|
||||
if (trNode.childNodes[trNode.childNodes.length - 1].getElementsByTagName) {
|
||||
outerNodes = trNode.childNodes[trNode.childNodes.length - 1].getElementsByTagName("A");
|
||||
if (!outerNodes || outerNodes.length == 0) {
|
||||
outerNodes = trNode.childNodes[trNode.childNodes.length - 1].getElementsByTagName("SPAN");
|
||||
}
|
||||
}
|
||||
var textNode = (outerNodes && outerNodes.length > 0) ?
|
||||
outerNodes[0].childNodes[0] :
|
||||
trNode.childNodes[trNode.childNodes.length - 1].childNodes[0];
|
||||
return (textNode && textNode.nodeValue) ? textNode.nodeValue : "";
|
||||
}
|
||||
function TreeView_PopulateNode(data, index, node, selectNode, selectImageNode, lineType, text, path, databound, datapath, parentIsLast) {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
var context = new Object();
|
||||
context.data = data;
|
||||
context.node = node;
|
||||
context.selectNode = selectNode;
|
||||
context.selectImageNode = selectImageNode;
|
||||
context.lineType = lineType;
|
||||
context.index = index;
|
||||
context.isChecked = "f";
|
||||
var tr = WebForm_GetParentByTagName(node, "TR");
|
||||
if (tr) {
|
||||
var checkbox = tr.getElementsByTagName("INPUT");
|
||||
if (checkbox && (checkbox.length > 0)) {
|
||||
for (var i = 0; i < checkbox.length; i++) {
|
||||
if (checkbox[i].type.toLowerCase() == "checkbox") {
|
||||
if (checkbox[i].checked) {
|
||||
context.isChecked = "t";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
var param = index + "|" + data.lastIndex + "|" + databound + context.isChecked + parentIsLast + "|" +
|
||||
text.length + "|" + text + datapath.length + "|" + datapath + path;
|
||||
TreeView_PopulateNodeDoCallBack(context, param);
|
||||
}
|
||||
function TreeView_ProcessNodeData(result, context) {
|
||||
var treeNode = context.node;
|
||||
if (result.length > 0) {
|
||||
var ci = result.indexOf("|", 0);
|
||||
context.data.lastIndex = result.substring(0, ci);
|
||||
ci = result.indexOf("|", ci + 1);
|
||||
var newExpandState = result.substring(context.data.lastIndex.length + 1, ci);
|
||||
context.data.expandState.value += newExpandState;
|
||||
var chunk = result.substr(ci + 1);
|
||||
var newChildren, table;
|
||||
if (__nonMSDOMBrowser) {
|
||||
var newDiv = document.createElement("div");
|
||||
newDiv.innerHTML = chunk;
|
||||
table = WebForm_GetParentByTagName(treeNode, "TABLE");
|
||||
newChildren = null;
|
||||
if ((typeof(table.nextSibling) == "undefined") || (table.nextSibling == null)) {
|
||||
table.parentNode.insertBefore(newDiv.firstChild, table.nextSibling);
|
||||
newChildren = table.previousSibling;
|
||||
}
|
||||
else {
|
||||
table = table.nextSibling;
|
||||
table.parentNode.insertBefore(newDiv.firstChild, table);
|
||||
newChildren = table.previousSibling;
|
||||
}
|
||||
newChildren = document.getElementById(treeNode.id + "Nodes");
|
||||
}
|
||||
else {
|
||||
table = WebForm_GetParentByTagName(treeNode, "TABLE");
|
||||
table.insertAdjacentHTML("afterEnd", chunk);
|
||||
newChildren = document.all[treeNode.id + "Nodes"];
|
||||
}
|
||||
if ((typeof(newChildren) != "undefined") && (newChildren != null)) {
|
||||
TreeView_ToggleNode(context.data, context.index, treeNode, context.lineType, newChildren);
|
||||
treeNode.href = document.getElementById ?
|
||||
"javascript:TreeView_ToggleNode(" + context.data.name + "," + context.index + ",document.getElementById('" + treeNode.id + "'),'" + context.lineType + "',document.getElementById('" + newChildren.id + "'))" :
|
||||
"javascript:TreeView_ToggleNode(" + context.data.name + "," + context.index + "," + treeNode.id + ",'" + context.lineType + "'," + newChildren.id + ")";
|
||||
if ((typeof(context.selectNode) != "undefined") && (context.selectNode != null) && context.selectNode.href &&
|
||||
(context.selectNode.href.indexOf("javascript:TreeView_PopulateNode", 0) == 0)) {
|
||||
context.selectNode.href = treeNode.href;
|
||||
}
|
||||
if ((typeof(context.selectImageNode) != "undefined") && (context.selectImageNode != null) && context.selectNode.href &&
|
||||
(context.selectImageNode.href.indexOf("javascript:TreeView_PopulateNode", 0) == 0)) {
|
||||
context.selectImageNode.href = treeNode.href;
|
||||
}
|
||||
}
|
||||
context.data.populateLog.value += context.index + ",";
|
||||
}
|
||||
else {
|
||||
var img = treeNode.childNodes ? treeNode.childNodes[0] : treeNode.children[0];
|
||||
if ((typeof(img) != "undefined") && (img != null)) {
|
||||
var lineType = context.lineType;
|
||||
if (lineType == "l") {
|
||||
img.src = context.data.images[13];
|
||||
}
|
||||
else if (lineType == "t") {
|
||||
img.src = context.data.images[10];
|
||||
}
|
||||
else if (lineType == "-") {
|
||||
img.src = context.data.images[16];
|
||||
}
|
||||
else {
|
||||
img.src = context.data.images[3];
|
||||
}
|
||||
var pe;
|
||||
if (__nonMSDOMBrowser) {
|
||||
pe = treeNode.parentNode;
|
||||
pe.insertBefore(img, treeNode);
|
||||
pe.removeChild(treeNode);
|
||||
}
|
||||
else {
|
||||
pe = treeNode.parentElement;
|
||||
treeNode.style.visibility="hidden";
|
||||
treeNode.style.display="none";
|
||||
pe.insertAdjacentElement("afterBegin", img);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
function TreeView_SelectNode(data, node, nodeId) {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
if ((typeof(data.selectedClass) != "undefined") && (data.selectedClass != null)) {
|
||||
var id = data.selectedNodeID.value;
|
||||
if (id.length > 0) {
|
||||
var selectedNode = document.getElementById(id);
|
||||
if ((typeof(selectedNode) != "undefined") && (selectedNode != null)) {
|
||||
WebForm_RemoveClassName(selectedNode, data.selectedHyperLinkClass);
|
||||
selectedNode = WebForm_GetParentByTagName(selectedNode, "TD");
|
||||
WebForm_RemoveClassName(selectedNode, data.selectedClass);
|
||||
}
|
||||
}
|
||||
WebForm_AppendToClassName(node, data.selectedHyperLinkClass);
|
||||
node = WebForm_GetParentByTagName(node, "TD");
|
||||
WebForm_AppendToClassName(node, data.selectedClass)
|
||||
}
|
||||
data.selectedNodeID.value = nodeId;
|
||||
}
|
||||
function TreeView_ToggleNode(data, index, node, lineType, children) {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
var img = node.childNodes[0];
|
||||
var newExpandState;
|
||||
try {
|
||||
if (children.style.display == "none") {
|
||||
children.style.display = "block";
|
||||
newExpandState = "e";
|
||||
if ((typeof(img) != "undefined") && (img != null)) {
|
||||
if (lineType == "l") {
|
||||
img.src = data.images[15];
|
||||
}
|
||||
else if (lineType == "t") {
|
||||
img.src = data.images[12];
|
||||
}
|
||||
else if (lineType == "-") {
|
||||
img.src = data.images[18];
|
||||
}
|
||||
else {
|
||||
img.src = data.images[5];
|
||||
}
|
||||
img.alt = data.collapseToolTip.replace(/\{0\}/, TreeView_GetNodeText(node));
|
||||
}
|
||||
}
|
||||
else {
|
||||
children.style.display = "none";
|
||||
newExpandState = "c";
|
||||
if ((typeof(img) != "undefined") && (img != null)) {
|
||||
if (lineType == "l") {
|
||||
img.src = data.images[14];
|
||||
}
|
||||
else if (lineType == "t") {
|
||||
img.src = data.images[11];
|
||||
}
|
||||
else if (lineType == "-") {
|
||||
img.src = data.images[17];
|
||||
}
|
||||
else {
|
||||
img.src = data.images[4];
|
||||
}
|
||||
img.alt = data.expandToolTip.replace(/\{0\}/, TreeView_GetNodeText(node));
|
||||
}
|
||||
}
|
||||
}
|
||||
catch(e) {}
|
||||
data.expandState.value = data.expandState.value.substring(0, index) + newExpandState + data.expandState.value.slice(index + 1);
|
||||
}
|
||||
function TreeView_UnhoverNode(node) {
|
||||
if (!node.hoverClass) {
|
||||
return;
|
||||
}
|
||||
WebForm_RemoveClassName(node, node.hoverClass);
|
||||
if (__nonMSDOMBrowser) {
|
||||
node = node.childNodes[node.childNodes.length - 1];
|
||||
}
|
||||
else {
|
||||
node = node.children[node.children.length - 1];
|
||||
}
|
||||
WebForm_RemoveClassName(node, node.hoverHyperLinkClass);
|
||||
}
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/TreeView.js
|
||||
function TreeView_HoverNode(data, node) {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
node.hoverClass = data.hoverClass;
|
||||
WebForm_AppendToClassName(node, data.hoverClass);
|
||||
if (__nonMSDOMBrowser) {
|
||||
node = node.childNodes[node.childNodes.length - 1];
|
||||
}
|
||||
else {
|
||||
node = node.children[node.children.length - 1];
|
||||
}
|
||||
node.hoverHyperLinkClass = data.hoverHyperLinkClass;
|
||||
WebForm_AppendToClassName(node, data.hoverHyperLinkClass);
|
||||
}
|
||||
function TreeView_GetNodeText(node) {
|
||||
var trNode = WebForm_GetParentByTagName(node, "TR");
|
||||
var outerNodes;
|
||||
if (trNode.childNodes[trNode.childNodes.length - 1].getElementsByTagName) {
|
||||
outerNodes = trNode.childNodes[trNode.childNodes.length - 1].getElementsByTagName("A");
|
||||
if (!outerNodes || outerNodes.length == 0) {
|
||||
outerNodes = trNode.childNodes[trNode.childNodes.length - 1].getElementsByTagName("SPAN");
|
||||
}
|
||||
}
|
||||
var textNode = (outerNodes && outerNodes.length > 0) ?
|
||||
outerNodes[0].childNodes[0] :
|
||||
trNode.childNodes[trNode.childNodes.length - 1].childNodes[0];
|
||||
return (textNode && textNode.nodeValue) ? textNode.nodeValue : "";
|
||||
}
|
||||
function TreeView_PopulateNode(data, index, node, selectNode, selectImageNode, lineType, text, path, databound, datapath, parentIsLast) {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
var context = new Object();
|
||||
context.data = data;
|
||||
context.node = node;
|
||||
context.selectNode = selectNode;
|
||||
context.selectImageNode = selectImageNode;
|
||||
context.lineType = lineType;
|
||||
context.index = index;
|
||||
context.isChecked = "f";
|
||||
var tr = WebForm_GetParentByTagName(node, "TR");
|
||||
if (tr) {
|
||||
var checkbox = tr.getElementsByTagName("INPUT");
|
||||
if (checkbox && (checkbox.length > 0)) {
|
||||
for (var i = 0; i < checkbox.length; i++) {
|
||||
if (checkbox[i].type.toLowerCase() == "checkbox") {
|
||||
if (checkbox[i].checked) {
|
||||
context.isChecked = "t";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
var param = index + "|" + data.lastIndex + "|" + databound + context.isChecked + parentIsLast + "|" +
|
||||
text.length + "|" + text + datapath.length + "|" + datapath + path;
|
||||
TreeView_PopulateNodeDoCallBack(context, param);
|
||||
}
|
||||
function TreeView_ProcessNodeData(result, context) {
|
||||
var treeNode = context.node;
|
||||
if (result.length > 0) {
|
||||
var ci = result.indexOf("|", 0);
|
||||
context.data.lastIndex = result.substring(0, ci);
|
||||
ci = result.indexOf("|", ci + 1);
|
||||
var newExpandState = result.substring(context.data.lastIndex.length + 1, ci);
|
||||
context.data.expandState.value += newExpandState;
|
||||
var chunk = result.substr(ci + 1);
|
||||
var newChildren, table;
|
||||
if (__nonMSDOMBrowser) {
|
||||
var newDiv = document.createElement("div");
|
||||
newDiv.innerHTML = chunk;
|
||||
table = WebForm_GetParentByTagName(treeNode, "TABLE");
|
||||
newChildren = null;
|
||||
if ((typeof(table.nextSibling) == "undefined") || (table.nextSibling == null)) {
|
||||
table.parentNode.insertBefore(newDiv.firstChild, table.nextSibling);
|
||||
newChildren = table.previousSibling;
|
||||
}
|
||||
else {
|
||||
table = table.nextSibling;
|
||||
table.parentNode.insertBefore(newDiv.firstChild, table);
|
||||
newChildren = table.previousSibling;
|
||||
}
|
||||
newChildren = document.getElementById(treeNode.id + "Nodes");
|
||||
}
|
||||
else {
|
||||
table = WebForm_GetParentByTagName(treeNode, "TABLE");
|
||||
table.insertAdjacentHTML("afterEnd", chunk);
|
||||
newChildren = document.all[treeNode.id + "Nodes"];
|
||||
}
|
||||
if ((typeof(newChildren) != "undefined") && (newChildren != null)) {
|
||||
TreeView_ToggleNode(context.data, context.index, treeNode, context.lineType, newChildren);
|
||||
treeNode.href = document.getElementById ?
|
||||
"javascript:TreeView_ToggleNode(" + context.data.name + "," + context.index + ",document.getElementById('" + treeNode.id + "'),'" + context.lineType + "',document.getElementById('" + newChildren.id + "'))" :
|
||||
"javascript:TreeView_ToggleNode(" + context.data.name + "," + context.index + "," + treeNode.id + ",'" + context.lineType + "'," + newChildren.id + ")";
|
||||
if ((typeof(context.selectNode) != "undefined") && (context.selectNode != null) && context.selectNode.href &&
|
||||
(context.selectNode.href.indexOf("javascript:TreeView_PopulateNode", 0) == 0)) {
|
||||
context.selectNode.href = treeNode.href;
|
||||
}
|
||||
if ((typeof(context.selectImageNode) != "undefined") && (context.selectImageNode != null) && context.selectNode.href &&
|
||||
(context.selectImageNode.href.indexOf("javascript:TreeView_PopulateNode", 0) == 0)) {
|
||||
context.selectImageNode.href = treeNode.href;
|
||||
}
|
||||
}
|
||||
context.data.populateLog.value += context.index + ",";
|
||||
}
|
||||
else {
|
||||
var img = treeNode.childNodes ? treeNode.childNodes[0] : treeNode.children[0];
|
||||
if ((typeof(img) != "undefined") && (img != null)) {
|
||||
var lineType = context.lineType;
|
||||
if (lineType == "l") {
|
||||
img.src = context.data.images[13];
|
||||
}
|
||||
else if (lineType == "t") {
|
||||
img.src = context.data.images[10];
|
||||
}
|
||||
else if (lineType == "-") {
|
||||
img.src = context.data.images[16];
|
||||
}
|
||||
else {
|
||||
img.src = context.data.images[3];
|
||||
}
|
||||
var pe;
|
||||
if (__nonMSDOMBrowser) {
|
||||
pe = treeNode.parentNode;
|
||||
pe.insertBefore(img, treeNode);
|
||||
pe.removeChild(treeNode);
|
||||
}
|
||||
else {
|
||||
pe = treeNode.parentElement;
|
||||
treeNode.style.visibility="hidden";
|
||||
treeNode.style.display="none";
|
||||
pe.insertAdjacentElement("afterBegin", img);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
function TreeView_SelectNode(data, node, nodeId) {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
if ((typeof(data.selectedClass) != "undefined") && (data.selectedClass != null)) {
|
||||
var id = data.selectedNodeID.value;
|
||||
if (id.length > 0) {
|
||||
var selectedNode = document.getElementById(id);
|
||||
if ((typeof(selectedNode) != "undefined") && (selectedNode != null)) {
|
||||
WebForm_RemoveClassName(selectedNode, data.selectedHyperLinkClass);
|
||||
selectedNode = WebForm_GetParentByTagName(selectedNode, "TD");
|
||||
WebForm_RemoveClassName(selectedNode, data.selectedClass);
|
||||
}
|
||||
}
|
||||
WebForm_AppendToClassName(node, data.selectedHyperLinkClass);
|
||||
node = WebForm_GetParentByTagName(node, "TD");
|
||||
WebForm_AppendToClassName(node, data.selectedClass)
|
||||
}
|
||||
data.selectedNodeID.value = nodeId;
|
||||
}
|
||||
function TreeView_ToggleNode(data, index, node, lineType, children) {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
var img = node.childNodes[0];
|
||||
var newExpandState;
|
||||
try {
|
||||
if (children.style.display == "none") {
|
||||
children.style.display = "block";
|
||||
newExpandState = "e";
|
||||
if ((typeof(img) != "undefined") && (img != null)) {
|
||||
if (lineType == "l") {
|
||||
img.src = data.images[15];
|
||||
}
|
||||
else if (lineType == "t") {
|
||||
img.src = data.images[12];
|
||||
}
|
||||
else if (lineType == "-") {
|
||||
img.src = data.images[18];
|
||||
}
|
||||
else {
|
||||
img.src = data.images[5];
|
||||
}
|
||||
img.alt = data.collapseToolTip.replace(/\{0\}/, TreeView_GetNodeText(node));
|
||||
}
|
||||
}
|
||||
else {
|
||||
children.style.display = "none";
|
||||
newExpandState = "c";
|
||||
if ((typeof(img) != "undefined") && (img != null)) {
|
||||
if (lineType == "l") {
|
||||
img.src = data.images[14];
|
||||
}
|
||||
else if (lineType == "t") {
|
||||
img.src = data.images[11];
|
||||
}
|
||||
else if (lineType == "-") {
|
||||
img.src = data.images[17];
|
||||
}
|
||||
else {
|
||||
img.src = data.images[4];
|
||||
}
|
||||
img.alt = data.expandToolTip.replace(/\{0\}/, TreeView_GetNodeText(node));
|
||||
}
|
||||
}
|
||||
}
|
||||
catch(e) {}
|
||||
data.expandState.value = data.expandState.value.substring(0, index) + newExpandState + data.expandState.value.slice(index + 1);
|
||||
}
|
||||
function TreeView_UnhoverNode(node) {
|
||||
if (!node.hoverClass) {
|
||||
return;
|
||||
}
|
||||
WebForm_RemoveClassName(node, node.hoverClass);
|
||||
if (__nonMSDOMBrowser) {
|
||||
node = node.childNodes[node.childNodes.length - 1];
|
||||
}
|
||||
else {
|
||||
node = node.children[node.children.length - 1];
|
||||
}
|
||||
WebForm_RemoveClassName(node, node.hoverHyperLinkClass);
|
||||
}
|
||||
|
|
1132
Assignment5/Assignment5/Scripts/WebForms/WebForms.js
Normal file → Executable file
1132
Assignment5/Assignment5/Scripts/WebForms/WebForms.js
Normal file → Executable file
File diff suppressed because it is too large
Load diff
1294
Assignment5/Assignment5/Scripts/WebForms/WebParts.js
Normal file → Executable file
1294
Assignment5/Assignment5/Scripts/WebForms/WebParts.js
Normal file → Executable file
File diff suppressed because it is too large
Load diff
1366
Assignment5/Assignment5/Scripts/WebForms/WebUIValidation.js
Normal file → Executable file
1366
Assignment5/Assignment5/Scripts/WebForms/WebUIValidation.js
Normal file → Executable file
File diff suppressed because it is too large
Load diff
0
Assignment5/Assignment5/Scripts/bootstrap.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/bootstrap.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/bootstrap.min.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/bootstrap.min.js
vendored
Normal file → Executable file
5340
Assignment5/Assignment5/Scripts/jquery-3.4.1.intellisense.js
vendored
Normal file → Executable file
5340
Assignment5/Assignment5/Scripts/jquery-3.4.1.intellisense.js
vendored
Normal file → Executable file
File diff suppressed because it is too large
Load diff
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.min.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.min.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.slim.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.slim.js
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.slim.min.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/jquery-3.4.1.slim.min.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/modernizr-2.8.3.js
vendored
Normal file → Executable file
0
Assignment5/Assignment5/Scripts/modernizr-2.8.3.js
vendored
Normal file → Executable file
|
@ -1,71 +1,71 @@
|
|||
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.master.cs" Inherits="Assignment5.SiteMaster" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<head runat="server">
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title><%: Page.Title %> - My ASP.NET Application</title>
|
||||
|
||||
<asp:PlaceHolder runat="server">
|
||||
<%: Scripts.Render("~/bundles/modernizr") %>
|
||||
</asp:PlaceHolder>
|
||||
|
||||
<webopt:bundlereference runat="server" path="~/Content/css" />
|
||||
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form runat="server">
|
||||
<asp:ScriptManager runat="server">
|
||||
<Scripts>
|
||||
<%--To learn more about bundling scripts in ScriptManager see https://go.microsoft.com/fwlink/?LinkID=301884 --%>
|
||||
<%--Framework Scripts--%>
|
||||
<asp:ScriptReference Name="MsAjaxBundle" />
|
||||
<asp:ScriptReference Name="jquery" />
|
||||
<asp:ScriptReference Name="bootstrap" />
|
||||
<asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
|
||||
<asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
|
||||
<asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
|
||||
<asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
|
||||
<asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
|
||||
<asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
|
||||
<asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
|
||||
<asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
|
||||
<asp:ScriptReference Name="WebFormsBundle" />
|
||||
<%--Site Scripts--%>
|
||||
</Scripts>
|
||||
</asp:ScriptManager>
|
||||
|
||||
<div class="navbar navbar-inverse navbar-fixed-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" runat="server" href="~/">Application name</a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a runat="server" href="~/">Home</a></li>
|
||||
<li><a runat="server" href="~/About">About</a></li>
|
||||
<li><a runat="server" href="~/Contact">Contact</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container body-content">
|
||||
<asp:ContentPlaceHolder ID="MainContent" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
<hr />
|
||||
<footer>
|
||||
<p>© <%: DateTime.Now.Year %> - My ASP.NET Application</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.master.cs" Inherits="Assignment5.SiteMaster" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<head runat="server">
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title><%: Page.Title %> - My ASP.NET Application</title>
|
||||
|
||||
<asp:PlaceHolder runat="server">
|
||||
<%: Scripts.Render("~/bundles/modernizr") %>
|
||||
</asp:PlaceHolder>
|
||||
|
||||
<webopt:bundlereference runat="server" path="~/Content/css" />
|
||||
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form runat="server">
|
||||
<asp:ScriptManager runat="server">
|
||||
<Scripts>
|
||||
<%--To learn more about bundling scripts in ScriptManager see https://go.microsoft.com/fwlink/?LinkID=301884 --%>
|
||||
<%--Framework Scripts--%>
|
||||
<asp:ScriptReference Name="MsAjaxBundle" />
|
||||
<asp:ScriptReference Name="jquery" />
|
||||
<asp:ScriptReference Name="bootstrap" />
|
||||
<asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
|
||||
<asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
|
||||
<asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
|
||||
<asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
|
||||
<asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
|
||||
<asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
|
||||
<asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
|
||||
<asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
|
||||
<asp:ScriptReference Name="WebFormsBundle" />
|
||||
<%--Site Scripts--%>
|
||||
</Scripts>
|
||||
</asp:ScriptManager>
|
||||
|
||||
<div class="navbar navbar-inverse navbar-fixed-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" runat="server" href="~/">Application name</a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a runat="server" href="~/">Home</a></li>
|
||||
<li><a runat="server" href="~/About">About</a></li>
|
||||
<li><a runat="server" href="~/Contact">Contact</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container body-content">
|
||||
<asp:ContentPlaceHolder ID="MainContent" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
<hr />
|
||||
<footer>
|
||||
<p>© <%: DateTime.Now.Year %> - My ASP.NET Application</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class SiteMaster : MasterPage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class SiteMaster : MasterPage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
68
Assignment5/Assignment5/Site.Master.designer.cs
generated
68
Assignment5/Assignment5/Site.Master.designer.cs
generated
|
@ -1,34 +1,34 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class SiteMaster
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// HeadContent control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder HeadContent;
|
||||
|
||||
/// <summary>
|
||||
/// MainContent control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder MainContent;
|
||||
}
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class SiteMaster
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// HeadContent control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder HeadContent;
|
||||
|
||||
/// <summary>
|
||||
/// MainContent control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder MainContent;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.Mobile.master.cs" Inherits="Assignment5.Site_Mobile" %>
|
||||
<%@ Register Src="~/ViewSwitcher.ascx" TagPrefix="friendlyUrls" TagName="ViewSwitcher" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title></title>
|
||||
<asp:ContentPlaceHolder runat="server" ID="HeadContent" />
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<h1>Mobile Master Page</h1>
|
||||
<asp:ContentPlaceHolder runat="server" ID="FeaturedContent" />
|
||||
<section class="content-wrapper main-content clear-fix">
|
||||
<asp:ContentPlaceHolder runat="server" ID="MainContent" />
|
||||
</section>
|
||||
<friendlyUrls:ViewSwitcher runat="server" />
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.Mobile.master.cs" Inherits="Assignment5.Site_Mobile" %>
|
||||
<%@ Register Src="~/ViewSwitcher.ascx" TagPrefix="friendlyUrls" TagName="ViewSwitcher" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title></title>
|
||||
<asp:ContentPlaceHolder runat="server" ID="HeadContent" />
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<h1>Mobile Master Page</h1>
|
||||
<asp:ContentPlaceHolder runat="server" ID="FeaturedContent" />
|
||||
<section class="content-wrapper main-content clear-fix">
|
||||
<asp:ContentPlaceHolder runat="server" ID="MainContent" />
|
||||
</section>
|
||||
<friendlyUrls:ViewSwitcher runat="server" />
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class Site_Mobile : System.Web.UI.MasterPage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class Site_Mobile : System.Web.UI.MasterPage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
102
Assignment5/Assignment5/Site.Mobile.Master.designer.cs
generated
102
Assignment5/Assignment5/Site.Mobile.Master.designer.cs
generated
|
@ -1,51 +1,51 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Assignment5 {
|
||||
|
||||
|
||||
public partial class Site_Mobile {
|
||||
|
||||
/// <summary>
|
||||
/// HeadContent control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder HeadContent;
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// FeaturedContent control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder FeaturedContent;
|
||||
|
||||
/// <summary>
|
||||
/// MainContent control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder MainContent;
|
||||
}
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Assignment5 {
|
||||
|
||||
|
||||
public partial class Site_Mobile {
|
||||
|
||||
/// <summary>
|
||||
/// HeadContent control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder HeadContent;
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// FeaturedContent control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder FeaturedContent;
|
||||
|
||||
/// <summary>
|
||||
/// MainContent control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder MainContent;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewSwitcher.ascx.cs" Inherits="Assignment5.ViewSwitcher" %>
|
||||
<div id="viewSwitcher">
|
||||
<%: CurrentView %> view | <a href="<%: SwitchUrl %>" data-ajax="false">Switch to <%: AlternateView %></a>
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewSwitcher.ascx.cs" Inherits="Assignment5.ViewSwitcher" %>
|
||||
<div id="viewSwitcher">
|
||||
<%: CurrentView %> view | <a href="<%: SwitchUrl %>" data-ajax="false">Switch to <%: AlternateView %></a>
|
||||
</div>
|
|
@ -1,43 +1,43 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Routing;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Microsoft.AspNet.FriendlyUrls.Resolvers;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class ViewSwitcher : System.Web.UI.UserControl
|
||||
{
|
||||
protected string CurrentView { get; private set; }
|
||||
|
||||
protected string AlternateView { get; private set; }
|
||||
|
||||
protected string SwitchUrl { get; private set; }
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
// Determine current view
|
||||
var isMobile = WebFormsFriendlyUrlResolver.IsMobileView(new HttpContextWrapper(Context));
|
||||
CurrentView = isMobile ? "Mobile" : "Desktop";
|
||||
|
||||
// Determine alternate view
|
||||
AlternateView = isMobile ? "Desktop" : "Mobile";
|
||||
|
||||
// Create switch URL from the route, e.g. ~/__FriendlyUrls_SwitchView/Mobile?ReturnUrl=/Page
|
||||
var switchViewRouteName = "AspNet.FriendlyUrls.SwitchView";
|
||||
var switchViewRoute = RouteTable.Routes[switchViewRouteName];
|
||||
if (switchViewRoute == null)
|
||||
{
|
||||
// Friendly URLs is not enabled or the name of the switch view route is out of sync
|
||||
this.Visible = false;
|
||||
return;
|
||||
}
|
||||
var url = GetRouteUrl(switchViewRouteName, new { view = AlternateView, __FriendlyUrls_SwitchViews = true });
|
||||
url += "?ReturnUrl=" + HttpUtility.UrlEncode(Request.RawUrl);
|
||||
SwitchUrl = url;
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Routing;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Microsoft.AspNet.FriendlyUrls.Resolvers;
|
||||
|
||||
namespace Assignment5
|
||||
{
|
||||
public partial class ViewSwitcher : System.Web.UI.UserControl
|
||||
{
|
||||
protected string CurrentView { get; private set; }
|
||||
|
||||
protected string AlternateView { get; private set; }
|
||||
|
||||
protected string SwitchUrl { get; private set; }
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
// Determine current view
|
||||
var isMobile = WebFormsFriendlyUrlResolver.IsMobileView(new HttpContextWrapper(Context));
|
||||
CurrentView = isMobile ? "Mobile" : "Desktop";
|
||||
|
||||
// Determine alternate view
|
||||
AlternateView = isMobile ? "Desktop" : "Mobile";
|
||||
|
||||
// Create switch URL from the route, e.g. ~/__FriendlyUrls_SwitchView/Mobile?ReturnUrl=/Page
|
||||
var switchViewRouteName = "AspNet.FriendlyUrls.SwitchView";
|
||||
var switchViewRoute = RouteTable.Routes[switchViewRouteName];
|
||||
if (switchViewRoute == null)
|
||||
{
|
||||
// Friendly URLs is not enabled or the name of the switch view route is out of sync
|
||||
this.Visible = false;
|
||||
return;
|
||||
}
|
||||
var url = GetRouteUrl(switchViewRouteName, new { view = AlternateView, __FriendlyUrls_SwitchViews = true });
|
||||
url += "?ReturnUrl=" + HttpUtility.UrlEncode(Request.RawUrl);
|
||||
SwitchUrl = url;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,15 +1,15 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Assignment5 {
|
||||
|
||||
|
||||
public partial class ViewSwitcher {
|
||||
}
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Assignment5 {
|
||||
|
||||
|
||||
public partial class ViewSwitcher {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!-- For more information on using web.config transformation visit https://go.microsoft.com/fwlink/?LinkId=125889 -->
|
||||
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<!--
|
||||
In the example below, the "SetAttributes" transform will change the value of
|
||||
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
|
||||
finds an attribute "name" that has a value of "MyDB".
|
||||
|
||||
<connectionStrings>
|
||||
<add name="MyDB"
|
||||
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
|
||||
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
||||
</connectionStrings>
|
||||
-->
|
||||
<system.web>
|
||||
<!--
|
||||
In the example below, the "Replace" transform will replace the entire
|
||||
<customErrors> section of your web.config file.
|
||||
Note that because there is only one customErrors section under the
|
||||
<system.web> node, there is no need to use the "xdt:Locator" attribute.
|
||||
|
||||
<customErrors defaultRedirect="GenericError.htm"
|
||||
mode="RemoteOnly" xdt:Transform="Replace">
|
||||
<error statusCode="500" redirect="InternalError.htm"/>
|
||||
</customErrors>
|
||||
-->
|
||||
</system.web>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!-- For more information on using web.config transformation visit https://go.microsoft.com/fwlink/?LinkId=125889 -->
|
||||
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<!--
|
||||
In the example below, the "SetAttributes" transform will change the value of
|
||||
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
|
||||
finds an attribute "name" that has a value of "MyDB".
|
||||
|
||||
<connectionStrings>
|
||||
<add name="MyDB"
|
||||
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
|
||||
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
||||
</connectionStrings>
|
||||
-->
|
||||
<system.web>
|
||||
<!--
|
||||
In the example below, the "Replace" transform will replace the entire
|
||||
<customErrors> section of your web.config file.
|
||||
Note that because there is only one customErrors section under the
|
||||
<system.web> node, there is no need to use the "xdt:Locator" attribute.
|
||||
|
||||
<customErrors defaultRedirect="GenericError.htm"
|
||||
mode="RemoteOnly" xdt:Transform="Replace">
|
||||
<error statusCode="500" redirect="InternalError.htm"/>
|
||||
</customErrors>
|
||||
-->
|
||||
</system.web>
|
||||
</configuration>
|
|
@ -1,31 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!-- For more information on using web.config transformation visit https://go.microsoft.com/fwlink/?LinkId=125889 -->
|
||||
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<!--
|
||||
In the example below, the "SetAttributes" transform will change the value of
|
||||
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
|
||||
finds an attribute "name" that has a value of "MyDB".
|
||||
|
||||
<connectionStrings>
|
||||
<add name="MyDB"
|
||||
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
|
||||
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
||||
</connectionStrings>
|
||||
-->
|
||||
<system.web>
|
||||
<compilation xdt:Transform="RemoveAttributes(debug)" />
|
||||
<!--
|
||||
In the example below, the "Replace" transform will replace the entire
|
||||
<customErrors> section of your web.config file.
|
||||
Note that because there is only one customErrors section under the
|
||||
<system.web> node, there is no need to use the "xdt:Locator" attribute.
|
||||
|
||||
<customErrors defaultRedirect="GenericError.htm"
|
||||
mode="RemoteOnly" xdt:Transform="Replace">
|
||||
<error statusCode="500" redirect="InternalError.htm"/>
|
||||
</customErrors>
|
||||
-->
|
||||
</system.web>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!-- For more information on using web.config transformation visit https://go.microsoft.com/fwlink/?LinkId=125889 -->
|
||||
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<!--
|
||||
In the example below, the "SetAttributes" transform will change the value of
|
||||
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
|
||||
finds an attribute "name" that has a value of "MyDB".
|
||||
|
||||
<connectionStrings>
|
||||
<add name="MyDB"
|
||||
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
|
||||
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
||||
</connectionStrings>
|
||||
-->
|
||||
<system.web>
|
||||
<compilation xdt:Transform="RemoveAttributes(debug)" />
|
||||
<!--
|
||||
In the example below, the "Replace" transform will replace the entire
|
||||
<customErrors> section of your web.config file.
|
||||
Note that because there is only one customErrors section under the
|
||||
<system.web> node, there is no need to use the "xdt:Locator" attribute.
|
||||
|
||||
<customErrors defaultRedirect="GenericError.htm"
|
||||
mode="RemoteOnly" xdt:Transform="Replace">
|
||||
<error statusCode="500" redirect="InternalError.htm"/>
|
||||
</customErrors>
|
||||
-->
|
||||
</system.web>
|
||||
</configuration>
|
|
@ -1,41 +1,41 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
For more information on how to configure your ASP.NET application, please visit
|
||||
https://go.microsoft.com/fwlink/?LinkId=169433
|
||||
-->
|
||||
<configuration>
|
||||
<system.web>
|
||||
<compilation debug="true" targetFramework="4.7.2" />
|
||||
<httpRuntime targetFramework="4.7.2" />
|
||||
<pages>
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Optimization" />
|
||||
</namespaces>
|
||||
<controls>
|
||||
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
|
||||
</controls>
|
||||
</pages>
|
||||
</system.web>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
|
||||
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
-->
|
||||
<configuration>
|
||||
<system.web>
|
||||
<compilation debug="true" targetFramework="4.7.2" />
|
||||
<httpRuntime targetFramework="4.7.2" />
|
||||
<pages>
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Optimization" />
|
||||
</namespaces>
|
||||
<controls>
|
||||
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
|
||||
</controls>
|
||||
</pages>
|
||||
</system.web>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
|
||||
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
</configuration>
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue