protected string GetUrl(string PageNo) { if (Convert.ToInt32(PageNo) == CurrentPage) { return(CommonFunctions.AppendToUrl("#", "", "")); } else { return(CommonFunctions.AppendToUrlPager(Request.RawUrl.ToString(), Constants.PageId, PageNo)); } }