Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot hide a control
Message
De
09/05/2006 16:19:16
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Cannot hide a control
Divers
Thread ID:
01120518
Message ID:
01120518
Vues:
50
I have this code defined in a Web form:
<tr id="ShopDisplay" visible=true> 
<td class="Label"><%=LXFramework.GetMes("Message", "Shop")%>:</td>
<td><asp:textbox ID="Shop" runat="server" Columns="60" style="Width: 500px;" CssClass=InputReadOnly Enabled=false></asp:textbox>
</tr>
If I try to do:
            toPage.ShopDisplay.Visible = False
I obtain:

Object variable or With block variable not set.

Why aren't we allowed to change the Visible property?
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