Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Objectives
Panel Demo
Panel Demo
Panel Demo
Panel Demo
Add Default.aspx
Panel Demo
The Panel
10
Source View
11
Edit Source
12
13
App Running
14
15
Effects of Properties
HorizontalAlign
Wrap
Height
Width
Padding
16
Dynamic Controls
Dynamic Controls
</asp:Panel>
<table>
<tr>
<td>
Number of Labels:
</td>
<td>
<asp:DropDownList ID="ddlLabels" runat="server">
<asp:ListItem Text="0" Value="0" />
<asp:ListItem Text="1" Value="1" />
<asp:ListItem Text="2" Value="2" />
<asp:ListItem Text="3" Value="3" />
<asp:ListItem Text="4" Value="4" />
</asp:DropDownList>
</td>
</tr>
18
Dynamic Controls
<tr>
<td>
Number of TextBoxes:
</td>
<td>
<asp:DropDownList ID="ddlBoxes" runat="server">
<asp:ListItem Text="0" Value="0" />
<asp:ListItem Text="1" Value="1" />
<asp:ListItem Text="2" Value="2" />
<asp:ListItem Text="3" Value="3" />
<asp:ListItem Text="4" Value="4" />
</asp:DropDownList>
</td>
</tr>
19
Dynamic Controls
<tr>
<td colspan=2> </td>
</tr>
<tr>
<td>
<asp:CheckBox id="cbHide" runat="server"
text="Hide Panel" />
</td>
<td>
<asp:Button ID="btnRefreshPanel" runat="server"
text="Refresh Panel" />
</td>
</tr>
</table>
20
Design View
21
System;
System.Web;
System.Web.UI;
System.Web.UI.WebControls;
22
Page in Chrome
23
24
25
26
Add to Page_Load:
27
28
Automatic Scrollbar
Automatic Scrollbar
End of Presentation
30
Summary
End of Presentation