Exemplo n.º 1
0
        public JQGridTreeExpandData GetTreeExpandData()
        {
            JQGridTreeExpandData jQGridTreeExpandData = new JQGridTreeExpandData();

            if (HttpContext.Current.Request["nodeid"] != null)
            {
                jQGridTreeExpandData.ParentID = HttpContext.Current.Request["nodeid"];
            }
            if (HttpContext.Current.Request["n_level"] != null)
            {
                jQGridTreeExpandData.ParentLevel = Convert.ToInt32(HttpContext.Current.Request["n_level"]);
            }
            return(jQGridTreeExpandData);
        }
Exemplo n.º 2
0
 public JQGridTreeExpandData GetTreeExpandData()
 {
     JQGridTreeExpandData data = new JQGridTreeExpandData();
     if (HttpContext.Current.Request["nodeid"] != null)
     {
         data.ParentID = HttpContext.Current.Request["nodeid"];
     }
     if (HttpContext.Current.Request["n_level"] != null)
     {
         data.ParentLevel = Convert.ToInt32(HttpContext.Current.Request["n_level"]);
     }
     return data;
 }