or
I am trying your example given (http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/threelevel/defaultcs.aspx) for updating and inserting hierarchical data.
For one of the columns for inserting and updating I want to show a combo box ( with Id and text). That column I want to bound to Text value to display in the grid.
How do I do this?
var node = args.get_destinationHtmlElement(); if(!isChildOf('trashCan', node)) { args.set_cancel(true); } else { if (confirm("Are you sure you want to delete this order?")) args.set_destinationHtmlElement($get('trashCan')); else args.set_cancel(true); }var node = args.get_destinationHtmlElement(); if(!isChildOf('trashCan', node)) { args.set_cancel(true); } else { var callBackFn = function(arg) { if (arg) { args.set_destinationHtmlElement($get('trashCan')); } } radconfirm("Are you sure you want to remove this user from the role?",callBackFn); return false; // if (radconfirm("Are you sure you want to remove this user from the role?",callBackFn)) // args.set_destinationHtmlElement($get('trashCan')); // else // args.set_cancel(true); }
string
contactScript1 = "window.opener.document.forms(0).submit();";
ScriptManager.RegisterStartupScript(Page, Page.GetType(), "Update", contactScript1, true);
value='<%# DataBinder.Eval(Container, "Attributes[\"MyTime\"]") %>' would work but it doesn't.
