General information
Title:
Issues with custom web control
Hi all,
I am encountering a strange issue with a custom server control that I wrote.
The control has several properties including a repeater control.
The page I placed the control in has 2 server buttons which trigger postbacks.
WHen the first one is clicked, the repeater of the custom control is rendered with data from database. THen the user can check soem checkbox controls of the repeater items.
WHen the second one is clicked, after teh repeater has been populated with data, I iterate thru all the checked items of the repeater and process another query.
The weird thing in here is that, although I can iterate thru all the checked checkboxes of the repeater item, the custom control(including the repeater) does not show any data.
So I am assuming the viewstate does not work for the control.
What intrigues me is that in a different project, I replicated the control and I can see the control after repeating the same scenario.
Any inputs are appreciated.
Thanks,
Vlad
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only