Hi,
I’ve been working on a Custom Radgrid and Radtoolbar control which works very well. At the moment the javascript used is still in the design view of the page and want to include this in my control dll. I’ve looked around the site and can’t find any examples of how to go about doing this.
How would I go about including the below in my code:
function RowClick(sender, eventArgs) {
if (editedRow != null && hasChanges) {
if (confirm("Update changes?")) {
hasChanges = false;
$find("<%=gvGrid.MasterTableView.ClientID %>").updateItem(editedRow);
}
else {
hasChanges = false;
}
}
}
Also how would I change it so gvGrid is dynamic so I can have different names for my grids etc.
Any pointers in the right direction would be great.
Thanks