1. Control element Panel

    Article: AN0001738Updated: 10.05.2021

    OControl element from ASP.NET, that enables to insert a container for other controls into the page. This control does not display any text.

    Properties

    Name Description
    Control Parent Reference to a parent control.
    bool Visible Indication, whether the control is displayed or hidden.
    string ID Control ID on server side.
    string ClientID Control ID in HTML page. It is used for client side javascript.
    string CssClass Name of CSS class for styles.
    string ToolTip Tooltip to be displayed after moving mouse over the label.
    string GroupingText Container description.

    Example

    Example adds two panels to the page. It sets their ID to p1 and p2. The first panel will have description set to Group text. The second panel is without description.

    var p1 = OGForm.CreatePanel('p1', 'Group text');
    OGForm.AddControl(p1);

    var p2 = OGForm.CreatePanel('p2', null);
    OGForm.AddControl(p2);

     

     

     

     

×