The Visualization API wraps everything in the global "google" variable 
(effectively acting like a namespace), so it is not interfering with the 
sharepoint javascript, assuming that you're not passing any google data 
structures to sharepoint.  My suspicion is that "a" is an array, and the 
sharepoint code expects arrays to have the #indexOf method, which not all 
browsers support.  Try running it in different browsers to see if that 
makes a difference.

On Friday, July 5, 2013 1:45:33 AM UTC-4, siva kumar wrote:
>
>
>
> On Friday, 5 July 2013 11:09:11 UTC+5:30, siva kumar wrote:
>>
>> Hi,
>>     Its working fine in normal web form, but if i add a map control in 
>> sharepoint webpart its doesn't work.i didnt add anything in serverside that 
>> contains only page_load declaration:
>>
>
> server side code :
>
> namespace SampleWebPart.SharePointRoot.Template.Layouts.SampleWebPart.Pages
> {
>     public partial class sample2 : System.Web.UI.UserControl
>     {
>         protected void Page_Load(object sender, EventArgs e)
>         {
>       
>         }
>     }
> } 
>
>  
>
>>
>> its get the conflict from sharepoint  javascript file (Sp.Core.js).
>>
>> When i debug i found Sp.core.file also using variable as a-(variable name)
>>
>> i thing you are also using a variable as a(variable name) in library file.
>>
>> i attached the file which points  the error location in  library file.
>>
>> here a is a object that contains two property that is animVal and 
>> baseVal. object doen't have indexOf  method so that why only its gets the 
>> error.
>>
>> please guide to resolve that.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to