Rank: Member Groups: Member
Joined: 2/5/2010 Posts: 24
|
Hi,
I want to change the NavigationURL using JavaScript on Click or on MouseOver of a tab of the TabStrip.
Thanks.
|
Rank: Member Groups: Member
Joined: 2/5/2010 Posts: 24
|
Hi, Previously I had asked about changing the NavigateUrl using JavaScript at runtime.
Now I am calling the OnClickScript event handler for a TabItem. The function is called but it gives error of Object not found. eventInfo is undefined or null
Code snippet is -
function SetURL(e,eventInfo) { eventInfo.getItem().NavigateUrl= "./Test2.aspx"; }
Will you please tell me the error in this code. This code is written in JavaScript.
Thanks.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, It's setNavigateUrl: http://doc.essentialobjects.com/library/1/jsdoc.public.navigationitem.setnavigateurl.aspxIn the future if you have similar questions, you can always check the reference section first. That should clearly tell you what's available. Thanks!
|