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
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 17, 2013, 3:50 AM EDT
Regards,
Iftikar
Kunal VaishyaRank #990 · 2K reputationPosted Jul 17, 2013, 2:56 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 17, 2013, 3:00 AM EDT
Try like this
Iftikar
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 17, 2013, 3:10 AM EDT
on next page get it like this
string result =Server.UrlDecode(Request.QueryString"Name")).ToString();
for details
http://www.c-sharpcorner.com/Blogs/4764/
prathyusha173 reputationPosted Jul 17, 2013, 3:26 AM EDT
by using this
i will get this errors
Abhineet SrivastavaRank #1,890 · 783 reputationPosted Jul 18, 2013, 5:52 AM EDT
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 :)
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts