Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple ASP.NET interface question: hiding controls
Message
From
29/08/2005 13:39:01
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01044818
Message ID:
01044829
Views:
15
>One thing you might want to consider is instead of using HTML table, use ASP:table and ASP:TableRow. These are very easy to hide by simply setting the property to invisible. And they don't take any space, I think because they are server-side controls.
>
>I place all my controls that have to be displayed based on user setting in those tables (ASP:Table) and I have not seen extra space problem.
>
>HTH.



My fault. I did use an ASP:Table but didn't mention it. I just realized that I had a bunch of hard-coded (BR) that of course are not made invisible. I deleted them and then pressed ENTER inthe IDE which creates DIVs instead of (BR) to separate rows. Duh!

Thanks.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform