I have search for this for a while now and feel like an idiot for asking. However, how can I determine the binding path for a given CellValuePresenter. I have looked at the field, the cell, and the CellValuePresenter's template and can not find the binding path anywhere. Is this possible?
Thank you
Devin
Hello dnapoleon518,
I have read your last post and it seems that your LINQ query is without select statement and I can’t understand what exactly you would like to select from the database. Could you please give me your whole LINQ query or provide me with a small, isolated sample application with your database.
I am looking forward to hearing from you.
I excluded a key piece of information. I want to do this for Unbound Fields that have been bound. As I understand it, using unbound fields in the only way to bind to a complex source. My source is a LINQ query that Joins two Business Objects together.
Dim test = From x in x_set Join y In y_set On x.id Equals y.id Order By x.date
<igDP:UnboundField BindingPath="x.Name" BindingMode="TwoWay" Label="Name" Width="auto" />
<igDP:UnboundField BindingPath="y.Name" BindingMode="TwoWay" Label="Name" Width="auto" />
Thank you for your reply.
I have been reading though your post and I am not completely sure I understand what is the functionality that you are looking for. I assume that you wish to determine to which property of the data object, given CellValuePresenter is bound. If my assumption is correct you can use the Name property of the Field that corresponds to the CellValuePresenter, since the property to which a Field is bound is determine by the Name property. For example if you have property named ID in your data object the field that corresponds to that property will have its Name property set to "ID".
Please let me know if this is what you are looking for or I have misunderstood you in any way.