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