This question is locked. New answers and comments are not allowed.
Is there a way to do this? i.e.: When I click the Toolbar Insert I would like to popup CreateProcurement
.ascx and when I click Edit in a row on the grid I'd like to popup EditProcurement.ascx.
Also, it appears that these popups are bound on the initial page load of the grid page itself - which means it is preloading a lot of info (dropdowns, etc) that may not be correct when I finally decide to edit or insert.
Lastly, where should I put the JS for the specific edit/insert popup page? The "$(document).ready(function () {...}); runs on the main page load and not on the popup show...
.ascx and when I click Edit in a row on the grid I'd like to popup EditProcurement.ascx.
Also, it appears that these popups are bound on the initial page load of the grid page itself - which means it is preloading a lot of info (dropdowns, etc) that may not be correct when I finally decide to edit or insert.
Lastly, where should I put the JS for the specific edit/insert popup page? The "$(document).ready(function () {...}); runs on the main page load and not on the popup show...