hi friends,
I am getting problem in opening iframe into popup screen using modal pop up..\
Following is the code i used.
It give me console error:
"Error: document.getElementById("ctl00_cphMain_iframeAddDetail") is null"
plz help..
function newwindow()
{
$find('mpeAddDetail').show();
var pageName ="AddSupprtCallDetail.aspx";
document.getElementById("iframeAddDetail").src = pageName;
return false;
}
--
BehaviorID="mpeAddDetail" PopupControlID="dialog" DropShadow="true" BackgroundCssClass="modalBackground" runat="server">
--
Thanks
Yashvant
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
CrishPosted May 17, 2010, 12:45 PM
use below code for your solution
document.getElementById('iframeAddDetail').src = "AddSupprtCallDetail.aspx";
Don't forget to Mark Do you like this Answer that solved your problem!