Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Issues with custom web control
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Issues with custom web control
Divers
Thread ID:
00879894
Message ID:
00879894
Vues:
45
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
Répondre
Fil
Voir

Click here to load this message in the networking platform