Ejemplo n.º 1
0
        /// <summary>
        /// static method to return the tree init url with the specified parameters
        /// </summary>
        /// <param name="startNodeID"></param>
        /// <param name="treeType"></param>
        /// <param name="showContextMenu"></param>
        /// <param name="isDialog"></param>
        /// <param name="dialogMode"></param>
        /// <param name="app"></param>
        /// <param name="nodeKey"></param>
        /// <param name="functionToCall"></param>
        /// <returns></returns>
        public static string GetInitUrl(int?startNodeID, string treeType, bool?showContextMenu,
                                        bool?isDialog, TreeDialogModes dialogMode, string app, string nodeKey, string functionToCall)
        {
            TreeService treeSvc = new TreeService(startNodeID, treeType, showContextMenu, isDialog, dialogMode, app, nodeKey, functionToCall);

            return(treeSvc.GetInitUrl());
        }
        /// <summary>
        /// Returns the tree service url to render the tree
        /// </summary>
        /// <returns></returns>
        public string GetTreeInitUrl()
        {
            TreeService treeSvc = new TreeService(this.StartNodeID, TreeAlias, null, null, TreeDialogModes.none, "");

            return(treeSvc.GetInitUrl());
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Returns the tree service url to render the tree
 /// </summary>
 /// <returns></returns>
 public string GetTreeInitUrl()
 {
     TreeService treeSvc = new TreeService(this.StartNodeID, TreeAlias, null, null, TreeDialogModes.none, "");
     return treeSvc.GetInitUrl();
 }
Ejemplo n.º 4
0
		/// <summary>
		/// static method to return the tree init url with the specified parameters
		/// </summary>
		/// <param name="startNodeID"></param>
		/// <param name="treeType"></param>
		/// <param name="showContextMenu"></param>
		/// <param name="isDialog"></param>
		/// <param name="dialogMode"></param>
		/// <param name="app"></param>
		/// <param name="nodeKey"></param>
		/// <param name="functionToCall"></param>
		/// <returns></returns>
		public static string GetInitUrl(int? startNodeID, string treeType, bool? showContextMenu,
		   bool? isDialog, TreeDialogModes dialogMode, string app, string nodeKey, string functionToCall)
		{
			TreeService treeSvc = new TreeService(startNodeID, treeType, showContextMenu, isDialog, dialogMode, app, nodeKey, functionToCall);
			return treeSvc.GetInitUrl();
		}