Monday, March 26, 2012

Duplicate use of ID for AtlasControlToolkit.PopupControlBehavior

Hi, Im Using April CTP with AtlasControlToolkit-PopupControl

Whenever I use the control specified in the TargetControlID of the PopupControlExtender properties and place it inside a Updatepanel I get this error: Duplicate use of ID for AtlasControlToolkit.PopupControlBehavior

or in other words I would like to update the textbox from somewhere else using a Updatepanel.

<

atlas:UpdatePanelID="UpdatePane12"runat="server"Mode="Conditional"><Triggers><atlas:ControlEventTriggerControlID="DropDownList5"EventName="SelectedIndexChanged"/></Triggers><ContentTemplate><asp:TextBoxID="TextBoxDateFrom"runat="server"></asp:TextBox></ContentTemplate></atlas:UpdatePanel><asp:Panelrunat="server"ID="Panel1"CssClass="popupControl"><atlas:UpdatePanelID="UpdatePanel1"runat="server"><ContentTemplate><atlasToolkit:PopupControlExtenderID="PopupControlExtender1"runat="server"><atlasToolkit:PopupControlPropertiesTargetControlID="TextBoxDateFrom"PopupControlID="Panel1"Position="Bottom"/></atlasToolkit:PopupControlExtender><center><asp:CalendarID="Calendar1"runat="server"OnSelectionChanged="Calendar1_SelectionChanged"DayNameFormat="Shortest"BorderColor="#cccccc"BorderStyle="Solid"Width="180px"BackColor="White"><TodayDayStyleBackColor="#cccccc"/><DayStyleBackColor="Transparent"/><SelectedDayStyleFont-Bold="False"BackColor="IndianRed"/><WeekendDayStyleBackColor="#FFFFCC"/><TitleStyleBackColor="#5d7b9d"BorderColor="Black"Font-Bold="True"ForeColor="White"/></asp:Calendar></center></ContentTemplate></atlas:UpdatePanel></asp:Panel>

This is a known Atlas issue with the April CTP. I believe you'll find a work around for this in this thread:

http://forums.asp.net/thread/1282330.aspx

No comments:

Post a Comment