Hi Salvatore,
I was able to duplicate your error.
It looks like if you have anything other than normal flow positioning (e.g. absolute), then DropShadowExtender doesn't take that into consideration.
If you position your table 200px from the left, for example, then your shadow will be 200px from the left of your cell containing the control you are shadowing.
I personally don't see a way around it, maybe it is a scenario the designers did not take into consideration. Maybe if no one else sees a way around it you could report it.
Pete
Here is my code:
<%@.PageLanguage="C#"AutoEventWireup="true"CodeBehind="Default.aspx.cs"Inherits="AJAXEnabledWebApplication1._Default" %>
<%@.RegisterAssembly="AjaxControlToolkit"Namespace="AjaxControlToolkit"TagPrefix="cc1" %>
<!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>Untitled Page</title></head>
<bodystyle="background-color: transparent">
<formid="form1"runat="server">
<asp:ScriptManagerID="ScriptManager1"runat="server"/>
<div>
<asp:TableID="Table1"runat="server"Height="332px"Width="442px"GridLines="Both"style="left: 235px; position: absolute; top: 54px;">
<asp:TableRowrunat="server">
<asp:TableCellrunat="server"><asp:ButtonID="Button1"runat="server"Text="Button"style="position: absolute"/>
</asp:TableCell>
<asp:TableCellrunat="server">hello</asp:TableCell>
</asp:TableRow>
<asp:TableRowrunat="server">
<asp:TableCellrunat="server">good bye</asp:TableCell>
<asp:TableCellrunat="server">good bye again</asp:TableCell>
</asp:TableRow>
</asp:Table>
</div>
<cc1:dropshadowextenderid="DropShadowExtender1"runat="server"targetcontrolid="Button1"rounded="true"TrackPosition="true"></cc1:dropshadowextender>
</form></body>
</html>
Maybe I understand.
At work I have no problem, just at home.
So I see that at home I have not the visual studio 2005 service pack installed.
I will try this evening.
No comments:
Post a Comment