03-18-2011 07:31 AM
I have a custom control that I've developed that relies on the currently selected Entity ID (for an Opportunity).
Normally I'd make this a control that targets DialogWorkspace, but in this case, its an uploader control and I don't want the user to navigate away from the Opportunity while the upload is being processed. So I've created a separate EntityPage with EntityType of IOpportunity, and allow the user to launch it from a link in the Opp Details screen, into a new window.
This works perfectly, except I do not want any navigation for this newly spawned window. How can I disable it? I tried commenting out all the "Load" methods in OnLoad, but those resulted in JS errors.