I am having an issue on one of my web pages where I need to use the template data field. The group by looks like it does not work due to the fact that there is no actual data for it to group with. Is there any way for me to set the data it uses to group with?
Disregard that, that's a round about way doing it. What I need is the TargetURL property that was on the old UltraWebGrid. We are trying to migrate a web page that was using the ultra web grid. Because it was using the TargetURL property it had no issues with sorting. Does that property exist on the WebHierarchicalDataGrid?
Hi rzwirtz,
Thank you for posting in the community.
The WebHierarchicalDataGrid currently does not feature a TargetURL property for its cells. It is possible , however to inject html in the cell's values. Please refer to the following thread for a sample demonstrating how such a scenario can be implemented using an UnboundColumn (the same is also possible with a BoundDataField so long as the html to inject is coming from your data source):
http://forums.infragistics.com/forums/p/62728/322425.aspx
Please let me know if this helps.
Please do not hesitate to contact me if you need further assistance regarding this scenario.
I have done more research and I can accurately duplicate the issue. The issue seems to be with manually setting more than one UnboundColumns data. I can group by the first one just fine. Whenever I try to use the any past that it throws the object reference error. Just for testing purposes I stopped dynamically setting the html for the UnboundColumns and just manually set it to "test1", "test2" and so on. Even with that change it still throws an object refence error. What change would you suggest making so that I can fix this issue?
Thank you for your reply.
I have tried to reproduce the behavior using version 11.2.20112.1019 but am so far unsuccessful. Please provide me with some information regarding your product version so that I can look into the issue further. A small sample illustrating the matter would be greatly appreciated.
I think I have figured out the root of the problem. What I have figured out is that any column that is on the grid where the key is not a property of the object you are binding to throws an object reference error if you try to remove it from the group by or add any other columns to the group by. I have created a test website that duplicates the issue using the generic KeyValuePair collection. Their are two columns, the key column which works just fine and the ThisWillBlowUp column which if you try to use will blow up.
You can download it here: http://www.mediafire.com/?6ov74m7y6ejj2u6
I was able to replicate your problem in 11.1 with the build indicated. However, once I upgrade to a more recent version, this issue disappears. Could you please upgrade to the latest Service Release?
regards,David Young
Please feel free ti contact me if you need further assistance regarding this matter.