MultiLookup doesn't post to controller second time.

Aug 28, 2014 at 3:22 PM

I have an issue with MultiLookup post.
First time I click the button to open MultiLookUp I get to the controller and all the the console is filled with data.
If I do not make any changes in console and just click the cancel button, than one more time click MultiLookUp button to open the console, I do not get to the controller. Could you please give me any tip on how to resolve this problem? I need an event every time I click on the button.

Aug 28, 2014 at 4:38 PM
if the user clicks the button to select an item and after clicks cancel and opens it again he should get the same popup so there's no point in loading it again

when you click cancel the popup is hidden, but if the value of the field is changed or the value of a parent is changed the popup will be reinitialized,
so calling $('#multilookupid').change(); will make it reinitialize the popup