Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Encapsulating HTML code within DIV at server
Message
From
02/09/2006 01:24:54
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Encapsulating HTML code within DIV at server
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01150484
Message ID:
01150484
Views:
89
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
Next
Reply
Map
View

Click here to load this message in the networking platform