here i'm using this hyper link
NavigateUrl='<%# String.Format("view.aspx?/{0}/&type={1}&area={2}&Name={3}", Eval("city"),Eval("Type"),Eval("Area"),Eval("name"))%>'>
by using above i can pass the only text not symbols in to another page
ex:21st Century Electronics & Telecommunication
but by using above link i get the
21st Century Electronics text only
please help me
it's important to me
6 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Jul 17, 2013, 7:50 AM
Regards,
Iftikar
Abhineet SrivastavaPosted Jul 18, 2013, 9:52 AM
Due to & between Electronics & Communication,Application taking it as Different query string.
You just need to replace & with _ in orginating Page And afterthat replace _ with & in Target page.
Hopes,It will Work :)
prathyushaPosted Jul 17, 2013, 7:26 AM
by using this
i will get this errors
Sanjeeb LenkaPosted Jul 17, 2013, 7:10 AM
on next page get it like this
string result =Server.UrlDecode(Request.QueryString"Name")).ToString();
for details
http://www.c-sharpcorner.com/Blogs/4764/
Iftikar HussainPosted Jul 17, 2013, 7:00 AM
Try like this
Iftikar
Kunal VaishyaPosted Jul 17, 2013, 6:56 AM