Hello Support,
We are using Infragistics WPF XamComboEditor v12.1. In XamComboEditor we want to display a hyperlink, this item/ hyperlink should be displayed as the last item in the combo. We have attached herewith an screenshot showing the way it should be displayed. Also we have attached a sample code for your reference. Can you please let us know if there is any way we can add hyperlinked item in the combo.
Hello,
Thank you for your post. I have been looking into it and I modified the sample you have sent, so now it has the functionality you want. Basically I set the XamComboEditor’s ComboBoxStyle and added ItemTempalteSelector in order to be able to set different templates for the items. The DataTemplates are defined in the App.xaml file, so they could be accessible from all classes. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
We tried running the modified application at our end but the XamComboEditor was not showing exact values and was showing System.DataRowView instead.
Also the "TemplateSelector" is not getting called.
Please let us know the solution for the same.
Hi
We tried running the modified sample application, but we are getting error. Further, though the Metro theme is getting applied but the hyperlink item style is not getting applied along with the theme set. Please let us know the solution for applying the theme and hyperlink style both at the same time and also that the combobox items gets displayed properly.
Hello again,
In the sample project I created for you everything seems to work ok on my side. I attached a video showing this. Feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
Hi Stefan,
Thank you for the video. We have tried running the sample application which you provided on Mon, Jan 6 2014, however at our end we are still getting the "System.Data.DataRowView" error (as seen in the attached screenshot). I am not sure how the same solution is working at your end. One thing that we observed was your solution was referring dll's of version 13.2, however we are using version 12.1.20121.1010.
Can you please confirm whether this issue is related to the specific version (12.1.20121.1010). Can you please try referencing the dll's of version 12.1.20121.1010 in the sample application and let us know whether you are getting the "System.Data.DataRowView" error at your end or not.
I was able to replicate your behavior using version (12.1.20121.1010). I also tested the sample with the latest service release of 12.1 (12.1.20121.2314) and the issue was fixed there, so I can suggest you download it by logging to our web site and going to Account \Keys & Downloads.
https://ko.infragistics.com/my-account/keys-and-downloads/
Please let me know if this helps you or you need further assistance on this matter.
Hi Support
We tried updating the Infragistics service release (12.1.20121.2314) but still we are facing some issues :
XamComboEditot text property is not getting updated properly, we are still getting “System.Data.DataRowView” in the datasource binded and also null text is not getting applied to the xamComboEditor.
I have been looking into your sample and as I suggested you before, you should use only a XamComboEditor, not a XamComboEditor with a XamComboEditor in its Template and EditTemplate. I can suggest you check the sample I sent you before, where everything works as you want, and use the same logic in your current sample.