Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<%@ Page Language="C#" AutoEventWireup="True" MasterPageFile="~/dico.master" %>
<script language="C#" runat="server">
</script>
<html>
<head />
<body>
<form runat="server">
</form>
</body>
</html>

View File

@@ -0,0 +1,9 @@
<%@ master Language="C#" masterpagefile="~/suivicom.master" %>
<script>
</script>
<html>
<body>
<ASP:ContentPlaceHolder id="DicoTitre">Titre du dictionnaire</ASP:ContentPlaceHolder>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<%@ Master Language="C#" %>
<script runat="server">
<html>
<head />
<body>
<form runat="server">
<asp:contentplaceholder id="body" runat="server"></asp:contentplaceholder>
</form>
</body>
</html>

View File

@@ -0,0 +1,4 @@
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>

View File

@@ -0,0 +1,18 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}

View File

@@ -0,0 +1,18 @@
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
Data: <%=this.Data %>
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</div>
</form>
</body>
</html>

View File

@@ -0,0 +1,20 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class MasterPage : System.Web.UI.MasterPage
{
public string Data;
protected void Page_Load(object sender, EventArgs e)
{
Data = "Bleh";
}
}

View File

@@ -0,0 +1,5 @@
<configuration>
<system.web>
<compilation debug="true" />
</system.web>
</configuration>

View File

@@ -0,0 +1,59 @@
<%@ Page Language="C#" MasterPageFile="simple.master" %>
<script runat="server">
override protected void OnPreInit(EventArgs e)
{
//this is another bug if you uncomment this
//it works as expected on windows but
//causes a null reference in the page load event on mono
base.OnPreInit(e);
this.MasterPageFile = "simple2.master";
}
override protected void OnInit(EventArgs e)
{
base.OnInit(e);
}
private void Page_PreInit (object sender, EventArgs e)
{
this.MasterPageFile = "simple2.master";
}
private void Page_Load (object sender, EventArgs e)
{
lblHelloWeb.Text = "Hello Web!";
//TestKey
}
private void btnTestConfig_Click (object sender, EventArgs e)
{
//this displays the value on windows but not on mono r55575
this.lblTestConfig.Text = System.Configuration.ConfigurationSettings.AppSettings.Get("TestKey");
}
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="server">
Contents go here
<hr />
<asp:Label id="lblHelloWeb" runat="server" />
<hr />
<asp:Button id="btnTestConfig" runat="server" OnClick="btnTestConfig_Click" Text="Test Config" />
<asp:Label id="lblTestConfig" runat="server" />
</asp:Content>

View File

@@ -0,0 +1,45 @@
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings>
<add key="TestKey" value="this is coming from the web.config" />
</appSettings>
<connectionStrings/>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true"/>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
</system.web>
</configuration>

View File

@@ -0,0 +1,19 @@
<%@ Master Language="C#"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Simple Master Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
What's inside the following box is a placeholder:
<div style='border:solid 2px red; padding:10px'>
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server"></asp:contentplaceholder>
</div>
That's all!
</form>
</body>
</html>

View File

@@ -0,0 +1,20 @@
<%@ Master Language="C#"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Simple Master Page</title>
</head>
<body>
<form id="form1" runat="server">
<h3>Simple2</h3>
<div>
What's inside the following box is a placeholder:
<div style='border:solid 2px red; padding:10px'>
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server"></asp:contentplaceholder>
</div>
That's all!
</form>
</body>
</html>

View File

@@ -0,0 +1,14 @@
<%@ Master Language="C#" %>
<head runat="server">
<title>This is the Master Page's title</title>
</head>
<body>
<asp:contentplaceholder ID="TitlePlaceholder" runat="server">
<form runat="server">
This is the master page's heading <br/>
<asp:Button runat="server" id="foo" Text="Foo" />
</form>
</asp:contentplaceholder>
</body>

View File

@@ -0,0 +1,4 @@
<%@ Page Language="C#" Title="This is the Page's title" MasterPageFile="../master.master" %>
<asp:content ID="title" ContentPlaceholderID="TitlePlaceholder" runat="server">
This is the Page's heading
</asp:content>

View File

@@ -0,0 +1 @@
<%@ Page Language="C#" Title="This is the Page's title" MasterPageFile="../master.master" %>

View File

@@ -0,0 +1,26 @@
<%@ Master Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<link href="~/StyleSheet.css" rel="Stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<div id="main">
<asp:ContentPlaceHolder ID="mainContent" runat="server" />
</div>
<div id="right">
<asp:ContentPlaceHolder ID="sideContent" runat="server" />
</div>
<div id="footer">
<asp:Literal ID="Footer" runat="server" Text="OdeToCode.com" />
</div>
</div>
</form>
</body>
</html>

View File

@@ -0,0 +1,14 @@
<%@ Master Language="C#" MasterPageFile="otc.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" runat="Server">
<div>
<asp:ContentPlaceHolder ID="mainContent" runat="server" />
</div>
<div>
<asp:ContentPlaceHolder ID="main2" runat="server" />
</div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="sideContent" runat="Server">
<asp:ContentPlaceHolder ID="side1" runat="server" />
</asp:Content>

View File

@@ -0,0 +1,13 @@
<%@ Page Language="C#" MasterPageFile="otcchild.master" AutoEventWireup="false" %>
<asp:Content ID="mainContent" ContentPlaceHolderID="mainContent" Runat="Server">
<h4>Content1</h4>
</asp:Content>
<asp:Content ID="main2" ContentPlaceHolderID="main2" Runat="Server">
<h4>Content2</h4>
</asp:Content>
<asp:Content ID="side1" ContentPlaceHolderID="side1" Runat="Server">
<h4>Content3</h4>
</asp:Content>

View File

@@ -0,0 +1,26 @@
<%@ Master Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<link href="~/StyleSheet.css" rel="Stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<div id="main">
<asp:ContentPlaceHolder ID="mainContent" runat="server" />
</div>
<div id="right">
<asp:ContentPlaceHolder ID="sideContent" runat="server" />
</div>
<div id="footer">
<asp:Literal ID="Footer" runat="server" Text="OdeToCode.com" />
</div>
</div>
</form>
</body>
</html>

View File

@@ -0,0 +1,14 @@
<%@ Master Language="C#" MasterPageFile="otc.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" runat="Server">
<div>
<asp:ContentPlaceHolder ID="main1" runat="server" />
</div>
<div>
<asp:ContentPlaceHolder ID="main2" runat="server" />
</div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="sideContent" runat="Server">
<asp:ContentPlaceHolder ID="side1" runat="server" />
</asp:Content>

Some files were not shown because too many files have changed in this diff Show More