3 Answers, 1 is accepted
0
Hello Rasool,
Generally, you can use the OnClientLoad event handler of the combo to achieve this requirement. Alternatively, you can use the $telerik.findControl and $telerik.findElement methods to access any controls on the client. I am attaching a sample RadGrid web site to demonstrate a more advanced scenario.
Hope this helps.
Regards,
Eyup
Telerik
Generally, you can use the OnClientLoad event handler of the combo to achieve this requirement. Alternatively, you can use the $telerik.findControl and $telerik.findElement methods to access any controls on the client. I am attaching a sample RadGrid web site to demonstrate a more advanced scenario.
Hope this helps.
Regards,
Eyup
Telerik
See What's Next in App Development. Register for TelerikNEXT.
0
Rasool
Top achievements
Rank 1
answered on 08 Apr 2015, 10:11 AM
Hi Eyup
I use the code :
function rcb_kala_OnClientSelectedIndexChanged(sender, args) {
var grid = $find('<%=rg_anbarSanadSub.ClientID%>');
var insertItemForm = grid.get_masterTableView().get_insertItem();
if (insertItemForm) {
var rtxt_NameKala = $telerik.findControl(editForm, "rtxt_NameKala");
rtxt_NameKala.set_value("1");
}
}
but get_insertItem() return always null.Why?
Please help me
Thanks
0
Hello Rasool,
Could you share which edit mode do you use and verify that the Insert form is open at the moment when the script runs?
Regards,
Eyup
Telerik
Could you share which edit mode do you use and verify that the Insert form is open at the moment when the script runs?
<
MasterTableView
...
EditMode
=
"EditForms"
>
Regards,
Eyup
Telerik
See What's Next in App Development. Register for TelerikNEXT.