Table of Contents
  • Getting Started
  • EO.Pdf
  • EO.Web
    • Overview
    • Installation & Deployement
    • EO.Web ToolTip
    • EO.Web Rating
    • EO.Web Slider & RangeSlider
    • EO.Web ListBox
    • EO.Web ComboBox
    • EO.Web Captcha
    • EO.Web ASPX To PDF
    • EO.Web Slide
    • EO.Web Flyout
    • EO.Web EditableLabel
    • EO.Web ImageZoom
    • EO.Web Floater
    • EO.Web Downloader
    • EO.Web ColorPicker
    • EO.Web HTML Editor
    • EO.Web File Explorer
    • EO.Web SpellChecker
    • EO.Web Grid
    • EO.Web MaskedEdit
    • EO.Web Splitter
    • EO.Web Menu
    • EO.Web Slide Menu
    • EO.Web TabStrip
    • EO.Web TreeView
    • EO.Web Calendar
    • EO.Web Callback
    • EO.Web MultiPage
    • EO.Web Dialog
    • EO.Web AJAXUploader
    • EO.Web ProgressBar - Free!
    • EO.Web ToolBar - Free!
  • EO.WebBrowser
  • EO.Wpf
  • Common Topics
  • Reference
Client Side Interface

EO.Web EditableLabel offers client side JavaScript interface for you to get/set value and enter/exit edit mode. In order to call client side JavaScript interface, you must get a reference to the client side EditableLabel object first:

JavaScript
var label = eo_GetObject("EditableLabel1");

Once you have a reference to the EditableLabel object, you can call any of the following methods on the object:

Method Remarks
getValue Get the current value of the control.
setValue Set the current value of the control.
activate Switch the control into edit mode.
deactivate Exit edit mode.

For example, the following code place the control into edit mode:

JavaScript
var label = eo_GetObject("EditableLabel1");
label.activate();