Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 08, 2012 02:36 PM by AnjumNagpal
Member
46 Points
60 Posts
May 04, 2012 04:25 PM|LINK
I have an HTML Button on my parent.aspx
<input type="button" id="btnMessageFilter" class="mainFont" value="Message Filter" />
On "btnMessageFilter" click, I want to open another aspx page (child.aspx) in Jquery dialog; I was doing this like this:
$(document).ready(function () {
$("#btnMessageFilter").live('click', function () {
var iframe = $("<iframe>").attr({ "src": "MessageFilter.aspx?btn=btnRefresh",
"height": "100%",
"marginwidth": "0",
"marginheight": "0",
"scrolling": "auto",
"frameborder": "0"
});
$("#dialog2").empty().append(iframe);
$("#dialog2").dialog({ modal: true, title: 'Message Filter', width: 400, height: 450 });
$("#dialog2").parent().appendTo('form');
return false;
The code was works fine except for IE9. Any suggestions to fix the above cod or an alternate way to open another aspx in Jquery Dialog?
2 Points
1 Post
May 04, 2012 09:47 PM|LINK
Hi, try to add this to your page or masterpage :
<meta http-equiv="X-UA-Compatible" content="IE=8">
it's worked fine for me.
All-Star
30184 Points
4906 Posts
May 07, 2012 05:18 AM|LINK
Hi,
Here are some working examples-
http://delicious.com/anupdg/dialog+iframe
Participant
1370 Points
372 Posts
May 07, 2012 06:25 AM|LINK
Here maybe can help your problem with your HTML button in IE9:
http://stackoverflow.com/questions/5514973/javascript-code-in-iframes-in-ie9-not-working
May 07, 2012 05:00 PM|LINK
can you tell me if there is any specific example that works in ie9?
May 07, 2012 05:01 PM|LINK
asteranup Hi, Here are some working examples- http://delicious.com/anupdg/dialog+iframe
any particular example that works in ie9?
May 08, 2012 06:35 AM|LINK
Try this-
http://forums.asp.net/p/1655362/4310704.aspx/1?Re+jquery+dialog
May 08, 2012 02:36 PM|LINK
asteranup Hi, Try this- http://forums.asp.net/p/1655362/4310704.aspx/1?Re+jquery+dialog
Anup, I am doing the somwwhat similar. The thing is that this code doesnot run in IE9;
AnjumNagpal
Member
46 Points
60 Posts
Jquery dialog with Iframe not wroking in IE9.
May 04, 2012 04:25 PM|LINK
I have an HTML Button on my parent.aspx
<input type="button" id="btnMessageFilter" class="mainFont" value="Message Filter" />
On "btnMessageFilter" click, I want to open another aspx page (child.aspx) in Jquery dialog; I was doing this like this:
$(document).ready(function () {
$("#btnMessageFilter").live('click', function () {
var iframe = $("<iframe>").attr({ "src": "MessageFilter.aspx?btn=btnRefresh",
"height": "100%",
"marginwidth": "0",
"marginheight": "0",
"scrolling": "auto",
"frameborder": "0"
});
$("#dialog2").empty().append(iframe);
$("#dialog2").dialog({ modal: true, title: 'Message Filter', width: 400, height: 450 });
$("#dialog2").parent().appendTo('form');
return false;
});
});
The code was works fine except for IE9. Any suggestions to fix the above cod or an alternate way to open another aspx in Jquery Dialog?
must19
Member
2 Points
1 Post
Re: Jquery dialog with Iframe not wroking in IE9.
May 04, 2012 09:47 PM|LINK
Hi, try to add this to your page or masterpage :
it's worked fine for me.
asteranup
All-Star
30184 Points
4906 Posts
Re: Jquery dialog with Iframe not wroking in IE9.
May 07, 2012 05:18 AM|LINK
Hi,
Here are some working examples-
http://delicious.com/anupdg/dialog+iframe
Anup Das Gupta
Mark as Answer if you feel so. Visit My Blog
teguhyuliant...
Participant
1370 Points
372 Posts
Re: Jquery dialog with Iframe not wroking in IE9.
May 07, 2012 06:25 AM|LINK
Hi,
Here maybe can help your problem with your HTML button in IE9:
http://stackoverflow.com/questions/5514973/javascript-code-in-iframes-in-ie9-not-working
AnjumNagpal
Member
46 Points
60 Posts
Re: Jquery dialog with Iframe not wroking in IE9.
May 07, 2012 05:00 PM|LINK
can you tell me if there is any specific example that works in ie9?
AnjumNagpal
Member
46 Points
60 Posts
Re: Jquery dialog with Iframe not wroking in IE9.
May 07, 2012 05:01 PM|LINK
any particular example that works in ie9?
asteranup
All-Star
30184 Points
4906 Posts
Re: Jquery dialog with Iframe not wroking in IE9.
May 08, 2012 06:35 AM|LINK
Hi,
Try this-
http://forums.asp.net/p/1655362/4310704.aspx/1?Re+jquery+dialog
Anup Das Gupta
Mark as Answer if you feel so. Visit My Blog
AnjumNagpal
Member
46 Points
60 Posts
Re: Jquery dialog with Iframe not wroking in IE9.
May 08, 2012 02:36 PM|LINK
Anup, I am doing the somwwhat similar. The thing is that this code doesnot run in IE9;