Welcome Guest Search | Active Topics | Sign In | Register

TabStrip Options
Vishakha
Posted: Wednesday, April 28, 2010 7:10:00 AM
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.
Vishakha
Posted: Thursday, April 29, 2010 5:43:51 AM
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.
eo_support
Posted: Thursday, April 29, 2010 8:40:11 AM
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.aspx

In the future if you have similar questions, you can always check the reference section first. That should clearly tell you what's available.

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.