Table of Contents
- Getting Started
- EO.Pdf
- EO.Web
- EO.WebBrowser
- EO.Wpf
- Common Topics
- Reference
- .NET API Reference
- JavaScript API Reference
- EO.Web
- EO.Web
- Objects
- Global Functions
- Global Functions
- eo_Callback
- eo_CancelBubble
- eo_CancelEvent
- eo_DateToString
- eo_FormatString
- eo_GetContainer
- eo_GetEventPos
- eo_GetNavigatorEventInfo
- eo_GetObject
- eo_HideAllPopups
- eo_MsgBox
- eo_RegisterDragTarget
- eo_SetComboBoxValue
- eo_ShowContextMenu
- eo_ShowPopup
- eo_ShowPopupCalendar
- eo_StringToDate
- eo_TriggerServerEvent
- eo_UnregisterDragTarget
- Event Handlers
- EO.WebEngine
- EO.Web
eo_GetObject Function |
Retrieves an instance of EO.Web client side object.
Parameters
- id
- The ID of the control. See remark section for details.
Return Value
Usually you can use the ID of the server control as the id parameter to call this function. However, when two server controls resides in different naming containers (for example, two user controls), it's possible for them to have the same ID. In this case you should use the value of the ClientID of the Callback control as the id parameter. You may need to use a debugger to find out the ClientID value.
Note most of the time it is not necessary to call this function to get a reference of the client side function. When a client side object is created, it is automatically declared with a variable name that is the same as the control's ClientID. For example, if a Menu control with ID "Menu1" is placed inside a user control with ID "uc1", the Menu's ClientID can be "uc1_Menu1", in this case, you can use "uc1_Menu1" to reference the client side menu directly, for example:
window.alert("top level item count: " + uc1_Menu1.getTopGroup().getItemCount());