<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Shadow.aspx.cs" Inherits="ComboBox_Shadow" %>
<%@ Register TagPrefix="APNSoft" Namespace="APNSoft.WebControls" Assembly="APNSoftControls" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<div style="display:inline-block; width:300px; float:left;">
CSS Shadow:
<br/>
<APNSoft:APNSoftComboBox id="myComboBox" runat="server"
SkinFolder = "~/ComboBox/Skins/GrayScale/"
StructureFileURL="~/ComboBox/Structures/Default.xml"
/>
</div>
<div style="display:inline-block;">
PNG Shadow:
<br/>
<APNSoft:APNSoftComboBox id="myComboBox2" runat="server"
SkinFolder = "~/ComboBox/Skins/ShadowPNG/"
StructureFileURL="~/ComboBox/Structures/Default.xml"
/>
</div>
PNG shadow supports transparency and looks identical in all browsers. To add PNG shadow to the DropDown List, add the following images to your Skin Folder:
<ul>
<li><b>ShadowBottom.png</b></li>
<li><b>ShadowCorner.png</b></li>
<li><b>ShadowLeft.png</b> (optional)</li>
<li><b>ShadowRight.png</b></li>
</ul>
</pre>
</div>
</form>
</body>
</html> |