I am having a problem with the set_contentUrl method in Safari. I am using the following:
This works in Internet Explorer and Safari version 4 and 5.0. Safari 5.1 and up it does nothing.
I have 3 tabs all with their own page view. I choose to load a PDF into Tab 2. I have used both sending the PDF through the response header and also by setting the content Url and these options both work. But in the suspect Safari versions... when I try to click on Tab 1, nothing happens and It just displays the PDF from Tab 2.
What could be causing this random behavior?
function
GetMultiPageView() {
try
{
//
var multiPage = $find("<%=mpWrapper.ClientID %>"
);
return
multiPage;
}
catch
(err) {
alert(
"Error encountered: "
+ err.message)
}
}
GetMultiPageView().findPageViewByID('pvReportInput').set_contentUrl(Surl);
This works in Internet Explorer and Safari version 4 and 5.0. Safari 5.1 and up it does nothing.
I have 3 tabs all with their own page view. I choose to load a PDF into Tab 2. I have used both sending the PDF through the response header and also by setting the content Url and these options both work. But in the suspect Safari versions... when I try to click on Tab 1, nothing happens and It just displays the PDF from Tab 2.
What could be causing this random behavior?