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 🙂

![[Step by Step] Beginner : Create a PCF control and add it to a custom page](https://rajeevpentyala.com/wp-content/uploads/2024/12/image-49.png)

Leave a reply to Adam Cancel reply