31 March 2013

MultiView + DropDownList

Just this morning, my trainee asked me how to select view from MultiView controlled by a DropDownList control.

I said, "Google it!"

At the end, I still shared this short script and it worked fine:


protected void ddl_SelectedIndexChanged(object sender, EventArgs e)
    {
        mmv.ActiveViewIndex = ddl.SelectedIndex;
    }

No comments:

Post a Comment