<div class="demoarea">
<div class="demoheading">DropShadow Demonstration</div>
<asp:Panel ID="Panel1" runat="server" CssClass="dropShadowPanel">
<div style="padding:10px">
First Name:<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br />
Last Name:<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox><br />
<hr />
<asp:Panel ID="CollapseHeader" runat="server" style="cursor: pointer;"><asp:Label ID="Label1" runat="server" Text="Label">Show Details</asp:Label> </asp:Panel>
<asp:Panel ID="Panel2" runat="server" style="overflow:hidden;height:0">
Not many details here. This is just a demo to show how the DropShadow will react properly to changes in the size of the panel it is attached to.
</asp:Panel>
<cc1:CollapsiblePanelExtender ID="cpe1" runat="Server" TargetControlID="Panel2"
Collapsed="true" CollapsedText="Show Details" ExpandedText="Hide Details" TextLabelID="Label1"
ExpandControlID="CollapseHeader" CollapseControlID="CollapseHeader" SuppressPostBack="true" />
</div>
</asp:Panel>
<cc1:DropShadowExtender ID="DropShadowExtender1" BehaviorID="DropShadowBehavior1" runat="server" TargetControlID="Panel1" Width="5" Rounded="true" Radius="6" Opacity=".75" TrackPosition="true" />
<div style="padding:15px;">
<label for="chkShadow">Show Drop Shadow: </label><input type="checkbox" checked="checked" id="chkShadow" onclick="var b = $find('DropShadowBehavior1'); b.set_Width(chkShadow.checked ? 5 : 0);"/><br />
<label for="chkRounded">Rounded: </label><input type="checkbox" id="chkRounded" checked="checked" onclick="var b = $find('DropShadowBehavior1'); b.set_Rounded(chkRounded.checked);"/>
<div>
Radius:
<input type="radio" id="radius2" name="radiusValues" value="2" onclick="$find('DropShadowBehavior1').set_Radius(this.value);" /><label for="radius2">2</label>
<input type="radio" id="radius4" name="radiusValues" value="4" onclick="$find('DropShadowBehavior1').set_Radius(this.value);" /><label for="radius4">4</label>
<input type="radio" id="radius6" name="radiusValues" value="6" onclick="$find('DropShadowBehavior1').set_Radius(this.value);" checked="checked" /><label for="radius6">6</label>
<input type="radio" id="radius10" name="radiusValues" value="10" onclick="$find('DropShadowBehavior1').set_Radius(this.value);"/><label for="radius10">10</label>
</div>
<div>
Opacity:
<input type="radio" id="opacity25" name="opacityValues" value=".25" onclick="$find('DropShadowBehavior1').set_Opacity(this.value);" /><label for="opacity25">25%</label>
<input type="radio" id="opacity50" name="opacityValues" value=".5" onclick="$find('DropShadowBehavior1').set_Opacity(this.value);" /><label for="opacity50">50%</label>
<input type="radio" id="opacity75" name="opacityValues" value=".75" onclick="$find('DropShadowBehavior1').set_Opacity(this.value);" checked="checked" /><label for="opacity75">75%</label>
<input type="radio" id="opacity100" name="opacityValues" value="1.0" onclick="$find('DropShadowBehavior1').set_Opacity(this.value);"/><label for="opacity100">100%</label>
</div>
</div>
</div>
<div class="demoheading">DropShadow Demonstration</div>
<asp:Panel ID="Panel1" runat="server" CssClass="dropShadowPanel">
<div style="padding:10px">
First Name:<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br />
Last Name:<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox><br />
<hr />
<asp:Panel ID="CollapseHeader" runat="server" style="cursor: pointer;"><asp:Label ID="Label1" runat="server" Text="Label">Show Details</asp:Label> </asp:Panel>
<asp:Panel ID="Panel2" runat="server" style="overflow:hidden;height:0">
Not many details here. This is just a demo to show how the DropShadow will react properly to changes in the size of the panel it is attached to.
</asp:Panel>
<cc1:CollapsiblePanelExtender ID="cpe1" runat="Server" TargetControlID="Panel2"
Collapsed="true" CollapsedText="Show Details" ExpandedText="Hide Details" TextLabelID="Label1"
ExpandControlID="CollapseHeader" CollapseControlID="CollapseHeader" SuppressPostBack="true" />
</div>
</asp:Panel>
<cc1:DropShadowExtender ID="DropShadowExtender1" BehaviorID="DropShadowBehavior1" runat="server" TargetControlID="Panel1" Width="5" Rounded="true" Radius="6" Opacity=".75" TrackPosition="true" />
<div style="padding:15px;">
<label for="chkShadow">Show Drop Shadow: </label><input type="checkbox" checked="checked" id="chkShadow" onclick="var b = $find('DropShadowBehavior1'); b.set_Width(chkShadow.checked ? 5 : 0);"/><br />
<label for="chkRounded">Rounded: </label><input type="checkbox" id="chkRounded" checked="checked" onclick="var b = $find('DropShadowBehavior1'); b.set_Rounded(chkRounded.checked);"/>
<div>
Radius:
<input type="radio" id="radius2" name="radiusValues" value="2" onclick="$find('DropShadowBehavior1').set_Radius(this.value);" /><label for="radius2">2</label>
<input type="radio" id="radius4" name="radiusValues" value="4" onclick="$find('DropShadowBehavior1').set_Radius(this.value);" /><label for="radius4">4</label>
<input type="radio" id="radius6" name="radiusValues" value="6" onclick="$find('DropShadowBehavior1').set_Radius(this.value);" checked="checked" /><label for="radius6">6</label>
<input type="radio" id="radius10" name="radiusValues" value="10" onclick="$find('DropShadowBehavior1').set_Radius(this.value);"/><label for="radius10">10</label>
</div>
<div>
Opacity:
<input type="radio" id="opacity25" name="opacityValues" value=".25" onclick="$find('DropShadowBehavior1').set_Opacity(this.value);" /><label for="opacity25">25%</label>
<input type="radio" id="opacity50" name="opacityValues" value=".5" onclick="$find('DropShadowBehavior1').set_Opacity(this.value);" /><label for="opacity50">50%</label>
<input type="radio" id="opacity75" name="opacityValues" value=".75" onclick="$find('DropShadowBehavior1').set_Opacity(this.value);" checked="checked" /><label for="opacity75">75%</label>
<input type="radio" id="opacity100" name="opacityValues" value="1.0" onclick="$find('DropShadowBehavior1').set_Opacity(this.value);"/><label for="opacity100">100%</label>
</div>
</div>
</div>