[CLOSED] dynamic menupanel causing error after 2 click (directevent)

  1. #1

    [CLOSED] dynamic menupanel causing error after 2 click (directevent)

    code

    ContainerName is Ext.Net.Container
                foreach (string group in groupes)
                {
                    Ext.Net.MenuPanel grouppanel = new Ext.Net.MenuPanel();
                    grouppanel.FitHeight = true;
                    grouppanel.IDMode = Ext.Net.IDMode.Explicit;
    
                    ContainerName.Items.Add(grouppanel);
                }

    error
    An error has occurred because a control with id 'ctl00$ContentPlaceHolder_Body$ctl214' could not be located or a different control is assigned to the same ID after postback. If the ID is not assigned, explicitly set the ID property of controls that raise postback events to avoid this error.
    Last edited by Daniil; Sep 22, 2011 at 7:54 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Please set up ID explicitly:
    Ext.Net.MenuPanel grouppanel = new Ext.Net.MenuPanel()
    {
        ID = "MenuPanel1"
    };
  3. #3
    solved. tq very much :)

Similar Threads

  1. Replies: 5
    Last Post: Mar 19, 2014, 3:35 AM
  2. Replies: 2
    Last Post: May 08, 2012, 3:34 PM
  3. Replies: 0
    Last Post: Mar 12, 2012, 7:26 AM
  4. Replies: 2
    Last Post: Oct 22, 2010, 11:04 AM
  5. [CLOSED] Dynamic UC causing error on event
    By CMA in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Oct 01, 2009, 7:44 AM

Posting Permissions