TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ram kumar
NA
48
81k
showing space in query string
Aug 11 2010 3:06 AM
i am passing a query string on button click with 2 parmetrs in which value of 1st one is from a drop downlist and end value from a textbox the code is
Response.Redirect("Default2.aspx?name="+Server .UrlEncode (this.DropDownList1.Text)+"&location="+Server .UrlEncode (this.TextBox1.Text));
but on the navigated page its is showing space b/w the two values this is like
http://localhost:1871/searching_test/Default2.aspx?name=
Cardiologist++++++++++++++++++++++++++++++++++++++&location=delhi
why it is showing so many spaces b/w two values. i have tried it without url encode too but no solution.
someone pls help me.
Thanks in advance
Reply
Answers (
5
)
javascript in content page of asp.net is not working
How admin add the links which is created dynamically ?