Repeater control in DataView is being bound twice

1.5k Views Asked by At

In an ASP.Net 4.0 web forms based application I have a products listing page which displays list of products in a DevExress' ASPxDataView. To show all the sizes of the product there is a repeater control which is bound for each product in ItemDataBound event of products list.

Now the issue is that for some reason size repeater is bound twice due to which ItemDataBound is being called twice i.e. if there are 3 products and each product has two sizes then ItemDataBound is called 12 times instead of 6.

I have checked that in the code the repeater's DataBind is called only once and PageLoad event is also being called only once.

What could be the reason that repeater control is bound twice?

0

There are 0 best solutions below