MultiView
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
MultiView1.ActiveViewIndex = Convert.ToInt32(DropDownList1.SelectedValue)-1;
}
{
MultiView1.ActiveViewIndex = Convert.ToInt32(DropDownList1.SelectedValue)-1;
}
CommandName | CommandArgument |
NextView | (没有值) |
PrevView | (没有值) |
SwitchViewByID | 要切换到的View控件的ID |
SwitchViewByIndex | 要切换到的View控件的索引号 |