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
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI/UX Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
protected
void
RadGrid1_ItemCreated(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridEditableItem && e.Item.IsInEditMode)
GridEditableItem editedItem = e.Item
as
GridEditableItem;
GridEditManager editMan = editedItem.EditManager;
GridTextBoxColumnEditor editor = (GridTextBoxColumnEditor)(editMan.GetColumnEditor(
"Name"
));
// Name is datafield/columnunique name
TableCell cell = (TableCell)(((Telerik.Web.UI.GridTextBoxColumnEditor)(editor))).TextBoxControl.Parent;
TextBox txt = editor.TextBoxControl;
RequiredFieldValidator validator1 =
new
RequiredFieldValidator();
validator1.ID =
validator1
"rf"
+ txt.ID;
validator1.ControlToValidate = txt.ID;
validator1.ErrorMessage =
"Please provide value"
;
cell.Controls.Add(validator1);
}