Draggable extender stack attribute

Jul 28, 2009 at 5:02 AM

In the page below  I have a few divs set to be draggable using the draggable extender. I want to make it so the divs inside the div with the class WindowsPnl stackable so that their zindices are controlled automatically. I can't seem to figure out the syntax to use for the Stack attribute on the extender. Any help would be appreciated. Thank you.

 

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Member.aspx.vb" Inherits="Member" %>
<%@ Register Assembly="jQueryDotNetLib" Namespace="jQueryDotNetLib.Controls" TagPrefix="cc1" %>
<%@ Register Assembly="jQueryDotNetLib" Namespace="jQueryDotNetLib.Extenders" TagPrefix="cc2" %>

<!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 runat="server">
        <title></title>
        <link href="Style.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <form id="MemberForm" runat="server">
        <cc1:ScriptManager ID="ScriptManager1" runat="server" />
        <cc2:Draggable ID="Draggable" runat="server" Selector=".WindowPnl" Stack="{ group: '.WindowsDiv div', min: 1 }" />
        <div class="WindowsDiv">
            <div class="WindowPnl">
		panel 1 content
            </div>
            <div class="WindowPnl">
		panel 2 content
            </dic>
        </div>
        </form>
    </body>
</html>