How to link javascript popup and aspx popup when implementing ribbon toolbar button in Tridion?

I use the ribbon toolbar button to represent components.

When I click in the RTF field, the button will be turned on. When I click the button, the aspx page will open. When an aspx page is open, the corresponding JavaScript should be initialized by default. But in my case this does not happen.
I gave common names for the JavaScript and aspx pages. Suggest how to debug this problem and get a solution.

+5
source share
1 answer

Are you saying that your JavaScript file is not included at all?

Or that the "initialize" method is not called?

, . , .js , , .css. .aspx.cs, ControlResources ( ).

, "initialize" , , (, $display.registerView(FullNameOfYourClassIncludingNamespce) JavaScript)

+3

All Articles