Home > CRM 2011, Misc > New window is opening up on button click in modal dialog

New window is opening up on button click in modal dialog

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 🙂

Advertisement
  1. Adam
    August 15, 2012 at 1:48 PM

    Perfect, thanks!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: