PDA

View Full Version : PostBack issue using collapsible Panel



himalpatel
11 Mar 2012, 9:00 PM
I have few collapsible panel in my web page in which i reference other aspx page using iframe. when I expand that panel, it tried to load the aspx again. How can i just prevent the reload ?

Here is the sample code that i use.


{
id: 'docProfilePanel',
region: 'east',
collapsible: true,
floatable: false,
split: true,
width: '50%',
title: 'Profile',
layout: {
type: 'border',
padding: 0,
align: 'stretch'
},
items:
[{
region:'center',
html:'<iframe id="iProfile" src="WebPage.aspx" frameborder="0" width="100%" height="100%" marginheight="0" marginwidth="0"></iframe>'
}]
}

Looking for your help,

Thanks
Himal

himalpatel
11 Mar 2012, 9:48 PM
NVM, I got it working using animCollapse property set to false.