Nov 07, 2012, 12:46 PM
How to create a dynamic URL Link for a panel with auto load option (with dynamic parameters)
hi ....
i have a panel that will autoload an url which has some parameters that will be passed down to an ext js 4 application .
basically what i'm asking is how to dynamically create a url and assign it to a panel that will autoload on the link in itself.
(i am very new to ext.net) thanks you in advance.
<ext:Panel ID="Panel1" runat="server" ViewText="Trend" Width="400" Height="400">
<AutoLoad runat="server"
Url="http://localhost:52015/AppNoW/AppNoW.aspx?homeView=forwarding-kpi-KpiMultiLine&hierarchy=Product&customerId=104qwe70 w0,1042ew0wq000&yearId=2011&customer=APPLE COMPUTER, US ARMY"
/>
<Listeners>
<Update Fn="function() {
//update
var me = this;
var cmp = arguments;
debugger;
}" />
<BeforeRender Fn="function() {
//BeforeRender
var me = this;
var cmp = arguments;
debugger;
}" />
</Listeners>
</ext:Panel>
i have a panel that will autoload an url which has some parameters that will be passed down to an ext js 4 application .
basically what i'm asking is how to dynamically create a url and assign it to a panel that will autoload on the link in itself.
(i am very new to ext.net) thanks you in advance.
<ext:Panel ID="Panel1" runat="server" ViewText="Trend" Width="400" Height="400">
<AutoLoad runat="server"
Url="http://localhost:52015/AppNoW/AppNoW.aspx?homeView=forwarding-kpi-KpiMultiLine&hierarchy=Product&customerId=104qwe70 w0,1042ew0wq000&yearId=2011&customer=APPLE COMPUTER, US ARMY"
/>
<Listeners>
<Update Fn="function() {
//update
var me = this;
var cmp = arguments;
debugger;
}" />
<BeforeRender Fn="function() {
//BeforeRender
var me = this;
var cmp = arguments;
debugger;
}" />
</Listeners>
</ext:Panel>