The modal pop-up is triggered by an event on the target control,
after which it blocks all user access to the underlying page until the user makes a selection
in the modal pop-up. The pop-up itself is typically a Panel control, although it could
be other controls as well. This control can be positioned anywhere on the page as stated
by its X and Y properties. Table 8-7 lists the main properties of this extender.
Table 8-7. ModalPopup Extender Properties
Property Name Description
BackgroundCssClass CSS class to be applied to the background when the modal pop-up is
displayed.
DropShadow Boolean value indicating whether or not to display a drop shadow for
the modal pop-up.
CancelControlID ID of the Cancel button for the modal pop-up.
OkControlID ID of the OK button for the modal pop-up.
OnCancelScript Client JavaScript script to load when the modal pop-up is dismissed
with the Cancel button.
OnOkScript Client JavaScript script to load when the modal pop-up is dismissed
with the OK button.
PopupControlID ID of the control to display as a modal pop-up (often a Panel control).
Pages:
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259