All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hi,
I'm creating a grid programmatically and I want to set the MaxLength of a GridNumericColumn but it's not working. MinValue and MaxValue works, but not MaxLength. Please help.
Thanks
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:GridNumericColumn
...
ColumnEditorID
=
"NumBoxEditor1"
>
telerik:GridNumericColumnEditor
runat
"server"
ID
NumericTextBox
IncrementSettings
InterceptArrowKeys
"false"
InterceptMouseWheel
/>
</