Jul 03, 2013, 7:06 PM
[CLOSED] Migration issue Ext.Net.X.Js.Call
Hoping this is a simple change of the calls. Best I can tell the call is made but nothing happens. Worked fine in 1.x and I didn't see anything about this in conversion threads.
var CashFlowChart;
var loadCashFlowChart = function() {
debugger;
var panel = #{CashFlowChartPanel};
panel.body.mask("Loading", "x-mask-loading");
var options = getCashFlowChartOptions();
$.getJSON('CashFlowsChart.ashx', function (data) {
$.extend(true, options, data);
CashFlowChart = getChart(options);
refreshCashFlowChart();
panel.body.unmask();
});
};
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
'CType(Master, AdvisorMaster).Channel = AdvisorMaster.Channels.Home
If Not IsPostBack And Not Ext.Net.X.IsAjaxRequest Then
If Request.QueryString("c") IsNot Nothing AndAlso Request.QueryString("t") IsNot Nothing Then
PageContext = New PageContext(Request.GetDecrypted(Of Integer)("t"), Request.GetDecrypted(Of Integer)("c"))
Else
PageContext = GetHighestContext()
End If
DataBind()
Ext.Net.X.Js.Call("loadCashFlowChart")
End If
End Sub
Last edited by Daniil; Jul 16, 2013 at 4:17 AM.
Reason: [CLOSED]