Skip to main content
A newer version of this page is available. .
Tab

ContentPlaceholderLayoutItem.ClientVisible Property

Specifies the menu item’s initial visibility state on the client.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public override bool ClientVisible { get; set; }

Property Value

Type Description
Boolean

true to make an item initially displayed on the client; false to render the item into the control, but make it initially hidden on the client side.

Remarks

Use the ClientVisible property to define an item’s initial visibility state.

Note

If an item’s server Visible property is set to false, the item is not rendered into the web page at all, so it can’t be manipulated on the client side.

<dx:ASPxGridView ID="grid" runat="server" ...>
    <EditFormLayoutProperties ColCount="2">
        <Items>
            <dx:GridViewLayoutGroup ColCount="2" GroupBoxDecoration="None">
                <Items>
                    ...
                    <dx:GridViewColumnLayoutItem ColumnName="Position" Width="100%" ClientVisible="False" />
                    <dx:GridViewColumnLayoutItem Caption="Notes" Width="100%" VerticalAlign="Top" >
                        <Template>
                            <dx:ASPxMemo ID="notesMemo" runat="server" Width="100%" Height="253" Text='<%# Bind("Notes") %>' />
                        </Template>
                    </dx:GridViewColumnLayoutItem>
                </Items>
            </dx:GridViewLayoutGroup>
        </Items>
    </EditFormLayoutProperties>
</dx:ASPxGridView>
See Also