private void DefineUrlFormat()
{
if (this.SelectionSettings.RouteValues != null)
{
KeyValuePair<string, object> value = this.SelectionSettings.RouteValues.First();
SelectionSettings.RouteValues[value.Key] = "{0}";
urlFormat = HttpUtility.UrlDecode(SelectionSettings.GenerateUrl(ViewContext, UrlGenerator));
urlFormat = urlFormat.ToLower();
}
}