PDA

View Full Version : Like tabStrips in VB


CCprogrammer
09-27-2004, 02:07 AM
Hello Gentelmen,
>>>
>>> Please could you advice me the next :
>>>
>>> i made a program with vb.5 using a TabStrip Tool just like in your pages.
>>>
>>> which i have in my form : 4 combo boxes as basic data to be choosen and
>>> i have 1 TabStrip inside it i have 6 tabs and 6 Picture Box inside this
>>> Picture Box i have a data for each Picture Box .
>>>
>>> this Picture box changed by choosing the Tabs.
>>>
>>> So It's only 1 Form , 1 TabStrip (with 6 Tabs and 6 Picture Box).
>>>
>>> How can i do this in asp.net by using what?

by another way:

i think i could 'nt explain what i need , look

i want something like frame that i can put in this frame some textboxes and
labels , and tables ,...etc, and when i press a button this frame become
visible and when i press another button this frame can be hidden with all of
it's components, in the same web page.

thanks and very best regards

Aristotle
09-27-2004, 05:13 AM
If you are using ASP.net, you can hide/unhide labels and form elements based on events. For example, you can hide a textbox control named TextBox1:

TextBox1.Visible = false;

Scott
09-28-2004, 11:05 AM
You might try the asp:Panel control. For example:
<asp:Panel id="MyPanel" runat="server" visible="false">
' place all of the html and controls that you
' want to show or hide at once here
</asp:Panel>

Then turn the panel on or off with MyPanel.visible = "true | false"

CCprogrammer
09-28-2004, 12:31 PM
thanks Lukas

but it's toooo much (tables,labels,textboxes.......)

could you inform me how to hide a table made by html.

by the way there's a file am searching for it to handle this

TabStrips Named "Microsoft.web.ui.webcontrols.dll

i hope it helps if we find it

Michael
10-10-2004, 08:27 AM
Yep,

go with the panel, which effectively renders as a DIV to the HTML page, so you have the option of either hiding and un hiding the panl with a postback event or if you want to save some overhead, a few lines of javascript, will have your users thinking they are using a client application, to hide and unhide the DIV

Michael