PDA

View Full Version : showing existing element under a panel



emredagli
6 Mar 2009, 4:01 AM
Hii,
I have a div element defined on the aspx page.
I want to show this element under a panel.
Is this possible?

Thanks for your advance.

shibubh
6 Mar 2009, 4:06 AM
@ emredagli
use contentEl config option


var p = new Ext.Panel({
title: 'My Panel',
collapsible:false,
renderTo: 'container',
width:400,
contentEl:'divid'// your div id


});

emredagli
6 Mar 2009, 4:17 AM
Thanks Shibu, =D>
It was overlooked...

I am sending my best regards from Turkey to Nepal. =;