Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple ASP.NET interface question: hiding controls
Message
De
29/08/2005 13:39:01
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01044818
Message ID:
01044829
Vues:
14
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform