예제 #1
0
 public static bool InExportMode()
 {
     QueryStringUtil querystringUtil = new QueryStringUtil();
     if (querystringUtil[GridExportTypeQueryStringKey] != null && querystringUtil[GridExportTypeQueryStringKey].Trim() != string.Empty)
         return true;
     return false;
 }
예제 #2
0
        // ------------------------------------------------------------------
        /// <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;
        }