Hi,
I'd like to access the parent data source from a column template. Something like this:
where MyCollection represents a class I use to populate RadGrid and MyProperty is a property of this class that I'd like to access.
Is it possible to accomplish that?
Thanks,
Leszek
I'd like to access the parent data source from a column template. Something like this:
<telerik:GridTemplateColumn DataField="Number" HeaderText="Number"> <ItemTemplate> <%# ((MyCollection)Parent.DataSource).MyProperty %> </ItemTemplate></telerik:GridTemplateColumn>where MyCollection represents a class I use to populate RadGrid and MyProperty is a property of this class that I'd like to access.
Is it possible to accomplish that?
Thanks,
Leszek
