|
<%@
Register TagPrefix="UVc" Namespace="Asp2Aspx" Assembly="Asp2Aspx"
%>
<%@
Page Language="C#" %>
<!DOCTYPEHTMLPUBLIC"-//W3C//DTD
HTML 4.0 Transitional//EN">
<HTML>
protected void btnSubmit_onClick(object sender, EventArgs
e)
</
script
>
</
HEAD
>
<
body
>
<
form
runat
="server"
ID
="Form1">
<
h2
>
Kevin & Josh's LayoutMan
Control (source code here)
</
h2
>
<
ul
>
<
li
>
Click day 12 in the first calendar.
<
li
>
Click day 12 in the second calendar, which is not contained within
the
LayoutMan control.
<
li
>
Click the <strong>Swap My Alignment!</strong>
button. This will now lay out the LayoutMan control's contents
horizontally.
<
li
>
Now, click that button again, and this time the LayoutMan's
Calendar remembers
that it has day 12 selected.</li>
</
ul
>
<
p
>
<
asp:Label
id
="lbl"
runat
="server"
/>
</
p
>
<
p
>
<
UVc:LayoutMan
id
="uvcBox"
runat
="server">
<asp:Panelid="Panel1"runat="server"BackColor="LightGreen"BorderWidth="1">Hi!</asp:Panel>
<asp:Panelid="Panel2"runat="server"BackColor="LightGreen"BorderWidth="1">Testing!</asp:Panel>
<
asp:Calendar
id
="Calendar1"
runat
="server"></
asp:Calendar
>
</
UVc:LayoutMan
>
</
p
>
<
p
>
<
asp:Button
id
="btnSubmit"
OnClick
="btnSubmit_onClick"
runat
="server"
Text
="Swap My Alignment!"
/>
</
p
>
<
BR
>
<
asp:calendar
runat
="server"
ID
="Calendar2"
/>
</
form
>
</
body
>
</HTML>
|
|