Changed directory structure and added tests for asp.net 2.0
svn path=/trunk/xsp/; revision=39262
|
@ -0,0 +1 @@
|
||||||
|
SUBDIRS = authtest asp.net webcontrols html webservice databind handlers customcontrol
|
|
@ -0,0 +1,37 @@
|
||||||
|
samplesdir = $(datadir)/doc/xsp/test/1.1/asp.net
|
||||||
|
|
||||||
|
testfiles = \
|
||||||
|
codebehind1.aspx \
|
||||||
|
code-render.aspx \
|
||||||
|
body.inc \
|
||||||
|
header.inc \
|
||||||
|
registertest1.ascx \
|
||||||
|
registertest2.ascx \
|
||||||
|
includetest.aspx \
|
||||||
|
registertest.aspx \
|
||||||
|
server-side-object.aspx \
|
||||||
|
session1.aspx \
|
||||||
|
typedesc.aspx
|
||||||
|
|
||||||
|
typedesc_src = typedesc.cs
|
||||||
|
codebehind_src = codebehind1.cs
|
||||||
|
|
||||||
|
typedesc_build = $(addprefix $(srcdir)/, $(typedesc_src))
|
||||||
|
codebehind_build = $(addprefix $(srcdir)/, $(codebehind_src))
|
||||||
|
|
||||||
|
samplesbindir = $(datadir)/doc/xsp/test/bin
|
||||||
|
samplesbin_SCRIPTS = codebehind1.dll typedesc.dll
|
||||||
|
|
||||||
|
samples_DATA = $(testfiles)
|
||||||
|
EXTRA_DIST = $(testfiles) \
|
||||||
|
$(codebehind_src) \
|
||||||
|
$(typedesc_src)
|
||||||
|
|
||||||
|
CLEANFILES = $(samplesbin_SCRIPTS)
|
||||||
|
|
||||||
|
%.dll: %.cs
|
||||||
|
$(MCS) -r:System.Web.dll -t:library -out:$@ $^
|
||||||
|
|
||||||
|
typedesc.dll: $(typedesc_build)
|
||||||
|
|
||||||
|
codebehind1.dll: $(codebehind_build)
|
|
@ -1,3 +1,3 @@
|
||||||
authsampledir = $(datadir)/doc/xsp/test/authtest
|
authsampledir = $(datadir)/doc/xsp/test/1.1/authtest
|
||||||
authsample_DATA = index.aspx login.aspx web.config
|
authsample_DATA = index.aspx login.aspx web.config
|
||||||
EXTRA_DIST = $(authsample_DATA)
|
EXTRA_DIST = $(authsample_DATA)
|
|
@ -0,0 +1,29 @@
|
||||||
|
samplesdir = $(datadir)/doc/xsp/test/1.1/customcontrol
|
||||||
|
|
||||||
|
testfiles = \
|
||||||
|
tabcontrol2.aspx \
|
||||||
|
tabcontrol.aspx
|
||||||
|
|
||||||
|
tabcontrol_src = tabcontrol.cs
|
||||||
|
tabcontrol2_src = tabcontrol2.cs
|
||||||
|
|
||||||
|
tabcontrol_build = $(addprefix $(srcdir)/, $(tabcontrol_src))
|
||||||
|
tabcontrol2_build = $(addprefix $(srcdir)/, $(tabcontrol2_src))
|
||||||
|
|
||||||
|
samples_DATA = $(testfiles)
|
||||||
|
|
||||||
|
samplesbindir = $(datadir)/doc/xsp/test/bin
|
||||||
|
samplesbin_SCRIPTS = tabcontrol.dll tabcontrol2.dll
|
||||||
|
|
||||||
|
EXTRA_DIST = $(testfiles) \
|
||||||
|
$(tabcontrol_src) \
|
||||||
|
$(tabcontrol2_src)
|
||||||
|
|
||||||
|
CLEANFILES = $(samplesbin_SCRIPTS)
|
||||||
|
|
||||||
|
%.dll: %.cs
|
||||||
|
$(MCS) -r:System.Web.dll -t:library -out:$@ $^
|
||||||
|
|
||||||
|
tabcontrol.dll: $(tabcontrol_build)
|
||||||
|
|
||||||
|
tabcontrol2.dll: $(tabcontrol2_build)
|
|
@ -0,0 +1,61 @@
|
||||||
|
<%@ Page Language="C#" %>
|
||||||
|
<%@ Import namespace="System.Reflection" %>
|
||||||
|
<%@ Register TagPrefix="Mono" Namespace="Mono.Controls" assembly="tabcontrol2" %>
|
||||||
|
<html>
|
||||||
|
<!-- You must compile tabcontrol2.cs and copy the dll to the output/ directory -->
|
||||||
|
<!-- Authors:
|
||||||
|
-- Gonzalo Paniagua Javier (gonzalo@ximian.com)
|
||||||
|
-- (c) 2002 Ximian, Inc (http://www.ximian.com)
|
||||||
|
-->
|
||||||
|
|
||||||
|
<title>User Control tabcontrol2</title>
|
||||||
|
<script runat=server>
|
||||||
|
private static int _clicked = 0;
|
||||||
|
void Clicked (object o, EventArgs e)
|
||||||
|
{
|
||||||
|
uno.InnerText = String.Format ("Somebody pressed me {0} times.", ++_clicked);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static int _txt_changed = 0;
|
||||||
|
void txt_Changed (object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
dos.InnerText = String.Format ("Text have changed {0} times.", ++_txt_changed);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<center>
|
||||||
|
<h3>Test for Tabs user control (tabcontrol2.dll)</h3>
|
||||||
|
<hr>
|
||||||
|
</center>
|
||||||
|
|
||||||
|
<form runat="server">
|
||||||
|
<Mono:Tabs2 runat="server" id="tabs">
|
||||||
|
<Mono:TabContent runat="server" label="Empty" />
|
||||||
|
<Mono:TabContent runat="server" label="Image">
|
||||||
|
Hi there
|
||||||
|
<p>
|
||||||
|
<asp:Image id="im" runat="server"
|
||||||
|
AlternateText="Yes, again the dancing monkey"
|
||||||
|
ImageAlign="left"
|
||||||
|
ImageUrl="http://www.ximian.com/images/index/button-top.gif"/>
|
||||||
|
</Mono:TabContent>
|
||||||
|
<Mono:TabContent runat="server" Label="Form">
|
||||||
|
<asp:Button id="btn"
|
||||||
|
Text="Submit"
|
||||||
|
OnClick="Clicked"
|
||||||
|
runat="server"/>
|
||||||
|
<br>
|
||||||
|
<span runat=server id="uno"/>
|
||||||
|
<br>
|
||||||
|
<span runat=server id="dos"/>
|
||||||
|
<br>
|
||||||
|
<asp:TextBox id="txt1" Text="You can write here." TextMode="MultiLine"
|
||||||
|
OnTextChanged="txt_Changed" runat="server" rows=5 />
|
||||||
|
<br>
|
||||||
|
</Mono:TabContent>
|
||||||
|
</Mono:Tabs2>
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
authsampledir = $(datadir)/doc/xsp/test/1.1/databind
|
||||||
|
authsample_DATA = \
|
||||||
|
databind-arraylist.aspx \
|
||||||
|
databind-attribute.aspx \
|
||||||
|
databind-class.aspx \
|
||||||
|
databind-template.aspx
|
||||||
|
|
||||||
|
EXTRA_DIST = $(authsample_DATA)
|
|
@ -0,0 +1,7 @@
|
||||||
|
authsampledir = $(datadir)/doc/xsp/test/1.1/handlers
|
||||||
|
authsample_DATA = \
|
||||||
|
chunked.ashx \
|
||||||
|
monodoc.ashx \
|
||||||
|
webhandler.ashx
|
||||||
|
|
||||||
|
EXTRA_DIST = $(authsample_DATA)
|
До Ширина: | Высота: | Размер: 661 B После Ширина: | Высота: | Размер: 661 B |
До Ширина: | Высота: | Размер: 793 B После Ширина: | Высота: | Размер: 793 B |
До Ширина: | Высота: | Размер: 846 B После Ширина: | Высота: | Размер: 846 B |
До Ширина: | Высота: | Размер: 975 B После Ширина: | Высота: | Размер: 975 B |
До Ширина: | Высота: | Размер: 1.0 KiB После Ширина: | Высота: | Размер: 1.0 KiB |
До Ширина: | Высота: | Размер: 1.0 KiB После Ширина: | Высота: | Размер: 1.0 KiB |
До Ширина: | Высота: | Размер: 1.2 KiB После Ширина: | Высота: | Размер: 1.2 KiB |
|
@ -0,0 +1,19 @@
|
||||||
|
authsampledir = $(datadir)/doc/xsp/test/1.1/html
|
||||||
|
authsample_DATA = \
|
||||||
|
button.aspx \
|
||||||
|
htmlanchor.aspx \
|
||||||
|
htmlbutton.aspx \
|
||||||
|
htmlgeneric.aspx \
|
||||||
|
htmlimage.aspx \
|
||||||
|
htmlinputbutton.aspx \
|
||||||
|
htmlinputcheckbox.aspx \
|
||||||
|
htmlinputfile.aspx \
|
||||||
|
htmlinputhidden.aspx \
|
||||||
|
htmlinputimage.aspx \
|
||||||
|
htmlinputradiobutton.aspx \
|
||||||
|
htmlinputtext.aspx \
|
||||||
|
htmlselect.aspx \
|
||||||
|
htmltable.aspx \
|
||||||
|
htmltextarea.aspx
|
||||||
|
|
||||||
|
EXTRA_DIST = $(authsample_DATA)
|
|
@ -0,0 +1,38 @@
|
||||||
|
authsampledir = $(datadir)/doc/xsp/test/1.1/webcontrols
|
||||||
|
authsample_DATA = \
|
||||||
|
listitem.aspx \
|
||||||
|
temperature.aspx \
|
||||||
|
validator1.aspx \
|
||||||
|
web_adrotator.aspx \
|
||||||
|
web_button.aspx \
|
||||||
|
web_checkbox.aspx \
|
||||||
|
web_checkboxlist.aspx \
|
||||||
|
web_datagrid.aspx \
|
||||||
|
web_datagrid_command.aspx \
|
||||||
|
web_dropdownlist.aspx \
|
||||||
|
web_hyperlink.aspx \
|
||||||
|
web_image.aspx \
|
||||||
|
web_imagebutton.aspx \
|
||||||
|
web_label.aspx \
|
||||||
|
web_linkbutton.aspx \
|
||||||
|
web_listbox.aspx \
|
||||||
|
web_literal.aspx \
|
||||||
|
web_panel.aspx \
|
||||||
|
web_placeholder.aspx \
|
||||||
|
web_radiobutton.aspx \
|
||||||
|
web_radiobuttonlist.aspx \
|
||||||
|
web_regularexpressionvalidator.aspx \
|
||||||
|
web_repeater.aspx \
|
||||||
|
web_table2.aspx \
|
||||||
|
web_table.aspx \
|
||||||
|
web_textbox.aspx \
|
||||||
|
web_xml.aspx \
|
||||||
|
calendar.aspx \
|
||||||
|
datalist.aspx \
|
||||||
|
dbpage1.aspx \
|
||||||
|
dbpage2.aspx \
|
||||||
|
people.xml \
|
||||||
|
web_adrotator.xml \
|
||||||
|
peopletable.xsl
|
||||||
|
|
||||||
|
EXTRA_DIST = $(authsample_DATA)
|