Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
response.redirect is not working
ravi Gautam
Oct 13 2017 6:49 AM
242
Reply
I have response.redirect in my default page but it is not working it is not going to target page and also not passing the value which defined in that function.
"default.aspx" page code
protected void PrintDetails_Click(object sender, EventArgs e)
{
Response.Redirect("overview.aspx?val=" + statusvalue.Text);
}
below coding is for "overview.aspx"
protected void Page_Load(object sender, EventArgs e)
{
if (!this.Page.IsPostBack)
{
binddata();
showvalue();
}
}
public void showvalue()
{
string sactual_height = Request.QueryString["val"];
int iactual_height = Convert.ToInt16(sactual_height);
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
what kind of collection and how to store for a tree view
i can not download