On my asp.net webfrom process i have a page with a checkbox list on it. I want the page to navigate to different pages depending on the checkboxes selected but i can't figure it out.
Code below is for my 'Submit' button click
protected void Step02SubmitButton_Click(object sender, EventArgs e)
{
SessionSaving();
Response.Redirect("/Quotation/Step03.aspx");
}
Code below is for my the session storing of the checked checkboxes
private void SessionSaving()
{
List<string> selections = new List<string>();
foreach (ListItem listItem in Services.Items)
{
if (listItem.Selected)
{
selections.Add(listItem.Value);
}
}
Session["Step02Services"] = selections;
}
Code below is for my HTML of my checkboxlist
<asp:CheckBoxList runat="server&q ...
Go to the complete details ...