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

Forums / General Discussions / How to get News URL in current culture?

How to get News URL in current culture?

2 posts, 0 answered
  1. Bruno Michels
    Bruno Michels avatar
    125 posts
    Registered:
    16 Apr 2010
    06 Apr 2011
    Link to this post
    Having the ID of the news, how do I get the News URL for the current culture?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    06 Apr 2011
    Link to this post
    Hello Bruno ,

    1. You need to set the CurrentUICulture.

    2. Then you can get the default news url

    http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/get-correct-url-for-news-items.aspx

    Kind regards,
    Ivan Dimitrov
    the Telerik team

2 posts, 0 answered