Welcome Guest Search | Active Topics | Sign In | Register

How do I embed a java script function call in a callback panel parameter argument Options
Gary Michalek
Posted: Friday, January 28, 2011 8:57:56 PM
Rank: Advanced Member
Groups: Member

Joined: 12/5/2007
Posts: 57
Though I have set the SaveStateCrossPages to true on my treeview control located on my master page it does not save the state. So for this reason and others I am using your callback panel with a number of triggers. For both my treeview control as well as one of your slidemenu controls I need to determine the ID of the navigation item that fired the event.

I have created the following javascript function in the page:

<script type="text/javascript">
function getNavItemId() {
var navIemEventInfo = eo_GetNavigatorEventInfo();
var navItem = navIemEventInfo.getItem();
return navItem.getItemId();
}
</script>

How can I form the Paramete tag to use the value of this function for the parameter value? Or, is there another way of accomplishing this.

Thanks

Gary

eo_support
Posted: Sunday, January 30, 2011 5:55:10 PM
Rank: Administration
Groups: Administration

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

I am not exactly sure if I understand your question correctly. If you wish to pass parameter through a CallbackPanel, you cannot use triggers. You must call eo_Callback explicitly and pass your parameter through the second argument.

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.