Hello,
I have created a very simple application that uses WebParts and Atlas. By placing all of my controls (a WebPartManager, 2 WebPartZones, and 1 DropDownListbox within a single UpdatePanel, I managed to get everything working in IE except the Drag-and-Drop aspect of WebParts. For this, I used David's posting of the additional code required in the web.config file to add a section called <tagMapping> that directs the application to use the Atlas version of the WebParts. As an aside, I noticed that by using the AutoPostBack feature of the dropdownlistbox, I did not require any triggers, although I have included one in the code below.
My question though is that while my application does work in IE, the Drag-and-Drop ability of Design Mode still does not work in Mozilla FireFox. I have the June Release of Atlas, and version 1.5.0.4 of FireFox. I would appreciate any help as I am out of ideas.
Thanks! (and here is my code below)
JCL
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<%@ Register Src="WebUserControl.ascx" TagName="WebUserControl" TagPrefix="uc1" %>
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head runat="server">
<title>Untitled Page</title>
</head>
<body style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#C0CFE2', startColorstr='#FFFFFF', gradientType='0');">
<atlas:ScriptManager ID="ScriptManager1" EnablePartialRendering="True" runat="server" />
<form id="form1" runat="server">
<atlas:UpdatePanel ID="p1" runat="server">
<ContentTemplate>
<asp:WebPartManager ID="WebPartManager1" runat="server">
</asp:WebPartManager>
<asp:WebPartZone ID="WebPartZone1" runat="server" BackColor="#FFFF80">
</asp:WebPartZone>
<asp:WebPartZone ID="WebPartZone2" runat="server" BackColor="#C0FFC0">
</asp:WebPartZone>
<asp:CatalogZone ID="CatalogZone1" runat="server">
<ZoneTemplate>
<asp:DeclarativeCatalogPart ID="DeclarativeCatalogPart1" runat="server">
<WebPartsTemplate>
<uc1:WebUserControl ID="WebUserControl1" runat="server" />
</WebPartsTemplate>
</asp:DeclarativeCatalogPart>
</ZoneTemplate>
</asp:CatalogZone>
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True">
<asp:ListItem>Browse</asp:ListItem>
<asp:ListItem>Catalog</asp:ListItem>
<asp:ListItem>Design</asp:ListItem>
</asp:DropDownList>
</ContentTemplate>
<Triggers>
<atlas:ControlEventTrigger ControlID="DropDownList1" EventName="SelectedIndexChanged" />
</Triggers>
</atlas:UpdatePanel>
</form>
</body>
</html>