Saturday, March 24, 2012

DropShadowExtender

I have a masterpage with the code below.

I have a Default.aspx page that uses the masterpage.

When Rounded is set to false then I get a panel with a shadow. If i changes Rounded to true, then I get two small areas (one white and one black). What am I doing wrong.

Best regards

S?ren Agerbo Jensen.

-------

MasterPage.master:

<%@dotnet.itags.org.MasterLanguage="C#"AutoEventWireup="true"CodeFile="MasterPage.master.cs"Inherits="MasterPage" %>

<!

DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<

htmlxmlns="http://www.w3.org/1999/xhtml">

<

headrunat="server"><title>FraIdeTilFaktura.dk</title>

</

head>

<

bodyalign="center"style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#EEEEEE', startColorstr='#555555', gradientType='0'); padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;"><formid="form1"runat="server"style="text-align: center;"><div><tableborder="0"cellpadding="0"cellspacing="0"style="height: 600px; width: 80%;"><tr><tdstyle="width: 100%; height: 50px;"></td></tr><tr><tdid="tekst"style="width: 100%; height: 400px;"><asp:ScriptManagerID="ScriptManager1"runat="server"></asp:ScriptManager> <ajaxToolkit:DropShadowExtenderRounded="false"ID="DropShadowExtender1"runat="server"TargetControlID="Panel1"Radius="2"TrackPosition="true"Width="5"></ajaxToolkit:DropShadowExtender><asp:PanelID="Panel1"runat="server"Height="100%"Width="100%"BackColor="White"ScrollBars="Auto"><

<

asp:ContentPlaceHolderID="ContentPlaceHolder1"runat="server"></asp:ContentPlaceHolder></asp:Panel></td></tr><tr><tdstyle="width: 100%; height: 50px;"></td></tr></table></div></form>

</

body>

<

scripttype="text/javascript">

document.getElementById(

"tekst").style.height=screen.height-300;

</

script>

</

html>

Sorry for the trouble - pleaseopen a work item to report and track this issue. Thank you!

No comments:

Post a Comment