Hi i have a tab strip & a number of page views associated with it.
what i've also got is some .net buttons which allow the user to also navigate through the tabs if they wish, like a next and previous.
I'd like to disable the previous button when the user is on the first tab and disable the next button when they're on the last tab.
hopefully that makes sense, i want to do this without having to do a postback which i'm sure is possible.
I suppose it would be some code that goes into the buttons Enabled attribute, something like Enabled=' if currenttab = firsttab then false else true' in the example of the 'previous' button.
Many thanks
Alan
what i've also got is some .net buttons which allow the user to also navigate through the tabs if they wish, like a next and previous.
I'd like to disable the previous button when the user is on the first tab and disable the next button when they're on the last tab.
hopefully that makes sense, i want to do this without having to do a postback which i'm sure is possible.
I suppose it would be some code that goes into the buttons Enabled attribute, something like Enabled=' if currenttab = firsttab then false else true' in the example of the 'previous' button.
Many thanks
Alan