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.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
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
|