- Set: btnEditEntDoor onclick attribute to a function, for example showColorBox() and add return true.
Ex:
btnEditEntDoor.Attributes("onclick") = "showColorBox(); return true";
If you change it to "return false" then the btnEditEntDoor will never postback to server.
In the showColorBox function, just call the pop up dialog, and then it will return true and cause the btnEditEntDoor postback to server.