M
Maury
Hello,
I built an user control that shows an object
(TestObj) of an application, in the user control
I created a public property (of type TestObj) to change
the current displayed object ...
After this I created another user control with a datalist
which contains the user control for TestObj (in ItemTemplate)
with the intent to display an IList<TestObj>
I created a public metod of this :
public void Update (IList<TestObj> myList)
{
datalist1.datasource = myList;
datalist1.databind;
}
I always receive an error when binding: I tried to
debug the DataBinding event, but I can't find vaules
that will be bound (I searched in sender and e parameters)
Can someone help me?
Thanks
I built an user control that shows an object
(TestObj) of an application, in the user control
I created a public property (of type TestObj) to change
the current displayed object ...
After this I created another user control with a datalist
which contains the user control for TestObj (in ItemTemplate)
with the intent to display an IList<TestObj>
I created a public metod of this :
public void Update (IList<TestObj> myList)
{
datalist1.datasource = myList;
datalist1.databind;
}
I always receive an error when binding: I tried to
debug the DataBinding event, but I can't find vaules
that will be bound (I searched in sender and e parameters)
Can someone help me?
Thanks