Gets or sets a value indicating whether the server side event should be raised when this item is clicked.
[Visual Basic]
Public Property RaisesServerEvent As
NullableBool
Property Value
NullableBool
A NullableBool indicates whether or not to raise server side postback event when this item is clicked.
This property is read/write.
Remarks
Setting this property to True causes the page to raise server side ItemClick postback event when this item is clicked. You can handle the event in ItemClick event handler. In the event handler, the clicked item can be accessed through NavigationItemEventArgs's properties.
Value Inheritance section lists generic rules to determine final value during runtime, however, there is one exception for slide menu's top level items:
- For slide menu, a top level item's RaisesServerEvent must be set to true to raise server event when that item is clicked. Because by default slide menu's top level items expand sub menu panes when clicked.
Value Inheritance
RaisesServerEvent
property exists on three kinds of objects:
- Navigation control (inherited from BaseNavigator)
- Navigation group (inherited from NavigationItemGroup)
- Navigation item (inherited from NavigationItem)
By default, setting a navigation control's
RaisesServerEvent properpty
will apply to all level objects. However, when the value is set in multiple objects,
the value of the lowest level object is used.
Here are the steps to determine which object's value will be used:
| Steps | Description |
|---|
|
To determine a navigation item's
RaisesServerEvent |
If the value is
Null,
use the value from the parent navigation group;
|
|
To determine a navigation group's
RaisesServerEvent |
If the value is Null, use the value from the parent navigation item.
This logic continues until a
True
or
False
value is found.
|
| To determine top level group's RaisesServerEvent |
If top level group is reached, use the control's (inherited from BaseNavigator)
RaisesServerEvent
as the final.
|
Note: Special case(s), if any, is listed in the remark section.
See Also
NavigationItem Class | EO.Web Namespace | ItemClick event