FusionCharts Forum: Installation in Visual Studio 2008 Professional - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Installation in Visual Studio 2008 Professional Can't seem to get it to work properly... "Name 'FusionCharts' is not declared"

#1 User is offline   sbeeson 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 07-April 09

Posted 07 April 2009 - 02:21 PM

The installation instructions all seem to be designed for Visual Studio Express 2005. I'm not sure if that's my problem, but I have 2008 Professional. I have installed to the best of my ability per the instructions, but I still get "Name 'FusionCharts' is not declared". I have FusionCharts.dll in the bin folder. VS2008 doesn't seem to have an option to add an "App_Code" folder, so I tried putting the two .vb files in the App_LocalResources and App_GlobalResources folders. If I understand correctly though, the only thing that should matter at this point is the DLL file. Am I missing a step? Do I need to register it as a component somehow? It's obviously not enough to simply have it in the Bin folder and part of the project in the solution explorer.



Please help!
0

Other Replies To This Topic

#2 User is offline   Rahul Kumar 

  • Supreme Being
  • Group: Moderators
  • Posts: 1034
  • Joined: 18-March 08

Posted 08 April 2009 - 06:52 AM

Hi,

Could you please make sure that you are using correct path reference to FusionCharts.js script in <script> tag under <head> element?

E.G:

<html>
<head>
<script src="../FusionCharts/FusionCharts.js" ></script>
.......
.......
</head>
.....
.....

Regards,
Rahul Kumar
Software Engineer

A byte of magic.

 
0

Other Replies To This Topic

#3 User is offline   sbeeson 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 07-April 09

Posted 08 April 2009 - 03:22 PM

Yeah, that's basically what the problem was...



I'm using Master Pages, so I can't simply put that in the HEAD element. If it helps people in the future, you put it in your content page like this:



(asp:ScriptManager ID="ScriptManager1" runat="server")

(Scripts)

(asp:ScriptReference Path ="../FusionCharts/FusionCharts.js" /)

(/Scripts)

(/asp:ScriptManager)





Obviously you'll need to replace parenthesis with appropriate brackets...
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic