Copied to clipboard

Flag this post as spam?

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


  • Max 144 posts 166 karma points
    Mar 25, 2011 @ 06:12
    Max
    0

    umbraco.library:NiceUrl parameter passing

    Dear All,

    I am trying to pass a paramter of a html drop down list through

    umbraco.library:NiceUrl function

    similar to normal website where u can pass parameter by page.aspx?Id="anything"

    How do you do it using umbraco.library:NiceUrl

    it wil be very helpful if anyone can give me soem code examples for it.

    Thank you

    Max

     

  • Pasang Tamang 258 posts 458 karma points
    Mar 25, 2011 @ 06:22
    Pasang Tamang
    0

    Hi Max

    Please try this

        <a href="{umbraco.library:NiceUrl(@id)}?Id=123">NiceUrl</a>

    Thanks

  • Daniel Bardi 927 posts 2562 karma points
    Mar 25, 2011 @ 06:24
    Daniel Bardi
    0

    Use the umbraco.library... call RequestQueryString('id');

    <xsl:variable name="qsID" select="umbraco.library:RequestQueryString('id')"/>
    <a href="{umbraco.library:NiceUrl($qsID)}"> Link </a>
  • Daniel Bardi 927 posts 2562 karma points
    Mar 25, 2011 @ 06:27
    Daniel Bardi
    0

    Nevermind.. misread the question.

  • Max 144 posts 166 karma points
    Mar 28, 2011 @ 09:21
    Max
    0

    Thanks for the anwwers it was very useful

  • Daniel Bardi 927 posts 2562 karma points
    Mar 28, 2011 @ 09:24
    Daniel Bardi
    0

    Who was that directed towards?

  • Max 144 posts 166 karma points
    Apr 04, 2011 @ 09:08
    Max
    0

    Its u Dani Thanks

  • Daniel Bardi 927 posts 2562 karma points
    Apr 04, 2011 @ 16:51
    Daniel Bardi
    0

    Your welcome..

    Please mark answer as solution.

Please Sign in or register to post replies

Write your reply to:

Draft