0
wcdagency created
hello
from event
public async Task<PartialViewResult> CreateOrEditModal(int? id, bool? abc ) {
} modal.open( modalOptions, onClose, onOpen); --> onopen event is working. modal.open( { abc:true } modalOptions, onClose, onOpen); --> I could send param to controller but this way, onopen event is not working.
what is the correct way of passing param to controller so both I could pass abc params and onOpen event would work?
1 Answer(s)
-
0
var modaloptions= {abc:true}; modal.open( modalOptions, onClose, onOpen);