Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
MCP Servers
AI for UI
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI Tools
CMS
Free Tools
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
/>
</