Tutorial :How can i use a Gridview efficiently in asp.net by using only the keyboard?


i need to use my gridview by using only the keyboard.My clients prefer keyboard rather than using mouse.How can i use my gridview like that?What all events should i use?


Are you permitted to use Javascript libraries (with or without Ajax)?
If your answer is yes then I suggest you don't reinvent the wheel on something this complex and go for something like ExtJS, even though all you'll need is a GridPanel. It has all keyboard support in it, you can use paging, sorting, filtering etc. And it also provides a very nice look and feel (even though you'll have to change it to your customer's needs).

If you won't use Ajax (XHR) calls to the server, you can still load your data into your page into JavascriptBlocks and use it on the client side to provide data for the GridPanel.

But if you are still at the very beginning of development and can still change bits of technologies used I suggest you take embrace ExtJS. Your client will love it, and you won't have to develop something that's been developed long ago.

BTW: I don't work for Ext llc even though you may thought so. I just had a routine client that used keyboard extensively.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »