/// <summary>
 /// 根据页面传来的字符串,获取当前的ParentVariable
 /// </summary>
 /// <param name="sContainer"></param>
 protected void GetParentVariable(string sContainer)
 {
     string[] ss = sContainer.Split(CosValue.SPLITOPERATOR1);
     ParentVar             = new ParentVariable();
     ParentVar.areaName    = ss[0];
     ParentVar.controlName = ss[1];
     ParentVar.actionName  = ss[2];
     ParentVar.transValue  = ss[3];
     ParentVar.KeyWords    = ss[4];
 }
        //protected string sDataListKey;

        #region Get/Set ParentVariable
        /// <summary>
        /// 设定当前的parentVar
        /// </summary>
        /// <param name="area">AreaName,默认RouteData.DataTokens["area"]</param>
        /// <param name="control">ControlName,默认RouteData.Values["controller"]</param>
        /// <param name="action">ActionName,默认空</param>
        /// <param name="val">传递的参数,默认空</param>
        /// <param name="key">传递的关键字,默认sPageKeyWord</param>
        public void setParentVariable(string area = null, string control = null, string action = null, string val = null, string key = null)
        {
            ParentVar = new ParentVariable();
            if (area == null)
            {
                ParentVar.areaName = RouteData.DataTokens["area"].ToString();
            }
            else
            {
                ParentVar.areaName = area;
            }
            if (control == null)
            {
                ParentVar.controlName = RouteData.Values["controller"].ToString();
            }
            else
            {
                ParentVar.controlName = control;
            }
            if (action == null)
            {
                ParentVar.actionName = "";
            }
            else
            {
                ParentVar.actionName = action;
            }
            if (val == null)
            {
                ParentVar.transValue = "";
            }
            else
            {
                ParentVar.transValue = val;
            }
            if (key == null)
            {
                ParentVar.KeyWords = sPageKeyWord;
            }
            else
            {
                ParentVar.KeyWords = key;
            }
            ParentVar.DefaultVal = ParentVar.areaName + CosValue.SPLITOPERATOR1 + ParentVar.controlName + CosValue.SPLITOPERATOR1
                                   + ParentVar.actionName + CosValue.SPLITOPERATOR1 + ParentVar.transValue + CosValue.SPLITOPERATOR1 + ParentVar.KeyWords;
        }