User Control Data binding

  • Thread starter Thread starter Maury
  • Start date Start date
M

Maury

Hello,
I created two user control,
the first manage an object of mine,
the second is a DataList in which each Item is the first
control...when I click the 'save' button in the first control,
the object is saved with new values, but in the list is displayed the
old value (until I postBack again)

Can someone tell me the right way to manage updates of nested user controls?
Thanks
M.
 
Try this

In inserted event of DataSource of first control, you can call

1. Me.SecondControl.FindControl("DataList").Databind

Shahzad Godil
Karachi-Pakistan
MSN Messenger : (e-mail address removed)
 
Back
Top