Hi,
I am using a repeater to show some information of items, each repeater item contains text title and text description, description is by default collapsed and hidden.
description text will be shown by code only if there is a description data exist.
When I load a repeater with the data first time, everything is ok, the description text is shown\hidden according to the description data I pass.
When I try to reload the repeater by calling
repeater.data = []
repeater.data = newData
Somehow it keep remembering the previous description info, so, if the description is shown before, and should be hidden now, it still shown, and couldn’t find a way to fully refresh the repeater.
It seems that the repeater is not fully cleaned when loading the the newData.
Any idea how to clean the repeater before showing the newData? repeater.data = [] probably is not working.
Thanks
Ammar