-
Is iframe should not be used ever?
-
how screen reader behaves with
iframed content? -
Without iframe how we can embed any
PHP page into asp.net based site? -
What are cross browser alternatives?
Is iframe should not be used ever? how screen reader behaves with iframed content?
Share
I don’t see why using an iframe is a problem.
If you can’t use it then you could either use javascript to download and insert the generated html from the php page, or you could download the html in your asp.net server-side code and insert the html in a control.
Either approach should work well, but using javascript across domains is difficult.
If you go for the asp.net server-side approach you could do the following:
Page_Loadevent use theWebClientto download the html as a string<html>,<head>and<body>tags so that you only have the pure html markup. You may want to add any script- and css-references to your page if they are needed.LabelcontrolsTextproperty.This will work, but there are a few points to make: