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
- AJAXPostedFile Object
- AJAXUploader Object
- Calendar Object
- Callback Object
- ColorPicker Object
- ComboBox Object
- Control Object
- Dialog Object
- Downloader Object
- EditableLabel Object
- Editor Object
- EventInfo Object
- FileExplorer Object
- FileExplorerHolder Object
- Floater Object
- Grid Object
- GridCell Object
- GridColumn Object
- GridItem Object
- ImageZoom Object
- ListBox Object
- ListBoxItem Object
- MaskedEdit Object
- MaskedEditSegment Object
- MenuItem Object
- MultiPage Object
- NavigationItem Object
- NavigationItemGroup Object
- Navigator Object
- NavigatorEventInfo Object
- ProgressBar Object
- RangeSlider Object
- Rating Object
- ScriptEvent Object
- Slide Object
- Slider Object
- SliderBase Object
- SpellChecker Object
- Splitter Object
- SplitterPane Object
- ToolBar Object
- ToolBarItem Object
- ToolTip Object
- TreeNode Object
- TreeView Object
- Global Functions
- Event Handlers
- EO.WebEngine
- EO.Web
getEventTarget Method |
Gets the current event target.
This function should only be called during a callback, for example, inside one of the client side event handler.
Event target provides more information about what triggered the callback. Consider a DataGrid control inside a CallbackPanel, the DataGrid can have multiple rows, each row can have several link buttons ("Edit", "Update", etc) based on a template column. This DataGrid is also set as a Callback trigger. When user clicks any of these buttons, a callback occurs. During this callback, the trigger ID is the ID of the DataGrid, but the event target is a string that uniquely identifies the button that was clicked, such as "DataGrid1:_ctr2:btnEdit", here "DataGrid1" is the ID of the DataGrid control, "_ctr2" is the automatically generated ID for the row that contains the button clicked and "btnEdit" is the ID of the button that were clicked.