|
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 ....
|
|
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.aspxIf you wish to do it on the client side, you would call this function: http://doc.essentialobjects.com/library/1/jsdoc.public.navigationitem.setdisabled.aspxThanks!
|
|
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.
|
|
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!
|
|