ManageReason Class
This class contains functions related to show Reason details and mange CURD.
Constructor
ManageReason
()
Item Index
Methods
Events
Methods
addKendoWindowToDiv
(
-
divId -
titletext:
Add kendow window to given Div id.
Parameters:
-
divIdObject: id on which kendow wondow will add.
-
titletext:ObjectTitle text on window/popup.
closeWindow
(
-
divId
Close the kendo window.
Parameters:
-
divIdObject: Id which we want to close kendo window.
createReason
()
This function create a popup for Create Reason.
deleteReason
()
Delete Reason entry.
editReason
()
This function create a popup for Edit Or Update Reason.
onBeginCreateReason
()
Called when submit button clicked on Create Reason and Edit Reason form. and Validate Reason form.
onRowBoundReason
()
Fired when data bound to grid Reason.
onSuccessReason
()
Called when reason added successfully. In case of success close popup otherwise show error message.
showReasonDetails
()
Show Reason details to grid.
Events
document.ready
To do some initial functionality on page when Document is ready.
