asp.net, does a great job of illustrating the potential use of
this extender. In this example, a hover menu, which is composed of a panel with two
links, is used with a GridView control. When the user hovers over the items in the grid, a
pop-up menu appears to the left of the item with two links: Edit and Delete. If Delete is
clicked, the target row is deleted, and the user can choose to edit the data inline as specified
in the EditTemplate of the GridView control. You can see this sample in Figure 8-5.
Figure 8-5. HoverMenu extender used on a GridView control
HoverCssClass="popupHover"
PopupControlID="PopupMenu"
PopupPosition="Left"
TargetControlID="Panel9"
PopDelay="25" />
CHAPTER 8 ?– USING THE ASP.NET AJAX CONTROL TOOLKIT (PART 2) 173
Property Name Description
In the preceding code segment, we have an instance of the HoverMenu extender with
its PopupControlID property set to PopupMenu, which is the ID of the panel control containing
the menu items displayed when a user hovers over an item in the GridView control.
Pages:
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250