I have again, a problem with the RadListView Control. This time, it looks pretty simple but i don't understand why id doesn't work.
So, to be short this is the problem:
I have a Radlistview, and in the ItemTemplate, i have all sort of things, labels, updatePanels, tables, etc. The RadListView works fine, but when i try to acces ANY element inside using
Dim Label1 as New Label = DirectCast(RadListView1.FindControl("LabelID_Here"), Label)
I get Label as Nothing, or any other elements for that matter. Trust me i have tried different ways to access the controls but none succeeded(I also tried TryCast, and other methods suggested on the web).
The problem is that i try to update a panel wich is inside the RadListView, and i can't find it. From what i have seen the FindControl Method only works on RadListView related events such as ItemDataBound, preRender and so on. The problem is that i need the panel to update every 10 seconds or so, so this is unacceptable.
What is the solution to accessing different controls inside the RadListView ?
and hope for a quick reply,