Пример #1
0
 protected virtual void OnNodesRequested(JQTreeViewNodesRequestedEventArgs e)
 {
     JQTreeView.JQTreeViewNodesRequestedEventHandler jQTreeViewNodesRequestedEventHandler = (JQTreeView.JQTreeViewNodesRequestedEventHandler)base.Events[JQTreeView.EventNodesRequested];
     if (jQTreeViewNodesRequestedEventHandler != null)
     {
         jQTreeViewNodesRequestedEventHandler(this, e);
     }
 }
Пример #2
0
 protected override void OnInit(EventArgs e)
 {
     base.OnInit(e);
     if (!string.IsNullOrEmpty(HttpContext.Current.Request["parentNodeValue"]))
     {
         JQTreeViewNodesRequestedEventArgs jQTreeViewNodesRequestedEventArgs = new JQTreeViewNodesRequestedEventArgs(HttpContext.Current.Request["parentNodeValue"]);
         this.OnNodesRequested(jQTreeViewNodesRequestedEventArgs);
         HttpContext.Current.Response.SendResponse(new JavaScriptSerializer().Serialize(this.SerializeNodes(jQTreeViewNodesRequestedEventArgs.ParentNodes)));
     }
 }
Пример #3
0
 protected virtual void OnNodesRequested(JQTreeViewNodesRequestedEventArgs e)
 {
     JQTreeView.JQTreeViewNodesRequestedEventHandler jQTreeViewNodesRequestedEventHandler = (JQTreeView.JQTreeViewNodesRequestedEventHandler)base.Events[JQTreeView.EventNodesRequested];
     if (jQTreeViewNodesRequestedEventHandler != null)
     {
         jQTreeViewNodesRequestedEventHandler(this, e);
     }
 }
Пример #4
0
 protected override void OnInit(EventArgs e)
 {
     base.OnInit(e);
     if (!string.IsNullOrEmpty(HttpContext.Current.Request["parentNodeValue"]))
     {
         JQTreeViewNodesRequestedEventArgs jQTreeViewNodesRequestedEventArgs = new JQTreeViewNodesRequestedEventArgs(HttpContext.Current.Request["parentNodeValue"]);
         this.OnNodesRequested(jQTreeViewNodesRequestedEventArgs);
         HttpContext.Current.Response.SendResponse(new JavaScriptSerializer().Serialize(this.SerializeNodes(jQTreeViewNodesRequestedEventArgs.ParentNodes)));
     }
 }
 protected void JQTreeView1_NodesRequested(object sender, JQTreeViewNodesRequestedEventArgs e)
 {
 }