Ejemplo n.º 1
0
 public static void SetClientPagerProperties(MCS.Web.WebControls.DeluxePager DeluxePager1, PagerPropertiesCls ppc)
 {
     if (ppc != null)
     {
         ppc.InitializeDeluxePager(DeluxePager1, ppc);
     }
 }
Ejemplo n.º 2
0
        public static void GetDeluxePager(MCS.Web.WebControls.DeluxePager DeluxePager1, string pagerObj, ref PagerPropertiesCls ppc)
        {
            byte[] b = new byte[] { };

            if (pagerObj != null)
            {
                string[] strPager = pagerObj.Split(';');
                b = new Byte[strPager.Length];
                for (int i = 0; i < strPager.Length; i++)
                {
                    b[i] = Convert.ToByte(strPager[i]);
                }
                object obj = Tools.DeserializeBinary(b);
                if (obj != null)
                {
                    ppc = (PagerPropertiesCls)obj;
                    //GetRequest(ppc);
                    ppc.InitializeDeluxePager(DeluxePager1, ppc);
                }
            }
        }