or
function SetTotalCost2(sender, args) |
{ |
var grid = $find('<%=gridBudget.ClientID %>'); |
var MasterTable = grid.get_masterTableView(); |
var Rows = MasterTable.get_dataItems(); |
var textbox1 = Rows[1].findControl("txtCostPerUnit"); //which row no. to use to get add new row reference |
var textbox2 = Rows[1].findControl("txtNoOfUnit"); |
var textbox3 = Rows[1].findControl("txtTotalCost"); |
textbox3.set_value(textbox1.get_value() * textbox2.get_value()); |
} |
Could you please help. I don't know how to access row while adding a new record on client side.
Many thanks,
Sana Khurram
<
telerik:RadSiteMapNode
Value
=
"{\"linkid\": \"230\"}"
NavigateUrl
=
"javascript:NavTo(this);"
Text
=
"Agency Info"
/>
function
NavTo(sender) {
// somehow find out the value from the RadSiteMapNode clicked to retrieve the link
var
linkId =
'230'
;
$find(window.ajaxManagerID).ajaxRequest(
'MenuNav:'
+ linkId);
}