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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frame in asp.net like frame in Visual basic 6 ?

Status
Not open for further replies.

linuxjr

Programmer
Jun 2, 2001
135
US
I know this is a simple question but I'm having a memory dump at the moment. Is their a frame like in Visual basic 6 where I can just put a nice simple border around a set of controls? I tried with a panel but doesn't come with a simple border like the frame. Any information is appreciated. Have a great day.
 
Use an html <table>

<table border=1>
<tr><td>
<!-- Your controls here -->
</td></tr>
</table>

penny.gif
penny.gif

The answer to getting answered -- faq855-2992
 
Thanks for the quick response. I did as you suggest and see the table now I don't know if I should have stated I'm using the Visual Studio ide. When I went into the html view and added the code:
<table border=1>
<tr>
<td>
<asp:label etc>
<asp:textbox etc>
</td>
</tr>
</table>
The table is created but it sticks above the controls so its like table in upper left corner then the labe and textbox but they are grouped in a table but no border. Anyways thanks for the quick response and I will figure this last part out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top