/// <summary> /// Returns the url for the tree picker (used on modal windows) based on the parameters specified on this class /// </summary> public static string GetPickerUrl(string app, string treeType) { TreeUrlGenerator treeSvc = new TreeUrlGenerator(); treeSvc.App = app; treeSvc.TreeType = treeType; return(treeSvc.GetPickerUrl()); }
/// <summary> /// Static method to return the tree service url with the specified parameters /// </summary> /// <param name="startNodeID"></param> /// <param name="treeType"></param> /// <param name="showContextMenu"></param> /// <param name="isDialog"></param> /// <param name="app"></param> /// <param name="nodeKey"></param> /// <param name="functionToCall"></param> /// <returns></returns> public static string GetServiceUrl(int?startNodeID, string treeType, bool?showContextMenu, bool?isDialog, string app, string nodeKey, string functionToCall) { TreeUrlGenerator treeSvc = new TreeUrlGenerator() { StartNodeID = startNodeID ?? -1, TreeType = treeType, ShowContextMenu = showContextMenu ?? true, IsDialog = isDialog ?? false, App = app, NodeKey = nodeKey, FunctionToCall = functionToCall }; return(treeSvc.GetServiceUrl()); }
/// <summary> /// Static method to return the tree service url with the specified parameters /// </summary> /// <param name="startNodeID"></param> /// <param name="treeType"></param> /// <param name="showContextMenu"></param> /// <param name="isDialog"></param> /// <param name="app"></param> /// <param name="nodeKey"></param> /// <param name="functionToCall"></param> /// <returns></returns> public static string GetServiceUrl(int? startNodeID, string treeType, bool? showContextMenu, bool? isDialog, string app, string nodeKey, string functionToCall) { TreeUrlGenerator treeSvc = new TreeUrlGenerator() { StartNodeID = startNodeID ?? -1, TreeType = treeType, ShowContextMenu = showContextMenu ?? true, IsDialog = isDialog ?? false, App = app, NodeKey = nodeKey, FunctionToCall = functionToCall }; return treeSvc.GetServiceUrl(); }
/// <summary> /// Returns the url for the tree picker (used on modal windows) based on the parameters specified on this class /// </summary> public static string GetPickerUrl(string app, string treeType) { TreeUrlGenerator treeSvc = new TreeUrlGenerator(); treeSvc.App = app; treeSvc.TreeType = treeType; return treeSvc.GetPickerUrl(); }