I have a RadGrid with a popup Editing template for adds and inserts. The template had RadComboboxes with custom validators.
The original code for insert mode was this. (This works.)
var editForm = $find("<%=RadGridSys.ClientID%>").get_masterTableView().get_insertItem();
var combo = $telerik.findControl(editForm, "ddlService");
args.IsValid = false;
if (combo != null)
if (combo.get_value() != "-1" && combo.get_value() != "")
args.IsValid = true;
How do I detect non-Telerik controls within a RadGrid template? (Are these techniques for Telerik only?)
The original code for insert mode was this. (This works.)
var editForm = $find("<%=RadGridSys.ClientID%>").get_masterTableView().get_insertItem();
var combo = $telerik.findControl(editForm, "ddlService");
args.IsValid = false;
if (combo != null)
if (combo.get_value() != "-1" && combo.get_value() != "")
args.IsValid = true;
How do I detect non-Telerik controls within a RadGrid template? (Are these techniques for Telerik only?)