Advertisements

Archive

Archive for February 1, 2012

New window is opening up on button click in modal dialog

February 1, 2012 1 comment

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