Tab Order toolbutton disabled - trying to update tab index on a web page with many fields VS 2008

I have an ASP web form with many fields. I just added a field toward the top and now I need to update all the tab indexed on the page. (I have a content place holder which refers to a master page.) Supposedly I can easily update tabindexes on some dialogue box instead of extremely tediously going to each control clicking on properties and updating each tab index. I also see a tool button "Tab Order" which I can't seem to get enabled.

What's the trick?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

daedaluxAuthor Commented:
I have found out that VS 2008 only has a GUI for setting tab indexes in win forms, NOT web forms.

I also have found a programmatic solution, which makes it very easy to maintain whenever I want to reorder the fields or insert a new one any time down the road.

See example.
// Called on Page_Load:

    private void SetTabbingOrder()
        short i = 0;
        textbox1.TabIndex = ++i;
        dropdown.TabIndex = ++i;
        textbox2.TabIndex = ++i;
        checkbox.TabIndex = ++i;
        // etc

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.