1. Control element LiteralControl

    Article: AN0001728Updated: 09.11.2018

    Control element from ASP.NET, that enables to insert into the page a text or formatted HTML code with text.

    Properties

    Name Description
    Control Parent Reference to a parent control.
    bool Visible Indication, whether the control is displayed or hidden in the page.
    string ID ID of the controlu on server side.
    string ClientID ID of the controlu in the HTML page. It is used in client side javascript.
    string Text Text displayed by the label.

    Example

    The example adds a literal control into the page and sets its ID to l1.

    var lc = OGForm.CreateLiteralControl('l1', 'Your text.');
    OGForm.AddControl(lc);


     

×