This is the code i used to passing 1 value:
if (Chbk_NewProject.Checked )
{
Response.Redirect("PropertiedDetailsByTypeList.aspx?id=" + 1 + "&text=" + HF_SEARCH.Value);
}
if (Chbk_Resale.Checked)
{
Response.Redirect("PropertiedDetailsByTypeList.aspx?id=" + 2 + "&text=" + HF_SEARCH.Value);
}
if (Chbk_Resale.Checked)
{
Response.Redirect("PropertiedDetailsByTypeList.aspx?id=" + 3 + "&text=" + HF_SEARCH.Value);
}
I want to pass multiple value in response.redirect.
For example:
if (Chbk_NewProject.Checked && Chbk_Resale.Checked )
{
Response.Redirect("PropertiedDetailsByTypeList.aspx?id=" + 1 + "&text=" + HF_SEARCH.Value);
}
In this both checkbox value need to pass..Can anyone help me please?