| <script type="text/javascript"> |
| function onRequestStart(ajaxManager, eventArgs) |
| { |
| if (eventArgs.get_eventTarget().indexOf("DownloadButton") != -1) |
| eventArgs.set_enableAjax(false); |
| } |
| </script> |

My webform contains a RadGrid that has EditMode set to InPlace. After the webform is rendered, a user can click the edit button on any row within the grid. When edit is clicked, I have a GridTextBoxColumnEditor box that is displayed, which allows the user to edit the cell value. After the value has been changed, the end-user can click the Update button. The code-behind executes radGrid_UpdateCommand, which successfully saves the user’s changes; that all works fine.
In addition to the Update button, however, my users want to be able to simply press the Enter key, and have their changes saved, just as if they had clicked the Update button. How do I get radGrid_UpdateCommand to execute when the Enter key is pressed within the GridTextBoxColumnEditor box?
I was hoping that I could accomplish this objective by simply setting the TextBoxMode property of the GridTextBoxColumnEditor to SingleLine, but there is obviously more to it than that. So how can I get the radGrid_UpdateCommand to execute when a user presses the Enter key in the GridTextBoxColumnEditor box?
Thanks
<DateInput runat="server" DateFormat="MM/dd/yyyy" DisplayDateFormat="MM/dd/yyyy">It displays in MM/DD/YYYY, but will only save as M/D/YYY.
DatePicker.SelectedDate.Value.ToShortDateString();