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);
}

Ramesh PalanivelRank #372 · 6.8K reputationPosted Oct 13, 2017, 3:28 AM EDT
Ramesh PalanivelRank #372 · 6.8K reputationPosted Oct 13, 2017, 3:05 AM EDT
ravi Gautam15 reputationPosted Oct 13, 2017, 3:25 AM EDT