How to force DetailsViewHyperLink include culture in url?

Posted by Community Admin on 03-Aug-2018 09:11

How to force DetailsViewHyperLink include culture in url?

All Replies

Posted by Community Admin on 06-Nov-2011 00:00

How can I make DetailsViewHyperLink to include culture (en/Home/<news item title>/<news item date>/..)?

Posted by Community Admin on 09-Nov-2011 00:00

Hello Saad,

Unfortunately this is not possible directly. You can inherit the DetailsViewHyperLink class and override its OnDataBinding() method. Inside it there is a call to DataResolver.Resolve() method that actually builds the URL, you could try and override it so it generates some other URL. Basically you can append "/en" or "/es" or whatever language you need in front of this URL after it is generated.

Greetings,
Lubomir Velkov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed