This sample demonstrates how you can programmatically get and set the full path in WebTabSet.
This allows you to modify the value using your own custom JavaScript logic.
To support this feature and the ability to set keyboard focus, WebTabSet exposes the following client-side methods:
1. This method returns the current full path selected.
function cwtsGetFullPath(controlId)
- controlId - the control identifier of the WebTabSet instance.
2. This method updates the current full path selected.
function cwtsSetFullPath(controlId, fullPath)
- controlId - the control identifier of the WebTabSet instance.
- fullPath - the current full path selected in the WebTabSet control.
3. This method sets the keyboard focus to the control.
function cwtsSetFocus(controlId)
- controlId - the control identifier of the WebTabSet instance.
In this sample, clicking the "Up" or "Down" arrows transfers the full path of a WebTabSet and keyboard focus to the other instance.
These changes are made inside the web browser using client-side code that invokes all these methods.
Clicking the "Submit" button will send the full paths to the server and they will be displayed below:
/Project X/Software Developers/Bernard Woodbury
/Project Y/Test Engineers/Stephanie Dodd
Click the "Reset" link to clear your selection.