Environment:
Microsoft Visual Studio 2008 SP1
Asp.net MVC
Extjs 3.1.1
IFRAME requires a plug-in managediframe (miframe. JS) of extjs. With this plug-in, you can use xtype: 'iframepanel 'to download
Code Section:
Copy code The Code is as follows: var p_center = new Ext. tabpanel ({
Region: "center ",
Resizetabs: True, // turn on tab resizing
Mintabwidth: 115,
Tabwidth: 135,
Enabletabscroll: True,
Width: 600,
Activetab: 0,
Height: 250,
Items :[{
Xtype: 'iframepanel ',
Title: 'department? Unified? Rong? Quantity? Points? Configuration? ',
ID: "form_chapteradmin ",
Loadmask: {MSG: 'loading quote ...'},
Deferredrender: false,
// Bodystyle: 'padding: 10px ',
Frameconfig: {Name: 'chatperadminform '},
Border: false,
// Frame: True,
Defasrc SRC: 'http: // mhl-PC/reportserver? % List & RS: command = render: toolbar = false'
}],
Defaults: {autoscroll: true}
});
Figure: