Need assistance with DataList Databinding! Don't know how to do it.
-
I have a datalist which has a label in the template header. The label's visibility is false initially. After that I have the ItemTemplate It contains a label for a date which has visible = false initially after that I have a linkbutton for a category name. So when the page loads it will list categories vertically header = false, date= false. Each category is click able. When the user clicks on a category the category name will show in the header. The label's visibility in the header is set to true. Below it will be the subcategories. The label for sub category date visibility = true and the link button is replaced with clickable sub categories instead of the main categories. How can I achieve this functionality? I would appreciate as many details as possible to achieve this. Thank you for reading.