Welcome Guest Search | Active Topics | Sign In | Register

CustomItem and CallbackPanel Options
bobwolf
Posted: Monday, July 18, 2011 2:44:58 PM
Rank: Member
Groups: Member

Joined: 5/31/2008
Posts: 25
Hi guys,

I have a page with 2 CallbackPanel's.
The second CallbackPanel has a triggers defined to a control that resides on the first CallbackPanel.
This is working fine more than a year!

But now, Im implementing the slide menu in this page.
I put the slideMenu control and the 2 CustomItems.
When I run the page, I receive an error message "Trigger control 'cmdSearch' for Callback 'cbpSearch' does not exist".

Searching this forum, I found a message instructing to use the trigger property pointing to the CustomItem.

I do this, but receives the same message.

The message is:
Trigger control 'slideSearchFields' for Callback 'cbpSearch' does not exist.

And this is my page (some content supressed):


Code: HTML/ASPX
<eo:SlideMenu ID="menu" runat="server" Width="100%">
   <LookItems>...</LookItems>
   <TopGroup>
      <Items>
         <eo:MenuItem Text-Html="busca" Expanded="true">
            <SubMenu><Items>
               <eo:MenuItem Expanded="true" LookID="plain_text" CustomItemID="slideSearchFields"></eo:MenuItem>
               <eo:MenuItem Expanded="true" LookID="plain_text" CustomItemID="slideResult"></eo:MenuItem>
            </Items></SubMenu>
         </eo:MenuItem>
      </Items>
   </TopGroup>
</eo:SlideMenu>


<eo:CustomItem ID="slideSearchFields" runat="server">
<eo:CallbackPanel ID="cbpSearchFields" runat="server" Width="100%" OnExecute="cbpSearchFields_Execute" Triggers="{ControlID:cboSearchField;Parameter:cboSearchField}">
   ...
      <asp:dropdownlist id="cboSearchField" runat="server"></asp:dropdownlist>
      <asp:imagebutton id="cmdSearch" runat="server" ImageUrl="search.png"></asp:imagebutton>
   ...
</eo:CallbackPanel>
</eo:CustomItem>

<eo:CustomItem ID="slideResult" runat="server">
   <eo:CallbackPanel ID="cbpSearch" runat="server" Width="100%" OnExecute="cbpSearch_Execute"
                                Triggers="{ControlID:slideSearchFields;Parameter:slideSearchFields}">
   ...
   </eo:CallbackPanel>
</eo:CustomItem>



What I doing wrong?
Thanks in advance!
eo_support
Posted: Monday, July 18, 2011 4:05:50 PM
Rank: Administration
Groups: Administration

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

This is because the CallbackPanel and the triggers are not in the same naming container. See this post for more details:

http://www.essentialobjects.com/forum/postst5748_Two-aspDatagrid-and-CallbackPanel.aspx

Thanks


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.