$.ajax({ url: '<%=ResolveUrl("~/Corporate/Sales.aspx/GetZoneData") %>', data: "{'rbtlSales':'" + selectedValue + "'}", dataType: "json", type: "POST", contentType: "application/json; charset=utf-8", success: function(data) { var labels = []; var datas = []; $.each(data.d, function(i, item) { var l = item.split('-')[0]; var d = item.split('-')[1]; var dd = d | 0; labels.push(l); datas.push(dd); });
var lblmsg = "Total Sales is " + eval(datas.join('+')); document.getElementById('<%=lblTotal.ClientID %>').innerHTML = lblmsg;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)