Welcome Guest Search | Active Topics | Sign In | Register

How to Disable TabStrip items Options
Atif Rana
Posted: Tuesday, April 7, 2009 12:01:55 PM
Rank: Newbie
Groups: Member

Joined: 10/31/2008
Posts: 6
How to disable/Enable TabStrip items programatically.
I like to pragram in way that if i click on TabStrip item 1 then based on some logix it will enable the tabstrip 2 ....
eo_support
Posted: Tuesday, April 7, 2009 12:54:39 PM
Rank: Administration
Groups: Administration

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

The first step for you is to decide whether you want to do it on the server side or on the client side. If you want to do it on the server side, you would set this property:

http://doc.essentialobjects.com/library/1/eo.web.navigationitem.disabled.aspx

If you wish to do it on the client side, you would call this function:

http://doc.essentialobjects.com/library/1/jsdoc.public.navigationitem.setdisabled.aspx

Thanks!
Atif Rana
Posted: Tuesday, April 7, 2009 1:01:14 PM
Rank: Newbie
Groups: Member

Joined: 10/31/2008
Posts: 6
i have tried this but didn't worked.

TabStrip.Item(0).Disabled = True

I run through debug notic disable property is set to ture but on the page i still can click the tab.
eo_support
Posted: Tuesday, April 7, 2009 2:01:02 PM
Rank: Administration
Groups: Administration

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

Please create a test page to reproduce the problem. We verified the code and it worked fine here.

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.