Welcome Guest Search | Active Topics | Sign In | Register

pass parameters from aspxlab:basemenu to callback pannel Options
Sens
Posted: Tuesday, September 11, 2007 11:55:17 PM
Rank: Newbie
Groups: Member

Joined: 9/11/2007
Posts: 8
How can I pass the e.MenuItem.Value from the menu to the e.Parameter from the callback panel?
In other words when I click the menu I wanna use the hidden value to populate a list in the callback panel.
<EO:CallbackPanel ID="pnlResultCallback" runat="server" Triggers="{ControlID:MenuCategory;Parameter:}">
I do it through a hidden field, but I guess there are better ways?

btw, cool thing this panel... brought performance up alot by not refreshing a complex menu structure.
eo_support
Posted: Wednesday, September 12, 2007 6:30:34 AM
Rank: Administration
Groups: Administration

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

You don't have to handle Callback_Execute event (I assume that's where you would want to use e.Parameter). When you use menu as a trigger, you can handle Menu_ItemClick event directly. From there you can access the clicked item and its Value property.

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.