fmuke
2 Nov 2012, 12:57 PM
hi...
i have develloped an extjs 4 application for reporting purpose.
To do the work, this application needs to get some value from asp.net application to work.
i have included the ext js 4 application in part of that asp.net application in a panel trough a an url link
... the panel auto load the link inside itself ....
link has this format :
<AutoLoadrunat="server"Url="http://localhost:52015/AppNow/App.aspx"/>
but this url Url=http://localhost:52015/AppNow/App.aspx?year=2012&customerId=01
do not work.
i understand that passing this value just like this is not supposed to work anyway... but i havent been able to find any info on this
---> below is my app.js... the link is supposed to pass it the customerId along with the year
Core.onPreReady(
function () {
});
Core.onReady(
function () {
var homeView = "forwarding-kpi-KpiMultiLine";
Core.context.set(
'yearId', 2011);
Core.context.set(
'customerId', '104trrew000,104ret000');
Core.context.set(
'customer', 'APPLE COMPUTER, US ARMY');
Core.context.set(
'hierarchy', 'Product');
Ext.application({
name:
'AppNow',
enableQuickTips:
true,
controllers: [
'Home',
'AppNow.view.',
],
launch:
function () {
var me = this;
Ext.create(
'Core.view.portal.Viewport', {
homeView: homeView
});
}
});
});
i have develloped an extjs 4 application for reporting purpose.
To do the work, this application needs to get some value from asp.net application to work.
i have included the ext js 4 application in part of that asp.net application in a panel trough a an url link
... the panel auto load the link inside itself ....
link has this format :
<AutoLoadrunat="server"Url="http://localhost:52015/AppNow/App.aspx"/>
but this url Url=http://localhost:52015/AppNow/App.aspx?year=2012&customerId=01
do not work.
i understand that passing this value just like this is not supposed to work anyway... but i havent been able to find any info on this
---> below is my app.js... the link is supposed to pass it the customerId along with the year
Core.onPreReady(
function () {
});
Core.onReady(
function () {
var homeView = "forwarding-kpi-KpiMultiLine";
Core.context.set(
'yearId', 2011);
Core.context.set(
'customerId', '104trrew000,104ret000');
Core.context.set(
'customer', 'APPLE COMPUTER, US ARMY');
Core.context.set(
'hierarchy', 'Product');
Ext.application({
name:
'AppNow',
enableQuickTips:
true,
controllers: [
'Home',
'AppNow.view.',
],
launch:
function () {
var me = this;
Ext.create(
'Core.view.portal.Viewport', {
homeView: homeView
});
}
});
});