Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Issues with custom web control
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Issues with custom web control
Miscellaneous
Thread ID:
00879894
Message ID:
00879894
Views:
43
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
Map
View

Click here to load this message in the networking platform