Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Encapsulating HTML code within DIV at server
Message
De
02/09/2006 01:24:54
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Encapsulating HTML code within DIV at server
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01150484
Message ID:
01150484
Vues:
91
I have the following HTML code in an ASP.NET page:
<P></P>
<HR SIZE=1 Class=Ligne>
<FONT class=Titre2>
<asp:Label ID="LabelGenericStepX" runat="server" Text=""></asp:Label> 
<asp:Label ID="LabelTermsConditions" runat="server" Text=""></asp:Label>
</FONT>
<P></P>
<asp:Label ID="LabelVideoTerm" runat="server" Text=""></asp:Label>
<P></P>
<asp:CheckBox ID="IAgree" runat="server" /><asp:Label ID="LabelGenericIAgree" runat="server" Text=""></asp:Label> 
I need to encapsulate that into an ASP.NET control which would allow me to change its visible property to false based on a condition. I was not able to find a ASP.NET DIV control. I also do not want to create a control for each and everyone of those HTML tags. Is there an equivalent of a DIV control in ASP.NET that I would be able to, based on a condition, change its visible property to false, which would then make all this code not visible?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform