
May 1st, 2003, 01:39 AM
|
|
Registered User
|
|
Join Date: Apr 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
I need help with databinding please...
I have a datagrid bound to a datasource with a templated column which contains a custome templated server control. Within my templated custom server control I have another custom control. Im trying to access the DataItem of the datagrid so that I can set the properties of the inner-most control with it. When i try to access the [code]<%#Container.DataItem("FieldName") %>[code] it doesnt work becuase my custom control is nested deeper. Any ideas how i can access the Container.DataItem from a deeply nested control in the datagrids itemTemplate?
|