PDA

View Full Version : load() of component is showing script instead of chart



fporrata
23 Oct 2013, 7:08 AM
I am using the following command in an ASP.NET MVC project:


Ext.get('ViewContainer2').load({
url: '/Dashboard/HistoryPortlet/',
scripts: true,
text: "Loading",
params: {
containerid: "ViewContainer2"
}
});

In the container I am getting the script46503

Instead of the rendered component:
46504

How can I fix this?

ettavolt
25 Oct 2013, 1:58 AM
You can load data for chart instead of loading chart definition.