AUTHOR: Eyup Yusein
DATE POSTED: November 15, 2017
DESCRIPTION The increment settings of RadNumericTextBox are enabled by default for better convenience when operating with the input control. You can access the control and disable the arrow navigation of the numbox itself using the approach demonstrated in the following section:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/rows/accessing-cells-and-rows#accessing-controls-in-batch-edit-mode
SOLUTION To resolve that, you can use the PreRender event provided by RadGrid:
<
telerik:RadGrid
...
OnPreRender
=
"RadGrid1_PreRender"
>
protected
void
RadGrid1_PreRender(
object
sender, EventArgs e)
{
GridTableView masterTable = ((RadGrid)sender).MasterTableView;
GridNumericColumnEditor editor = masterTable.GetBatchColumnEditor(
"Freight"
)
as
GridNumericColumnEditor;
RadNumericTextBox numBox = editor.NumericTextBox;
numBox.IncrementSettings.InterceptArrowKeys =
false
;
numBox.IncrementSettings.InterceptMouseWheel =
}
telerik:GridNumericColumnEditor
runat
"server"
ID
"NumBoxEditor1"
NumericTextBox
IncrementSettings
InterceptArrowKeys
"false"
InterceptMouseWheel
/>
</
telerik:GridNumericColumn
ColumnEditorID
Resources Buy Try