Allan
asked on
Create Anchors From List
Hi experts!
Say I have a list that contains this:
and to make it common delimited I do this:
and the results for this:
however, how would you make bike and bicycle or whatever in myPost.tags list into anchors and passed as into the querystring?
so, each anchor would look like this:
*xxxx is from the list
Any ideas?
Say I have a list that contains this:
and to make it common delimited I do this:
var tags = String.Join(", ", myPost.tags);
and the results for this:
Tags: @tags
is Tags: bike, bicyclehowever, how would you make bike and bicycle or whatever in myPost.tags list into anchors and passed as into the querystring?
so, each anchor would look like this:
*xxxx is from the list
<a href="@Href("~/mypage/search?r=xxxx")" class="lnk">xxxx</a>
Any ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!
ASKER
you gave me some good ideas I will try later after getting some zzzzzz... tired..
will let you know and thanks again.