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();
Our requirement is to have a grid with columns with predefined sized, have a static header, column resize enabled, row resize disabled. I tried setting the properties to achieve this requirement, to some extent i was successful. One column has long text with spaces when the user resizes the column the content is taken to next line even if i set ClipCellContentOnResize to be true. This actually increases the row size which we do not want. What we want is to have a fixed row size and the columns should start clipping as soon as the resizer crosses the text. The text should not be taken to the next row.
Following is my grid configuration :var
id = sender.get_id();
var
windowDiv = $(
".RadWindow[id$='"
+ id +
"']"
);
windowDiv.css(
'z-index'
, 500);