Hi Mario,
ok, if there is no difference for you then you can keep it. I have seen bad performance especially with large navigation areas (>>100 links) and a lot of render tags (hide page, reference another page, display link differently, etc.). Because of that behavior I always suggest to use the more performant way.

Best,
Hilmar

Am 20.03.2013 19:40, schrieb Mario Brandt:
Hi Hilmar,
so far using ...ByName() made no speed difference for me. If there was an increasement, then only in ms.

Cheers
Mario

Am Mittwoch, 13. März 2013 schrieb Hilmar Bunjes :

    And don't forget to use
    GetElementByName() instead of Elements.GetElement() if you want to
    improve Performance in your projects (at least of you use a
    current V10 or V11 system, was introduced in V10 SP1 HF1).
    Best,
    Hilmar

    Am Mittwoch, 13. März 2013 09:44:37 UTC+1 schrieb Mario:

        Thanks , that works!

        Mario

        Am Mittwoch, 13. März 2013 schrieb Wolfgang Roiter :

            Hi Mario,

            I once stumpled upon a similar problem and found out, that
            the element that you would like to access, must be present
            in any template that is used when navigation manager loops
            through the page hierarchy.
            Please also add "Str:" when using element names:
            GetElement(Str:element_name)

            Regards, Wolfgang

            Am Dienstag, 8. Januar 2013 16:49:17 UTC+1 schrieb Mario:

                Hi,
                I already read
                
https://groups.google.com/forum/?fromgroups=#!searchin/RedDot-CMS-Users/rendertag$20image|sort:date/reddot-cms-users/GTnM7wPaXFI/GWSa1TsW2vwJ
                
<https://groups.google.com/forum/?fromgroups=#%21searchin/RedDot-CMS-Users/rendertag$20image%7Csort:date/reddot-cms-users/GTnM7wPaXFI/GWSa1TsW2vwJ>

                But is there a way to get the content of an image in
                the navigation
                manager, since  <%!!
                
Context:CurrentPage.Elements.GetElement(img_dhtml_menu).GetHtml()!!%>

                shows nothing.

                Cheers
                Mario

-- You received this message because you are subscribed to
            the Google Groups "RedDot CMS Users" group.
            To unsubscribe from this group and stop receiving emails
            from it, send an email to
            [email protected].
            To post to this group, send email to
            [email protected].
            Visit this group at
            http://groups.google.com/group/reddot-cms-users?hl=en.
            For more options, visit
            https://groups.google.com/groups/opt_out.


-- You received this message because you are subscribed to the Google
    Groups "RedDot CMS Users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to [email protected]
    <javascript:_e({}, 'cvml',
    'reddot-cms-users%[email protected]');>.
    To post to this group, send email to
    [email protected] <javascript:_e({}, 'cvml',
    '[email protected]');>.
    Visit this group at
    http://groups.google.com/group/reddot-cms-users?hl=en.
    For more options, visit https://groups.google.com/groups/opt_out.


--
You received this message because you are subscribed to a topic in the Google Groups "RedDot CMS Users" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/reddot-cms-users/Su_ZkxWrQKM/unsubscribe?hl=en. To unsubscribe from this group and all its topics, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



--
You received this message because you are subscribed to the Google Groups "RedDot 
CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to