In my form I need to insert a button and in the code behind file I am calling that button click event. While calling the button click event I am using javascript.
But the problem is when I deployed into UAT the id got changed in the code behind file. For example:
"Window.Opener.document.forms[0].ctl00_ContentPlaceHolder1_button_click();"
changes to
"Window.Opener.document.forms[0].ContentPlaceHolder1_button_click();"
I used ASP controls for button with runat = "server".
Appreciate any help! Thanks.