1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / BlogArchive control with Multiple Blogs

BlogArchive control with Multiple Blogs

2 posts, 0 answered
  1. Raymond Dowe
    Raymond Dowe avatar
    37 posts
    Registered:
    10 Mar 2010
    22 Jul 2010
    Link to this post
    I'm working on a site with 2 blogs. I've setup a page for each of them, where only posts from the associated blog are shown.

    I'm trying to implement the same behaviour with the BlogArchive control. It looks to me that the FilterExpression property is what I need to use. I'm trying to filter the posts that appear in the control using the expression:

    BlogID = {274a6083-21b3-4567-a9d9-6293c5eeb9bf}

    But I keep getting the error:

    Failed to convert the parameter value from a String to a Guid.

    What is the correct synax for this?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    22 Jul 2010
    Link to this post
    Hello Raymond Dowe,

    You should better use ParentIDs property under Behavior section. There you will be able to use built-in selector to choose from available blogs. As for the filter expression use - ParentID IN (274a6083-21b3-4567-a9d9-6293c5eeb9bf)

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered