PDA

View Full Version : How to inlcude html page into our panel



vinodzylog
7 Jul 2008, 7:59 AM
Hi All,

I need to include html page into my panel.


while i am using the code
centerPanelTwo.setAutoLoad("D:\\Test.html");

I am getting the following error..

Cannot change configuration property 'autoLoad' after the component has been rendered

Can anyone tell me what is the cause of the error?

Correct me if i had any mistake.


Thanks & Regards

Vinod B

skalinkin
8 Jul 2008, 10:12 AM
Seems you call this method after panel was rendered.
you have to put it before.

Also I did not find setAutoLoad method in th API Doc

Try centerPanelTwo.body.update("D:\\Test.html");