I tried to show dropdown in grid.But i can't load.I also refered the Admin/Product/_CreateOrUpdate.Categories & Admin/Product/_CreateOrUpdate.Attributes pages and used that below code.But that particular function not hitted.Kinldy help me.
<script>
function OntestdropEdit(e) {
if (e.mode == "edit") {
$('#testdrop')
.data('select-selected-id', e.dataItem['testdropId'])
.data('select-init-text', e.dataItem['testdropName'])
.val(e.dataItem['testdropId'])
.trigger('change');
}
}
function ontestdropBound(e) {
$('#testdrop').selectWrapper({ resetDataUrl: '@Url.Action("LoadDrop", "Test")'});
</script>