Jan 17, 2012, 4:36 PM
Dynamically Create Multiple Ext.Net Panels on Click
Hi Guys,
I have a issue like this.
Im required to create panels
My issue is on the first time the pannel creates and adds to the existing panel but in next clicks same generated panel overwrites with new data
Im required to create multiple pannel than overwriting the same created panel ad keeping the pre generated child pannels,
Is this possible ?
I used the following code in CS:
I have a issue like this.
Im required to create panels
<ext:panel>
and add it to a panel <ext:panel>
which already exists on the page when user selects a value from a <ext:combobox>
and click on a direct event.My issue is on the first time the pannel creates and adds to the existing panel but in next clicks same generated panel overwrites with new data
Im required to create multiple pannel than overwriting the same created panel ad keeping the pre generated child pannels,
Is this possible ?
I used the following code in CS:
Ext.net.Pannel childPanel = new Panel();
Pannel.Title = cmbItem.SelectedItem.Value.toString();
mainpanel.add(childPanel);
mainpanel.render();