Let me start by saying I have read through just about every post I can find on this subject and I have yet to find what I would consider a helpful answer from support. Just about every thread I have found on this subject has made the statement to just make a usercontrol and bind the output to a repeater or treeview and then to use the extension method GetValue("Tags").
It would be helpful to see an actual example of the correct way to do this.
All I want to do is change the way tags are output for a blog post. I do not want to filter posts by tags. I want to grab all tags associated with one particular blog post and output them in a comma delimited fashion instead of the list approach that is used by default.
Here is what I have so far.
I have a usercontrol that i am trying to do a simple test on. This control has a repeater that I want to bind the tags to. One problem I am finding is I do not know what the filed is called. I am trying to use tags, title, name, tag and all give me an error that such a property does not exist. Below is how it currently looks
<%# Eval("Tag") %>,
The code behind is pretty simple right now as I just wanted to make sure I was actually grabbing a blog post. I am not sure what the correct way to do this when the user control will be inside of the blogpost list template is.
var blogPost = App.WorkWith().BlogPosts().Get().First();
var tags = blogPost.GetValue("Tags");
TaxonRepeater.DataSource = tags;
I do not get any output from this. Is this even remotely close to how I should be attempting this?
EDIT: After tracing results I am seeing that my variable "tags" outputs Telerik.OpenAccess.TrackedList`1[System.Guid]
Also: I know I could handle this with CSS by floated the list elements, but I am trying to learn how to use the API.