or
function StandardConfirm(sender, args) { var cancel = !window.confirm("Are you sure you want to delete this project?") args.set_cancel(cancel); }protected void GuideRadTreeView_NodeDataBound(object sender, RadTreeNodeEventArgs e) { if (e.Node.Text.Equals("Share Tests")) { e.Node.Expanded = true; } }protected void rgLocations_DataBound(object sender, EventArgs e) { string SBingo = String.Empty; for(int i = 0; i < rgLocations.Items.Count; i++) { if (rgLocations.Items[i]["Trading_Name"].Text == "Z-Acme") { SBingo = "Found it"; } } }SetGrid(ref RadGrid r, int ItemID)<telerik:RadRotator ID="thumbRotator" runat="server" RotatorType="Buttons" WrapFrames="false" Width="750px" Height="150px" ItemWidth="150px" ItemHeight="150px" > <ItemTemplate> <img id="imgAvatar" src='ViewImage.ashx?avatar=<%# Eval("ID") %>&width=150&height=150' alt="Avatar Image" style="border: 0px; cursor:pointer;" /> <label id="label1" runat="server" title='<%# Eval("ID") %>'> </label> </ItemTemplate> <ControlButtons LeftButtonID="img_left" RightButtonID="img_right" /></telerik:RadRotator>function confirmCallBackFn(arg) { if (arg) { var id = HiddenField.Get('ID'); if (id > 0) { var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>"); ajaxManager.ajaxRequest('delete:' + id); } }}thumbRotator.DataBind();
$find("<%= RadGrid1.ClientID %>").get_masterTableView().updateItem(editedRow);
where editedRow is set on the edit command but where do I put the command?