VBAHole22 Posted September 15, 2004 Posted September 15, 2004 I like using panels because you can hide and show stuff in blocks rather than writing dozens of .Visible statements. But when you take a nice neat block of label and textbox objects and drag them into a panel they get all jumbled. And it seems like you don't have any control over formatting at all in a panel. you are the mercy of the IDE as to where stuff goes. Am I missing something here or is there an easy way to format a panel's contents? Or should I be using something else instead of a panel? All I really want is 2 blocks of objects that get hidden or show up based on a check box. Any suggestions? Quote Wanna-Be C# Superstar
eramgarden Posted September 16, 2004 Posted September 16, 2004 I'd say dont use IDE. Use the HTML, add your panel, add the stuff in it. To position the panel, use CSS. For example, <asp:panel runat=server id= whatever cssClass=whatever> ...put your stuff here. </asp:panel> Quote
Moderators Robby Posted September 16, 2004 Moderators Posted September 16, 2004 Place your controls in html Table tags then all that into a panel Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.