Hi,

In one of my requirement, I am opening an “.aspx” page in modal dialog on CRM ribbon button click.

My .aspx page has a button and when I click on the button , The same page is opening up in another window

Fix :-

  • Add “base target=”_self” tag to the .Aspx page’s “head” (Refer below)

<head>

<base target=”_self” />

</head>

 

Hope it helps 🙂

Advertisements
Advertisements

One response to “New window is opening up on button click in modal dialog”

  1. Adam Avatar
    Adam

    Perfect, thanks!

Leave a comment

Visitors

2,090,620 hits

Top Posts