SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 239 | Next

Robin Pars, Laurence Moroney, and John Grieb

"Foundations of ASP.NET AJAX"


PopupPosition is set to Left, so a menu will appear to the left of the GridView row. With that
in mind, take a look at the code for the PopupMenu panel.


Text="Edit" />???


CommandName="Delete" Text="Delete" />



This is essentially a simple panel with two ASP.NET LinkButton controls, one for
Delete and another for Edit. These trigger the appropriate template in the GridView and
provide the functionality of inline editing or row deletion. More in-depth discussion of
the templates in the GridView control is beyond the scope of this section but feel free to
view the code because it is quite straightforward.
MaskedEdit and MaskedEditValidator Extenders
As mentioned earlier, often most web applications require input from the user in one
form or another. Validation logic is usually written on either the client or server side or
quite often both.


Pages:
227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251