EditLive! 9 Documentation : ID Property (ASP.NET only)

Specifies the ID for the ASP.NET controls. This is used by .net internally to identify the control. It is also used to generate the variable name of the EditLiveJava Javascript object instance, the "name" property of this instance, and the DIV and hidden textarea controls for Inline Editing.

Syntax

ASP.NET - EditLiveJava control
prefix:EditableSection ID = ID
ASP.NET - EditableSection control
prefix:EditableSection ID = ID

Parameters

ID

Unique identifier for the EditLiveJava control or InlineEditing section.

Examples

The following code sets the ID for the EditableSection:

ASP.NET Server Control
<div id="div1" style="height: 550px;"></div>
<elj:EditLiveJava runat="server"
  ...
  ID="EditLiveJava1"
  InlineEditing="true"
  ..
/>
<elj:EditableSection runat="server"
  ...
  ID="EditableSection1" 
  ...
/>

Remarks

In order to use the <elj:EditableSection> tag and the ID property, you need to ensure you have the InlineEditing property for your EditLive! ASP.NET tag set to true.

See Also