Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot hide a control
Message
From
09/05/2006 16:19:16
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Cannot hide a control
Miscellaneous
Thread ID:
01120518
Message ID:
01120518
Views:
54
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
Next
Reply
Map
View

Click here to load this message in the networking platform