954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to code "tab control' in the web form in ASP.NET / VB.NET ?

Hi,

I am looking for some help in coding an app using VB.NET 2003,where in a web form I have four tabs which call four different forms in the panel after click event. I don't see any tab control in the toolbox in visual studio so I guess I have to write some code for that. can someone help figure out how ?

thanks in advance

Tejashree.

Texpert
Newbie Poster
14 posts since Jan 2006
Reputation Points: 10
Solved Threads: 0
 

You have to bear with me as i havent used 2003 in a long time. 2005 has the tabcontrol and i thought 2003 did. But i was using 3rd party tools too so they had them which is where my memory could be going wrong.

Anyway. It is basically a series of buttons that just look like a tab shape using an image. Then there are two ways you can respond depending on your needs. Either load all 4 forms in memory and when the relevant button is clicked use some clientside code (such as javascript) to display the relevant form/controls or use a normal server side postback and show the correct form depending on the button clicked.

You could always go so far as write your own usercontrol to do this for you (which is basically all the tools are anyway. Or depending on your needs... download VWD from microsoft which is the 2005 version and has all the new tools in it and is free (for a while)

f1 fan
Posting Whiz in Training
279 posts since Jan 2006
Reputation Points: 26
Solved Threads: 11
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You