hi,
i don't know right now if this is a bug but it seems like this. i wanted to create a accordin control with 3 regions. the linktext and the section content should be editable. for this reason i created a webpart like this:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Accordion3.ascx.cs" Inherits="CMSWebParts_Goldburg_Accordion3" %>
<ajaxToolkit:Accordion ID="Accordion1" runat="server" SelectedIndex="-1" FadeTransitions="true"
FramesPerSecond="40" TransitionDuration="250" AutoSize="None" HeaderCssClass="accordionheader" ContentCssClass="accordioncontent" CssClass="accordion">
<Panes>
<ajaxToolkit:AccordionPane ID="AccordionPane1" runat="server">
<Header>
<a href="" onclick="return false;">
<cms:CMSEditableRegion runat="server" ID="CMSEditableRegionLinktext1" RegionTitle="Linktext 1" DialogHeight="24" RegionType="TextBox" />
</a>
</Header>
<Content>
<cms:CMSEditableRegion runat="server" ID="CMSEditableRegionContent1" RegionTitle="Inhalt 1" DialogHeight="320" RegionType="HtmlEditor" />
</Content>
</ajaxToolkit:AccordionPane>
<ajaxToolkit:AccordionPane ID="AccordionPane2" runat="server">
<Header>
<a href="" onclick="return false;">
<cms:CMSEditableRegion runat="server" ID="CMSEditableRegionLinktext2" RegionTitle="Linktext 2" DialogHeight="24" RegionType="TextBox" />
</a>
</Header>
<Content>
<cms:CMSEditableRegion runat="server" ID="CMSEditableRegionContent2" RegionTitle="Inhalt 2" DialogHeight="320" RegionType="HtmlEditor" />
</Content>
</ajaxToolkit:AccordionPane>
<ajaxToolkit:AccordionPane ID="AccordionPane3" runat="server">
<Header>
<a href="" onclick="return false;">
<cms:CMSEditableRegion runat="server" ID="CMSEditableRegionLinktext3" RegionTitle="Linktext 3" DialogHeight="24" RegionType="TextBox" />
</a>
</Header>
<Content>
<cms:CMSEditableRegion runat="server" ID="CMSEditableRegionContent3" RegionTitle="Inhalt 3" DialogHeight="320" RegionType="HtmlEditor" />
</Content>
</ajaxToolkit:AccordionPane>
</Panes>
</ajaxToolkit:Accordion>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CMS.PortalControls;
public partial class CMSWebParts_Goldburg_Accordion3 : CMSAbstractWebPart
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
i've added the webpart to the site manager like described in te tutorial. averything worked fine in my test-project. i can easiely update the content in my test project.
but in my 'life' project i'm not able to edit any of the content in the accordion control. it only saves the content of the thrid section and has some odd behaviour. i can't get any differences belonging to the test and life-project. i've also deleted the page and created a new one (which is containing the webpart) - same failure...?
any suggestions?