You can only type numbers here:
ID="FilteredTextBoxExtender1"
runat="server"
TargetControlID="TextBox1"
FilterType="Numbers" />
CHAPTER 8 ?– USING THE ASP.NET AJAX CONTROL TOOLKIT (PART 2) 171
Figure 8-4. FilteredTextBox extender displaying the date fetched from a web service
FilterType has four types that can be used in conjunction with one another: Numbers,
LowercaseLetters, UppercaseLetters, and Custom. If you choose Custom, then you must provide
a list of characters to the ValidChars or InvalidChars property depending on the
need. If you have a combination of values for FilterType, (e.g., Numbers, Custom), the
FilterTextBox extender applies the more stringent inclusion or exclusion of character as
specified on top of allowing only digits.
HoverMenu Extender
Hover menus can be a powerful UI tool in any application, and until recently, it took a
good amount of effort to implement them in most web applications. The HoverMenu
extender allows you to add a hover menu to any ASP.
Pages:
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248