MasterPage Content

J

jimmyjoe

Hello,

I have content that fits into a contentplaceholder on the MasterPage. I
need to create a pop-up window from the content page. Whenever I use
window.open it opens the content in the contentplace holder and not a pop-up
window.

Any ideas?

Thanks.....
 
J

jimmyjoe

Ben,

I've been tweaking the code and got it back to where I started. The window
opens with the proper dimensions but instead of displaying the file that's
called it re-displays the masterpage exactly as it is inside the new window
with the text in the contentplaceholder.

Here's the function I use:
function openModalDialog(aspxFile, heading)

{

window.open(aspxFile,heading,'status=yes,scrollbars=yes,resizable=yes,width=450,height=400,left=200,top=200');

}

Here's the HTML call:

<a href="refunds.aspx"
onClick="javascript:eek:penModalDialog('refunds.aspx','dogdue');return false;"
class="disclosures">

The window opens but it displays the masterpage instead of the
'refunds.aspx' file by itself. The contentplaceholder contains the
'refunds.aspx' file. (as I said before :) )

thanks..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top