Dynamically Create Multiple Ext.Net Panels on Click

  1. #1

    Dynamically Create Multiple Ext.Net Panels on Click

    Hi Guys,

    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();
  2. #2
    Hi,

    Please see:
    https://examples1.ext.net/#/XRender/Basic/Add_Items/

    Try to click the "Add Panel" button several times.

Similar Threads

  1. [CLOSED] Multiple Panels in Windows w/ scrolling
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Jul 27, 2012, 3:13 PM
  2. Create new window dynamically on button click from another window
    By softlabsgroup.support in forum 1.x Help
    Replies: 6
    Last Post: May 01, 2012, 9:26 AM
  3. [CLOSED] Create multiple windows..
    By mattwoberts in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 11, 2011, 12:11 PM
  4. Replies: 0
    Last Post: Jun 04, 2010, 2:52 PM
  5. Can accordian have multiple panels open?
    By dbassett74 in forum 1.x Help
    Replies: 1
    Last Post: Apr 20, 2009, 5:51 PM

Posting Permissions