Ajax modal popup issue

Ajax modal popup issue

Hello All,

I am working on asp.net web application where jqxgrid is being used.
I am using this jqxgrid on jquery popup
I click on a image-button, jquery pop-up appears with jqxgrid

 and then I wont do anything and close jquery popup, no issues till here.

but when i open ajax modal pupop which is on same page by clicking another image button,
popup appears but when i click on close button of modal pop-up javascript error shows up.



error="<i>Microsoft JScript runtime error: The value of the property 'ctl00_ContentPlaceHolder1_ucOutsideAdjusterLookUp_onCancelClick' is null or undefined, not a Function object</i>"


I just opened jquery pop-up which contain jqxgrid and closed it without doing any activity, after this when I opened modal pop-up and try to close it, I come across this issue.


I hope I made my question clear so that others can understand and help me with solutions or suggestions.