Welcome Guest Search | Active Topics | Sign In | Register

SlideMenu CallPanel error Options
Bazooka
Posted: Wednesday, February 24, 2010 3:39:55 PM
Rank: Advanced Member
Groups: Member

Joined: 7/3/2009
Posts: 37
I have slideMenu and within the submenu I added a CustomItemID="CustomItemVotingBox" which references a on-demand EO. tab control. For the tab I add a user server control which contains a static custom server control. It has no errors on initial load of the page and when I select the News1-tab(user control) which loads the custom server control with no errors. The issue comes when I try to re-select the News1-tab(user control) again which does a re-post I receive the following error. It looks like it has something to do with the re-post.
I already added <add name="EOWebRuntime" type="EO.Web.Runtime,EO.Web" /> to the webconfig file. Can you point me to the right direction? I'm I missing something?


EO.Web Controls Client Side Debug Message:

EO.Web control 'ctl00_CustomItemINTheNews_CallbackPanelTabInTheNews' error message:The callback on 'ctl00_CustomItemINTheNews_CallbackPanelTabInTheNews'
has failed because the server did not recognize this callback and processed it as a normal request.
This can occur if there are multiple Callback/CallbackPanel controls in the page, and this Callback/CallbackPanel control was initially dynamically
loaded but wasn't loaded for this callback.

This can also occur if you have called Response.Redirect on the server side. Callback/CalbackPanel provides a
Redirect method for such scenario. Please use the Callback/CallbackPanel's Redirect method in this case.(set ClientSideOnError to handle this error).



You can turn off this message by setting EO.Web.Runtime.DebugLevel to 0 (Not recommended for debug build).


Code: HTML/ASPX
<eo:CallbackPanel runat="server" id="CallbackPanelSlideMenu" Triggers="{ControlID:SlideMenu_Internal;Parameter:}">
  <eo:SlideMenu runat="server" id="SlideMenu_Internal" ClientSideOnItemClick="on_item_click" SlideMenuEffect="Fade" ScrollBars="Vertical" EffectType="GlideTopToBottom"
    SlidePaneHeight="50" Width="160px" CausesValidation="True" ExpandEmptyPane="True" SingleExpand="false" KeepExpandedOnClick="true" CollapseDelay="5">
	<TopGroup Style-CssText="font-size: 12px; cursor: hand; font-family: arial">
		<Items>
		    <eo:MenuItem Text-Html="" LeftIcon-ExpandedUrl="~/Images/SlideMenuVotingBoxClose.jpg" LeftIcon-Url="~/Images/SlideMenuVotingBoxOpen.jpg">
				<SubMenu>
					<Items>
						<eo:MenuItem CustomItemID="CustomItemVotingBox" Text-Html="&lt;b&gt;Breaking News&lt;/b&gt;: any &lt;font color=&quot;red&quot;&gt;HTML&lt;/font&gt; code here."></eo:MenuItem>
					</Items>
				</SubMenu>
			</eo:MenuItem>
		</Items>
	</TopGroup>
	<LookItems>
		<eo:MenuItem Height="22" ItemID="_TopLevelItem" NormalStyle-CssText="background-color:White;border-bottom-color:#efefef;border-bottom-style:solid;border-bottom-width:1px;color:#000000;padding-top: 10px"
			SelectedStyle-CssText="background-color:#ffffff;color:#000000;padding-top: 10px" LeftIcon-Url="00020007" LeftIcon-ExpandedUrl="00020006">
            <SubMenu Style-CssText="padding-bottom: 0px; font-size: 12px; cursor: hand; font-family: Verdana; background-color: #ffffff;padding-top: 10px; padding-bottom: 20px"
		   		CollapseEffect-Type="GlideTopToBottom" ExpandEffect-Type="GlideTopToBottom">
            </SubMenu>
        </eo:MenuItem>
		<eo:MenuItem ItemID="_Default" Text-NoWrap="False" Text-Padding-Left="20"></eo:MenuItem>
	</LookItems>
  </eo:SlideMenu>
 <eo:CustomItem runat="server" ID="CustomItemInTheNews">
	<DIV style="PADDING-LEFT: 69px; LINE-HEIGHT: normal;">
	  <eo:TabStrip runat="server" id="TabInTheNews" ControlSkinID="None" Width="370px" ClientSideOnItemClick="SwitchNewsTab">
	        <TopGroup>
		        <Items>
			        <eo:TabItem Text-Html="News1"></eo:TabItem>
			        <eo:TabItem Text-Html="News2s"></eo:TabItem>
		        </Items>
	        </TopGroup>
	        <LookItems>
		        <eo:TabItem ItemID="_TopGroup">
			        <SubGroup Style-CssText="background-image:url(00010220);background-repeat:repeat-x;cursor:hand;font-family:tahoma;font-size:8pt;"
				        OverlapDepth="10"></SubGroup>
		        </eo:TabItem>
		        <eo:TabItem ItemID="_TopLevelItem" RightIcon-Url="00010223" RightIcon-SelectedUrl="00010226"
			        NormalStyle-CssText="color: #606060" SelectedStyle-CssText="color:#2f4761;font-weight:bold;".

			        LeftIcon-Url="00010221" LeftIcon-SelectedUrl="00010224" Image-Url="00010222" Image-SelectedUrl="00010225"
			        Image-Mode="TextBackground" Image-BackgroundRepeat="RepeatX">
			        <SubGroup Style-CssText="background-image:url(00010220);background-position-y:bottom;background-repeat:repeat-x;cursor:hand;font-family:tahoma;font-size:8pt;padding-bottom:4px;padding-left:5px;padding-right:5px;padding-top:4px;"
				        ItemSpacing="5"></SubGroup>
		        </eo:TabItem>
		        <eo:TabItem HoverStyle-CssText="color:#2f4761;text-decoration:underline;" ItemID="_Default"
			        NormalStyle-CssText="color: #606060; text-decoration: none" SelectedStyle-CssText="color:#2f4761;font-weight:bold;">
			        <SubGroup Style-CssText="background-image:url(00010220);background-position-y:bottom;background-repeat:repeat-x;cursor:hand;font-family:tahoma;font-size:8pt;padding-bottom:4px;padding-left:5px;padding-right:5px;padding-top:4px;"
				        ItemSpacing="5"></SubGroup>
		        </eo:TabItem>
	        </LookItems>
      </eo:TabStrip>
      <div style="padding: 10px 10px 10px 10px;" >
	    <eo:CallbackPanel runat="server" id="CallbackPanelTabInTheNews" LoadingHTML="'images/indicator.gif'> <font size='1' family='tahoma'>Loading...</font>">
        </eo:CallbackPanel>
      </div>     
    </DIV>
 </eo:CustomItem></eo:CallbackPanel>[code=htm]
Code: Visual Basic.NET
[/code]
eo_support
Posted: Wednesday, February 24, 2010 9:03:22 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This is a rather common situation that can trigger such errors. The error does not have anything to do with us. It's just that we are reporting the error to you. The following topic discussed this issue:

http://www.essentialobjects.com/forum/postst4243_Callback-was-initially-dynamically-loaded.aspx

Thanks!
Bazooka
Posted: Thursday, February 25, 2010 1:29:19 AM
Rank: Advanced Member
Groups: Member

Joined: 7/3/2009
Posts: 37
Thanks, for pointing me to the right direction. I got a good idea what I'm doing wrong.
eo_support
Posted: Thursday, February 25, 2010 8:53:50 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
You are welcome. Glad that we were able to help.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.