Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Events Not Firing
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01443862
Message ID:
01444026
Views:
30
>>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.....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform