Generic Custom Html Helper (Razor) for Dropdown List created by List of Objects
Posted By : Manish Banga at 22 April 2015
Updated On : 22 April 2015
Generally in custom Html Helper you have to pass either list of SelectListItem or list of specific class. But if you have data in list of some specific class (Ex. Customer) then you are bound to first convert it to either in list of SelectListItem or list of a standard class asked as an argument in custom Html Helper. This article explains how to create custom Html Helper for DropdownList without having this boundation. You can pass any type of class to this helper and it will create Dropdown list.
In this article I have explained how we can create a program to install & uninstall EXE/MSI file silently in C++ without any requirement of UI integration by user/client. A package/tool can be created which can be used by admin/IT team of MNCs to install/uninstall bundle of applications (EXE/MSI) silently on their employee’s machines.