Exemplo n.º 1
0
 protected void WorkoutChoices_SetView(object sender, EventArgs e)
 {
     foreach (View view in WorkoutChoices.Views)
     {
         if (view.ID.ToString().Equals(ddlWorkoutChoices.Text))
         {
             WorkoutChoices.SetActiveView(view);
         }
     }
 }
Exemplo n.º 2
0
 protected void WorkoutChoices_Initialize()
 {
     foreach (View view in WorkoutChoices.Views)
     {
         if (view.ID.ToString().Equals("Welcome"))
         {
             WorkoutChoices.SetActiveView(view);
         }
     }
 }