C# function for get element by specific TagString

  1. #1

    C# function for get element by specific TagString

    I want to know if there is a code behind function (like X.GetCmp) for select all element with a specific TagString.
    My goal is to remove some elements (in code behind) with a specific string (i.e. in jquery i can use $(".classname")).

    Thanks
    Last edited by maurox; Oct 05, 2016 at 10:19 AM. Reason: markup correction
  2. #2
    Try this:
    X.ComponentQuery
    you can find the API here: http://docs.sencha.com/extjs/5.1.3/a...nentQuery.html

    Thanks,
    /Z

Similar Threads

  1. Replies: 4
    Last Post: Nov 06, 2014, 6:45 PM
  2. StatusProxy Get Element
    By yash.kapoor in forum 2.x Help
    Replies: 1
    Last Post: Nov 09, 2012, 4:43 AM
  3. Creating new Element
    By _xpto in forum 1.x Help
    Replies: 2
    Last Post: Oct 26, 2012, 5:32 PM
  4. Get Coolite Element with Javascript
    By apenunuri in forum 1.x Help
    Replies: 3
    Last Post: Jun 30, 2010, 5:35 PM
  5. Replies: 8
    Last Post: Jun 11, 2008, 9:58 AM

Posting Permissions