This is a migrated thread and some comments may be shown as answers.

set_contentUrl not working in Safari.

1 Answer 41 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 07 Nov 2011, 11:14 PM
I am having a problem with the set_contentUrl method in Safari.  I am using the following:

 

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?

1 Answer, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 10 Nov 2011, 04:12 PM
Hello Robert,

I tested the scenario with the set_contentUrl() property and it seems to be working as expected from my side (you can refer to the attached page). Please try to run it and let me know if you can still reproduce the issue and if I am missing something in your scenario. If so, can you elaborate and sent me the modified page that I could test locally?  

Kind regards,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
TabStrip
Asked by
Robert
Top achievements
Rank 1
Answers by
Kate
Telerik team
Share this question
or