This sample demonstrates how to use the timers inside WebDrillDown to automatically show and hide the popup menus as the user hovers over the control.
The ShowTimer property specifies how many milliseconds to wait after the user hovers over a button in order to display the popup menu.
Likewise, the HideTimer property specifies how many milliseconds to wait after the user leaves a button in order to hide the popup.
With both properties, setting the value to zero will disable the feature and the user will need to click on the control to perform the operation.
Setting these properties to custom values and clicking the "Apply" button will change the values on the server and re-render the results.
WebDrillDown.ShowTimer =
;
// in milliseconds (zero to disable)
WebDrillDown.HideTimer =
;
In this sample the WebDrillDown is allowing you to select some food, organized by food group and item.
Clicking the "Submit" button will send the full path for your selection to the server and it will be displayed below:
Click the "Reset" link to clear your selection.
Control being used:
View the code:
The code is available in the samples directory under: