![]() ![]() I figure there has to be a better built in way of accessing the grid fully via the keyboard with standard tab and enter keys, rather than the non standard keyboard shortcuts, or if I have to do it htis way for all the buttons in the control to be properly caught and handled through javascript. However, for the cancel button that is part of the GridEditCommandColumn, the validators on the page are firing which is not what happens when you just click on the Cancel link button in the grid. This is bad enough and a poor solution for obvious reasons. I have a simple asp.net page with an asp.net link button and asp.net content tag which point to a simple asp.net master page with an asp.net content place holder and a form tag. We'd like the same thing to happen as if we clicked on it - a new row to be added to the grid.Īs a work around, I have enabled keyboard validation, and set the OnKeyPress event in the client events to call javascript where I evaluate the key, see if it's the enter key, and then if so, examine the innerHTML to see what sent it to the JS. Tabbing through the page and getting to the Add New Record buttons (the InitInsert buttons?) on the page, and then hitting enter in the default scenario causes our default button for the page to fire which is not what we want. The problem is that with all this going on, accessing the RadGrid via tab and enter keys has become problematic. Certified Pre-Owned Center: 1845 E Main St. St Charles Toyota: 2651 E Main St Saint Charles, IL 60174. The reason why UniqueID works is because UniqueID and name are in fact the same thing when the. ![]() We have a complex use case with a RadGrid inside a panel on a page with a master page, multiple user controls, vaildators, a defaultbutton &c. Our knowledgeable St Charles Toyota new car dealer staff is dedicated and will work with you. Like others have said, you need to provide the UniqueID of the control to the doPostback () method. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |