Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Events Not Firing
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01443862
Message ID:
01444026
Vues:
27
>>Your problem is here:
       public Collection<XLinkRow> Rows
>>        {
>>            get { return _Rows; }
>>            set 
>>            { 
>>                _Rows = value;
>>                _LoadRows();
>>            }
>>        }
You wire up the event handlers to an instance of Collection< XLinkRow > then replace it with another one. Needs a redesign really but you can use this instead:
public Collection<XLinkRow> Rows
>>        {
>>            get { return _Rows; }
>>            set 
>>            { 
>>                  _Rows.Clear();
>>                foreach (XLinkRow x in value)
>>                    Rows.Add(x);
>>            }
>>        }
>
>OHHHH. In the form when I do "xLinkList1.Rows = Rows;", it's cancelling out the event subscriptions.
>
>Wow. I would never have found that.

Well - that's the problem but I don't think my solution works properly - looks like the list now doesn't show up in the Form...
Knocking off time I'm afraid - hope you have enough info to work out a proper solution.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform