private string GetCurrentURLForPagination()
        {
            var currentUrl = CurrentRequest.GetUrlRewriter().ToString();
            var sb         = new StringBuilder();

            sb.Append(BookmarkingRequestConstants.AMPERSAND_SYMBOL);
            sb.Append(BookmarkingRequestConstants.Pagination);
            sb.Append(BookmarkingRequestConstants.EqualsSymbol);
            sb.Append("[\\d]*");

            var a = Regex.Split(currentUrl, sb.ToString());

            sb = new StringBuilder();
            foreach (var item in a)
            {
                sb.Append(item);
            }

            currentUrl = sb.ToString();
            if (currentUrl.IndexOf(BookmarkingRequestConstants.Question_Sybmol) == -1)
            {
                currentUrl += BookmarkingRequestConstants.Question_Sybmol;
            }

            return(currentUrl);
        }
 public string GetCurrentURL()
 {
     return(CurrentRequest.GetUrlRewriter().ToString());
 }