You can even assign a regular expression to this extender for
validation by using the ValidatonExpression property.
ModalPopup Extender
Modal pop-ups are commonly seen in desktop applications. This UI construct is often
used in cases where user input (such as login or configuration information) is imperative
for access to the main application. The other option, of course, is to have a regular HTML
pop-up that is not modal; however, that defeats the whole purpose of the pop-up in that
the user can easily bypass it en route to the target page. Due to the limitations of web
technologies early on and the difficulty associated with creating modal pop-ups in recent
years, few web applications implemented them. In many cases, users were directed to
CHAPTER 8 ?– USING THE ASP.NET AJAX CONTROL TOOLKIT (PART 2) 177
other pages, and upon successful entry of the required data, were then redirected back to
the original page. Again, a perfect example of this scenario is a login page.
The ModalPopup extender is ideal when there is a need in web pages to display a popup
in a modal fashion.
Pages:
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258