Here is our dropdowns. One is populated by the controller with the “DepartmentList” viewdata. And another one by the change event of the first one.
At last create a function which will return a JSON type result. Here, the function calls another one to make a list for the selected index. Don’t be afraid about the “clsDesignation”. Its a model class consiting Designation ID and Name.