Sunday, March 11, 2012

are nested resizeable controls posssible?

consider this code:


1<asp:Panel ID='pa1' runat="server" style="border-right: #ff9900 thin double; border-top: #ff9900 thin double; border-left: #ff9900 thin double; border-bottom: #ff9900 thin double">2 <asp:Panel ID='pa2' runat="server" style="border-right: #99ffcc thin solid; border-top: #99ffcc thin solid; border-left: #99ffcc thin solid; border-bottom: #99ffcc thin solid">3 </asp:Panel>4 </asp:Panel>5 <cc1:ResizableControlExtender ID="ResizableControlExtender1" runat="server" HandleCssClass="handle" TargetControlID="pa1">6 </cc1:ResizableControlExtender>7 <cc1:ResizableControlExtender ID="ResizableControlExtender2" runat="server" HandleCssClass="handle" TargetControlID="pa2">8 </cc1:ResizableControlExtender>
in this pa1 is parent of pa2. now isn't it possible tht if i expand pa2, it remains inside pa1 and expands pa1 also. when i run it, pa2 can be resized independently, so can pa1 be - although pa2 is child of pa1!
is my question not clear enough?

No comments:

Post a Comment