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,21 @@
<%@ Page Language="C#" CodeFile="default.aspx.cs" Inherits="testwebemailcontrols.Default" %>
<%@ Register Src="test.ascx" TagName="test" TagPrefix="tester" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head runat="server">
<title>Default</title>
</head>
<body>
<form id="form1" runat="server">
<!--START--><%= AppDomain.CurrentDomain.GetData ("BEGIN_CODE_MARKER") %><tester:test id="testertest" runat="server" stringSlam="string">
<slam State="4444" Text="snap test snap"></slam>
<stringBuilderSlam Length="0"/>
<dateTimeSlam/>
<intSlam/>
</tester:test><%= AppDomain.CurrentDomain.GetData ("END_CODE_MARKER") %><!--END-->
<asp:Button id="button1" runat="server" Text="Click me!" OnClick="button1Clicked" />
</form>
</body>
</html>

View File

@@ -0,0 +1,14 @@
using System;
using System.Web;
using System.Web.UI;
namespace testwebemailcontrols
{
public partial class Default : System.Web.UI.Page
{
public virtual void button1Clicked (object sender, EventArgs args)
{
button1.Text = "You clicked me";
}
}
}

View File

@@ -0,0 +1,3 @@
<%@ Control Language="C#" CodeFile="test.ascx.cs" Inherits="testwebemailcontrols.test" %>
<div>12345<%= slam.Text %></div>
<div>12345<%= slam.State %></div>

View File

@@ -0,0 +1,65 @@
using System;
using System.Text;
using System.Web;
using System.Web.UI;
using System.ComponentModel;
namespace testwebemailcontrols
{
public partial class test : System.Web.UI.UserControl
{
private ctlItem _slam;
StringBuilder _stringBuilderSlam;
string _stringSlam;
int _intSlam;
DateTime _dateTimeSlam;
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public ctlItem slam
{
get { return _slam; }
set { _slam = value; }
}
public StringBuilder stringBuilderSlam {
get { return _stringBuilderSlam; }
set { _stringBuilderSlam = value; }
}
public string stringSlam {
get { return _stringSlam; }
set { _stringSlam = value; }
}
public int intSlam {
get { return _intSlam; }
set { _intSlam = value; }
}
public DateTime dateTimeSlam {
get { return _dateTimeSlam; }
set { _dateTimeSlam = value; }
}
public class ctlItem
{
string _Text = "123";
string _state = "345";
public string State
{
get { return _state; }
set { _state = value; }
}
[PersistenceMode(PersistenceMode.InnerDefaultProperty)]
public string Text
{
get { return _Text; }
set { _Text = value; }
}
}
}
}

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<compilation debug="true" />
<customErrors mode="RemoteOnly" />
</system.web>
</configuration>