get panels created in the primary panel in code behind
hi
I have a panel and for doing some jobs user can to add another panel to this panel. I do this task by following code
Code:
panel.AddTo(this.GetCmp<Panel>("PanelJou"));
panels that add are closable and user can remove them at the end i need to get title id and html of inner panels that remain .but no method i find for this .
I have to access it in code behind but i cant get items of primary panel by this code
Code:
var Allitem = X.GetCmp<Panel>("PanelJou").Items;
I would be grateful if anyone could suggest a way to do this