Regarding custom tags

Posted on 2011-10-31
Last Modified: 2012-06-21
what is difference between getParent() method and findAncestorWithClass() method in custom tags?and what is a ancestor?
Question by:PrakashVarma
    LVL 20

    Expert Comment

    by:chaitu chaitu
    LVL 20

    Expert Comment

    by:chaitu chaitu
    LVL 1

    Accepted Solution

    Searches up the parent hierarchy for a Tag of the given type and returns the tag of the given type or null if it could not be found. It does not necessarily return the immediate parent it returns the most accurate match up the hierarchy.

    Returns the immediate parent of this tag.

    Reference :

    LVL 20

    Expert Comment

    by:chaitu chaitu

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    These days socially coordinated efforts have turned into a critical requirement for enterprises.
    The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now