public static bool InExportMode()
 {
     QueryStringUtil querystringUtil = new QueryStringUtil();
     if (querystringUtil[GridExportTypeQueryStringKey] != null && querystringUtil[GridExportTypeQueryStringKey].Trim() != string.Empty)
         return true;
     return false;
 }
        // ------------------------------------------------------------------
        /// <summary>
        /// Makes a deep copy.
        /// </summary>
        public object Clone()
        {
            QueryStringUtil dst = new QueryStringUtil();

            dst.InternalCurrentPage = this.InternalCurrentPage;
            dst.BeforeUrl = this.BeforeUrl;

            // Clone.
            foreach ( string key in this.InternalQS.Keys )
            {
                dst.InternalQS[key] = this.InternalQS[key];
            }

            return dst;
        }