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

    <% } %>

Please Sign in or register to post replies

Write your reply to:

Draft