I have an asp web-form with a dropdownlist and a checkbox and I need to create a re-direct hyperlink with chosen elements from a "source" page. (s.image below)

enter image description here

This is my code (without re-direction):

protected void ButtonGenerate_Click(object sender, EventArgs e)
{ 
    TextBox2.Text=(**Request.Url.AbsoluteUri** + "?schoolNr=" + schoolNr.SelectedIndex + "&top10=" + top10.Checked);
}

Related posts

Recent Viewed