Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

display different form objects in the same area

Status
Not open for further replies.

royyan

Programmer
Jul 18, 2001
148
US
I am trying to load two different sets of objects to the same area. on click Tab I, it displays object set A; and on click Tab II, it displays object sets two. Any suggestion of how to do this will be highly appreciated!
 
Stick object set A in a panel, and object set B in a panel.

I'm guessing you're hiding/showing the panels with the tab buttons you have? If so, read on:

Position panelA where you want the objects to appear on your screen. Then look into the html and get the Left and Top values from the tag.

In your page load event, add this code:
PanelB.Style.Add("Top", "valuegoeshere")
PanelB.Style.Add("Left", "valuegoeshere")

Voila! Now, when you run your code, your panel will magically be placed at those coordinates, and your tab buttons will handle showing/hiding them.

hth

D'Arcy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top