G
Guest
Hi folks,
A web form has a DropDownList control and GridView control. Both are
data binding. I expect that selecting an item in the DrowDownList will
update the GridView visually. But, extra step is necessary by selecting any
item in the gridview, the gridview then refreshes. the related C# code as
below:
protected void DropDownList1_SelectedIndexChanged(...)
{ VideoGridView.DataBind(); }
Please advise. Thanks.
PeterK
A web form has a DropDownList control and GridView control. Both are
data binding. I expect that selecting an item in the DrowDownList will
update the GridView visually. But, extra step is necessary by selecting any
item in the gridview, the gridview then refreshes. the related C# code as
below:
protected void DropDownList1_SelectedIndexChanged(...)
{ VideoGridView.DataBind(); }
Please advise. Thanks.
PeterK