Quantcast
Channel: encode url having Xpath in Query String - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Samiey Mehdi for encode url having Xpath in Query String

Replace with this code:<a href='NewsByTitle.aspx?title=<%#Server.UrlEncode( XPath("@title").ToString()) %>'><%# XPath("@title") %></a>

View Article



encode url having Xpath in Query String

I want to send title of news to some other page through query string. My title is dynamic so it may contain '&' or other special characters. So I tried this<a...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>