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

Forums / Developing with Sitefinity / Get News Item URL

Get News Item URL

2 posts, 0 answered
  1. Bruno Michels
    Bruno Michels avatar
    125 posts
    Registered:
    16 Apr 2010
    17 Jun 2010
    Link to this post
    In my News control I have a Repeater that lists related news. But I need to get the complete URL to that news that is being listed.

    How can I retrieve the URL of it?

    Example:

    Related
    - News 01 (News/Page01/Date/Title.ascx)
    - News 02 (News/Page01/Date/Title.ascx)
    - News 03 (News/Page02/Date/Title.ascx)
    - News 04 (News/Page01/Date/Title.ascx)
    - News 05 (News/Page02/Date/Title.ascx)

    All I have is Date/Title.ascx...
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    17 Jun 2010
    Link to this post
    Hello Bruno Michels,

    You can take a look at the following blog post - http://www.sitefinity.com/blogs/georgichokov/posts/09-06-23/getting_your_news_articles_full_urls.aspx
    There is also RadRotator control sample, which demonstrates how the news urls can be taken - News Rotator Plugin

    I hope this helps. 

    Kind regards,
    Georgi
    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