Guest User

Untitled

a guest
Dec 10th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. TaskGridView Control
  2.  
  3. The main purpose of this control is to have a simple overview of the current active tasks. By active, I mean that the task is not at 100 percent completion. This control also provides search functionality based on the task's title and/or the task's description. The methods and properties inherent to this control are as follows:
  4.  
  5. ParentTask (property)
  6. ---------------------
  7. The ParentTask property is either set or retrieved when the ParentTask ID changes. For example, when it is retrieved, TaskGridView will attempt to display only the tasks that are directly related to the originating task ID. If the ParentTask property is set, the ParentTask will get the user selected parentTask ID. If the Populate() method is called after the ParentTask property is set, then the TaskGridView will display the parent task (the project) and its related children (the tasks). If the parentTaskID is 0 and the Populate() method is called, all of the tasks are displayed regardless of other parentTaskId's.
  8.  
  9. IsSearchActive (property)
  10. -------------------------
  11. This is a Boolean value indicating if there are any user search queries active. It is set to false if there are no searches active.
  12.  
  13. ViewOnlyCurrentUserTasks (property)
  14. -----------------------------------
  15. By default, this property is active. When it is set to active, or true, the TaskGridView will only show tasks that apply only to the current logged on user. If this property is set to false, then all tasks are displayed.
  16.  
  17. SelectedTaskID (property)
  18. -------------------------
  19. This property is set when a logged on user wants to select a specific task in order to view more details about the selected task.
  20.  
  21. Populate()
  22. ----------
  23. The Populate() method refreshes the current task list based on the selected parentTaskID.
  24.  
  25. UpdateFilterExpression()
  26. AddToFilter()
  27. ------------------------
  28. These two methods aid in searching for specific tasks based on task title and task description.
  29.  
  30. clrResults()
  31. ------------
  32. Clears the current search query and repopulates the current task list.
Add Comment
Please, Sign In to add comment