Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Touhid 97 posts 117 karma points
    Dec 30, 2010 @ 07:11
    Touhid
    0

    if else condition in template

    Hi

    Can any one help me how to use if else condition in a template or is it possible there.

    Note: Not using xslt.

    Touhid

  • skiltz 501 posts 701 karma points
    Dec 30, 2010 @ 09:01
    skiltz
    2

    You could use inline c# like

    <% if (condition) { %>

    do something

    <% } else { %>

    do something else

    <% } %>

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies