We have a requirement where we are displaying map in the UI. For that we have a custom control which is using a js file to display a map in a div element.
it is working fine on initial load of the screen but when ajax call is happening we are getting the map. for eg. if there is attachment control in the section and when user is adding new attachment the map content is not display.
currently, I have created a hidden button in the main witch runscript call on the action. also updated UserWorkForm and performing the click function on the hidden button.
any suggestion what could be a better approach to achieve this.