Hi
I have a grid and I wanted to show content of a field based on a data trigger which is based on another field of object. Please see attached example; In my unboundfield, I wanted to show the value of ProductNameExtended if quantity is greater than 15 otherwise I want it to show value of description field. Please note I do not want to re-define content template. Let me know if there is an alternate.
Thanks.
Hello Abbas,
Thank you for your reply. It seems that for some reason the sample application does not pass through, so I have created private support ticket for you CAS-99567-K8K2L2 and I have attached the sample application to it.
Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thank you Krasimir, I cant see any attachment. Please can you confirm if you attached it with your post?
Hello,
Thank you for your post and the sample application. I have been looking into your sample and it seems that the reason for its behavior is that you are using the DataItem as Binding and you are trying to access the XML elements as properties of the DataItem, which is actually an XmlElement object, since you are using an XML file as data source for the XamDataGrid. What I can suggest, is adding setting the Binding of the UnboundField to MultiBinding. I have modified the sample application that you have attached in order to implement this approach.