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
First Name Last Name
NA
9
2.5k
remove QueryString
Sep 20 2014 5:41 AM
what this code not remove Query String ?
protected void Page_Load(object sender, EventArgs e)
{
// Get the NameValueCollection
PropertyInfo isreadonly = typeof(System.Collections.Specialized.NameValueCollection).GetProperty("IsReadOnly", BindingFlags.Instance | BindingFlags.NonPublic);
// make collection editable
isreadonly.SetValue(this.Request.QueryString, false, null);
// remove
Request.QueryString.Remove("b");
}
protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect("Default.aspx?b=123");
}
Reply
Answers (
1
)
Fusionchart in Asp.net
Html table