Exemplo n.º 1
0
 protected void rblOrientation_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (rblOrientation.SelectedItem.Text == "Portrait")
     {
         Banner.FindControl("pnlVertical").Visible   = true;
         Banner.FindControl("pnlHorizontal").Visible = false;
     }
     else
     {
         Banner.FindControl("pnlVertical").Visible   = false;
         Banner.FindControl("pnlHorizontal").Visible = true;
     }
 }