[CLOSED] Clear the controls in panel at runtime

  1. #1

    [CLOSED] Clear the controls in panel at runtime

    Hi,

    Good Morning !!!

    I have one query :

    Please let me know how to clear the controls in panel at runtime.

    Currently below syntax im using:

    Panel.RemoveAll();
    Same with GridPanel as well.

    Store1.RemoveAll();

    Removes as expected but again i'm tried to some other controls its showing the "unable to get remove attribute " error for both the scenrios.

    Please let me know how to clear the controls when user clicks on button.

    Thanks,
    Vamsi.
    Last edited by Daniil; Dec 15, 2015 at 2:28 PM. Reason: [CLOSED]
  2. #2
    Hi Vamsi,

    A Panel's .RemoveAll() call is a correct way to remove all the container's items.

    A Store's .RemoveAll() call is a correct way to remove all the Store's records.

    i'm tried to some other controls its showing the "unable to get remove attribute " error for both the scenrios.
    Please share what others controls you are trying it on. A test case would be appreciated.

Similar Threads

  1. Clear Controls (textfield)
    By Maia in forum 1.x Help
    Replies: 4
    Last Post: Feb 02, 2012, 11:00 AM
  2. Replies: 4
    Last Post: Apr 22, 2011, 9:30 PM
  3. [CLOSED] Create Controls at Runtime
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Feb 24, 2011, 6:32 PM
  4. Replies: 2
    Last Post: Dec 07, 2010, 7:25 AM
  5. Clear controls in a window
    By nuno_Santos in forum 1.x Help
    Replies: 1
    Last Post: Jan 28, 2009, 11:54 AM

Posting Permissions