ManageFleet Class
This class contains functions related to show device details and their state (Operational/Non-operational/Disabled/Archive/All")
Constructor
ManageFleet
()
Item Index
Methods
- addDealer
- addKendoWindowToDiv
- AllValid
- AllValidAddVanDetail
- AllValidVanDetail
- AlphaNumeic
- btnAddVanDetail
- btnCancelAddUser
- btnUndoVanDealerDetail
- CheckDealerDupContactNo
- CheckVanDupRegistrationNo
- CheckVanRegistrationOnGrid
- ChkDealerStateAndCityWithVanStateVanStateAndCity
- closeWindow
- DeleteRecord
- GetDealerNameList
- loadCityChoices
- LoadCityList
- LoadCityList
- LoadCityListAndUpdateGrid
- LoadCityListForVan
- loadStateChoices
- SaveRecord
- SetKendoWindowTitle
- UpdateCityInGrid
- UpdateCityInGrid
- UpdateStateInGrid
- VanDetail
Methods
addDealer
()
This function is used to Manage Fleet in Add Mode
addKendoWindowToDiv
-
divId -
titleText -
width -
left -
top
Function to Add Kendo Window.
Parameters:
-
divIdStringId of Kendo Window
-
titleTextStringTitle Of Kendo Window
-
widthStringwidth Of Kendo Window
-
leftStringleft Of Kendo Window
-
topStringtop Of Kendo Window
AllValid
()
This function is Used to Validate the Complete Control Before Saving Dealer Detail
AllValidAddVanDetail
()
This function is Used to Hide The Validation Message For Add Van Detail
AllValidVanDetail
()
This function is Used to Validate the Complete Control Before Saving Dealer Van Detail
AlphaNumeic
-
e -
t
Function to Enter Only Apha Numeric Character in Textbox.
Parameters:
-
eObjectGet Event Detail
-
tObjectGet Textbox Detail
btnAddVanDetail
()
This function is used to Add or Edit Van Detail In Grid.
btnCancelAddUser
()
This function is Used to Perform Cancel Button On Dealer Detail
btnUndoVanDealerDetail
()
This function is Used to Perform Cancel Button On Van Detail
CheckDealerDupContactNo
()
This function is Used to Check the Duplicate Contact No Of Dealer
CheckVanDupRegistrationNo
()
This function is Used to Check the Duplicate Registration No Of Van And Also Check in grid
CheckVanRegistrationOnGrid
-
vVanRegistrationNo
This function is Used to Check the Duplicate Registration No. in grid
Parameters:
-
vVanRegistrationNoStringVan Registration that exist or not
ChkDealerStateAndCityWithVanStateVanStateAndCity
()
This function is Used to Check Whether the Dealer State ANd city is same as Van state or city Or not
closeWindow
-
divId
Function to Close Kendo Window.
Parameters:
-
divIdStringId of Kendo Window
DeleteRecord
-
IsDeleted
This function is used Delete the Dealer.
Parameters:
-
IsDeletedBolleanRecord is save or deleted
GetDealerNameList
-
vChkValidation -
vRowIndex
Function to Get All Dealer Name According to State And City and State Must be Selected but City is optional
Parameters:
-
vChkValidationBoolean(Check Validation or not)
-
vRowIndexIntegerClick on Dealer List Row Or Not
loadCityChoices
-
:
Function to Fill City According to State Id For Kendo Ui Combo.
Parameters:
-
:ObjectvRowIndex Click on Dealer List Row Or Not
LoadCityList
-
stateId
Function to load city list state wise.
Parameters:
-
stateIdStringselected state id
LoadCityList
-
stateId
Function to load city list state wise.
Parameters:
-
stateIdStringselected state id
LoadCityListAndUpdateGrid
-
stateId
Function to load City list and Update Grid.
Parameters:
-
stateIdStringselected state id
LoadCityListForVan
-
stateId
Function to load city list state wise.
Parameters:
-
stateIdStringselected state id
loadStateChoices
()
Function to Load All State on Page Load
SaveRecord
-
IsDeleted
This function is used Delete the Dealer.
Parameters:
-
IsDeletedBooleanRecord is deleted or not
SetKendoWindowTitle
-
divId -
titleText
Function to Set Kendo Window Title.
Parameters:
-
divIdStringId of Kendo Window
-
titleTextStringTitle Of Kendo Window
UpdateCityInGrid
()
Function to load State And City On Page Load.
UpdateCityInGrid
()
Function to Van Update City in Grid if Dealer City Chnage in Add Mode
UpdateStateInGrid
()
Function to Van Update State in Grid if Dealer State Chnage in Add Mode
VanDetail
()
This function create a popup for Add Van Detail.
