F
funphxnaz
I'm using ASP.net 2.0 (VWD) and I'd like to programmatically hide a
DataList row based on a Repeater nested in the DataList.
Specifically, if the Repeater.Items.Count = 0, I'd like the entire
Datalist row to be hidden.
The solutions presented within the group are all years old, and revolve
around making every control in the DataList row "visible=false". This
seems very code inefficient as my Datalist row contains dozens of
controls.
Is there any way to do this efficiently? Or should I switch from a
Datalist to a GridView?
DataList row based on a Repeater nested in the DataList.
Specifically, if the Repeater.Items.Count = 0, I'd like the entire
Datalist row to be hidden.
The solutions presented within the group are all years old, and revolve
around making every control in the DataList row "visible=false". This
seems very code inefficient as my Datalist row contains dozens of
controls.
Is there any way to do this efficiently? Or should I switch from a
Datalist to a GridView?