FusionCharts Forum: Chart Not Showing Client Side - FusionCharts Forum

Jump to content

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

Chart Not Showing Client Side

#1 User is offline   jdepp 

  • Forum Newbie
  • Group: Members
  • Posts: 8
  • Joined: 08-February 12

Posted 08 February 2012 - 06:53 PM

I implemented on production server a web application that produces charts and it successfully works when running on my server. However when testing from my local desktop machine through google chrome or any other browser, the chart does not display except for the word 'chart'. This is weird and I republished just to make sure. Does it have anything to do with the source of the file on my server?
Any ideas appreciated.

ASP.NET code
Public Function UploadChart()
...Return FusionsCharts.RenderChart("/FusionCharts/FCF_Line.swf", "", xmlData.ToString(), "chart1", "500", "300", False, False)
end function


XML markup
<asp:Panel ID="Panel13" runat="server">
<%=UploadChart()%>
</asp:Panel>




0

Other Replies To This Topic

#2 User is offline   Bindhu 

  • Forum Guru
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 224
  • Joined: 24-November 11
  • LocationBangalore

Posted 09 February 2012 - 04:08 AM

Hi,

Welcome to the FusionCharts Forum :)

Thank you for the post.

Any of these listed reasons can cause this error to occur:
  • You have not set correct path of FusionCharts.js in your code
  • The page contains JavaScript error
  • If you are setting the data as XML/JSON String, you might be including new-line characters in the XML/JSON string. New line characters in XML/JSON string cause JavaScript error.

Can you please verify for the above mentioned scenarios ?

Also, many browsers restrict JavaScript from accessing local file system owing to security reasons.

The JavaScript charts, when running locally, would not be able to access data provided as a URL.
If you run the files from a server, it will run absolutely fine, as the data is then read and streamed by the server, without the need for JavaScript to directly access local filesystem.
When running locally, however, if you provide the data as string (using the Data String method), it works fine.

For more details on 'Data String method', please refer to the link below,
http://docs.fusionch...DataXMLExp.html

Also, Flash Player's Global Security implementation blocks JavaScript to interact with charts (Flash charts) when you are running the the web page/application with charts from local file system.
To configure Flash Player Global Security Settings (to enable links and chart APIs) and enable JavaScript calls from charts, you would need to add the folder containing the chart SWF files to Flash Player's Trusted Zone.

For more details on 'How to setup Flash Player Global Security Settings?', please refer to the link below for a detailed step-by-step guide,
http://docs.fusionch...HowToSetup.html

Hope this helps !

Happy FusionCharting :D

This post has been edited by Bindhu: 09 February 2012 - 04:10 AM

Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Thank you,
Bindhu

Follow us <http://http//twitter.com/fusioncharts> @Twitter!
0

Other Replies To This Topic

#3 User is offline   jdepp 

  • Forum Newbie
  • Group: Members
  • Posts: 8
  • Joined: 08-February 12

Posted 09 February 2012 - 03:05 PM

View PostBindhu, on 09 February 2012 - 04:08 AM, said:

Hi,

Welcome to the FusionCharts Forum :)

Thank you for the post.

Any of these listed reasons can cause this error to occur:
  • You have not set correct path of FusionCharts.js in your code
  • The page contains JavaScript error
  • If you are setting the data as XML/JSON String, you might be including new-line characters in the XML/JSON string. New line characters in XML/JSON string cause JavaScript error.

Can you please verify for the above mentioned scenarios ?

Also, many browsers restrict JavaScript from accessing local file system owing to security reasons.

The JavaScript charts, when running locally, would not be able to access data provided as a URL.
If you run the files from a server, it will run absolutely fine, as the data is then read and streamed by the server, without the need for JavaScript to directly access local filesystem.
When running locally, however, if you provide the data as string (using the Data String method), it works fine.

For more details on 'Data String method', please refer to the link below,
http://docs.fusionch...DataXMLExp.html

Also, Flash Player's Global Security implementation blocks JavaScript to interact with charts (Flash charts) when you are running the the web page/application with charts from local file system.
To configure Flash Player Global Security Settings (to enable links and chart APIs) and enable JavaScript calls from charts, you would need to add the folder containing the chart SWF files to Flash Player's Trusted Zone.

For more details on 'How to setup Flash Player Global Security Settings?', please refer to the link below for a detailed step-by-step guide,
http://docs.fusionch...HowToSetup.html

Hope this helps !

Happy FusionCharting :D





I am using the data string method as follows:

xmlData.append("<set name='...' & "value='..." />")

Literal1.text = fusioncharts.renderchar("/../../FCF_line.swf","",xmlData.tostring(), "chart1", "500", :"300", false, false)

also I am seeing the chart fine on the server side and also set the flash player settings but for the client side where if I tried to access it from anywhere on my desktop or local network it is not showing. Do I still have to have the flash player settings point to a local copy of the file because that sounds unsafe.

Also I am receiving an javascript errors.

This post has been edited by jdepp: 09 February 2012 - 03:06 PM

0

Other Replies To This Topic

#4 User is offline   Bindhu 

  • Forum Guru
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 224
  • Joined: 24-November 11
  • LocationBangalore

Posted 10 February 2012 - 03:45 AM

Hi,

Thank you for the response.

Can you please try rendering the chart in debug mode and post us the debug information, along with the JavaScript errors that you can see ?

Do I still have to have the flash player settings point to a local copy of the file because that sounds unsafe.
>> Since Flash Player's Global Security implementation blocks JavaScript to interact with charts (Flash charts) when you are running the the web page/application with charts from local file system, you are required to add the folder containing the chart SWF files to Flash Player's Trusted Zone.

If it is feasible for you, please share the stripped down project so that we can test it.

Also, please share the live URL, so that we can test it and look at the JavaScript errors.

Awaiting your response !
Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Thank you,
Bindhu

Follow us <http://http//twitter.com/fusioncharts> @Twitter!
0

Other Replies To This Topic

#5 User is offline   jdepp 

  • Forum Newbie
  • Group: Members
  • Posts: 8
  • Joined: 08-February 12

Posted 15 February 2012 - 03:17 PM

View PostBindhu, on 10 February 2012 - 03:45 AM, said:

Hi,

Thank you for the response.

Can you please try rendering the chart in debug mode and post us the debug information, along with the JavaScript errors that you can see ?

Do I still have to have the flash player settings point to a local copy of the file because that sounds unsafe.
>> Since Flash Player's Global Security implementation blocks JavaScript to interact with charts (Flash charts) when you are running the the web page/application with charts from local file system, you are required to add the folder containing the chart SWF files to Flash Player's Trusted Zone.

If it is feasible for you, please share the stripped down project so that we can test it.

Also, please share the live URL, so that we can test it and look at the JavaScript errors.

Awaiting your response !



How do you do render the chart in debug mode and I incorrectly posted earlier about the Javascript errors because I do not see any. I changed the flash player settings but still do not see the chart from my desktop when running the web app. I cannot share the URL since it is closed network. IUnable to attach file so I will paste some code here:


<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="TwitterPortal.aspx.vb" Inherits="Admin.TwitterPortal" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxToolkit" %>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head id="Head1" runat = "server"/>
    <title>Blog Search Interface </title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta name="generator" content="Microsoft Visual Studio, see http://msdn.microsoft.com/vstudio/" />
    <meta name="Keywords" content="My MetaSearchWebEngine" />
    <meta name="Description" content="" />
    <meta name="copyright" content="Copyright (c) 2010 My Company. All rights reserved." />
    <script type="text/javascript" language="javascript" src="/Scripts/FusionCharts.js"></script>
    <script type="text/javascript" language="javascript" src="/Scripts/jquery-1.4.1.js"></script>
    <script language="javascript">
        function pageLoad() {
            var tabContainer = $find('tabContainer');
            var tabs = tabContainer.get_tabs();
            for (var i = 0; i < tabs.length; i++) {
                var tab = tabs[i];
                $addHandler(
                        tab.get_headerTab(), 'mouseover', Function.createDelegate(tab, function () {
                            tabContainer.set_activeTab(this);
                        }
            ));
            }
        }
      
    
    </script>
    <style type="text/css">
        #form1
        {
            height: 859px;
        }
        .highlighted
        {}
        .highlighted
        {}
        .ajax_tab_header
        {
            text-align:center;
        }            
    </style>
</head>
    <body bgcolor="White" style="height: 835px; width: 1286px;">
    <form id="form1" runat ="server" >

 	<div>
 	<div style="background-image: url('/AdminTool/Images/pattern_01.gif'); height: 20px;">
 	</div>
 	<div style="background-image: none; background-color: #669999">
 	<div style="background-image: none; background-color: #808080; height: 20px;">
 	<asp:Label ID="lblWelcome" runat="server" Font-Bold="True" ForeColor="White" Text=" WELCOME"></asp:Label>&nbsp;
 	<asp:LoginName ID="LoginName1" runat="server" Font-Names="Verdana" 
         	Font-Size="Small" />
 	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:LoginStatus ID="LoginStatus2" runat="server" Font-Names="Verdana" 
                    LogoutAction="RedirectToLoginPage" LogoutText="Click To Logout" 
                        Font-Italic="False" Font-Size="Small" />
                    <br />
                    <br />
                    <br />
 	</div>
 	</div>
 	<div style="height: 52px; background-color: #FFFFFF;">
            <br />
            <asp:Label ID="Label2" runat="server" BackColor="White" Font-Names="Arial Narrow"
                Font-Size="XX-Large" ForeColor="Maroon" Text="GNIPAdmin" 
                Font-Bold="True"></asp:Label> 
            <asp:Label ID="Label3" runat="server" Font-Names="Calibri" Text="�"></asp:Label>
            <div style="background-color: #C0C0C0; height: 39px; width: 1285px;">
                    <asp:Menu ID="Menu1" runat="server" BackColor="Gray" 
                        DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="Small" 
                        ForeColor="Gray" Height="18px" Orientation="Horizontal" 
                        StaticSubMenuIndent="10px" Width="1282px" EnableTheming="True" 
                        Font-Bold="True">
                        <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" 
                            Font-Bold="True" Font-Names="Verdana" Font-Size="Small" ForeColor="White" />
                        <DataBindings>
                            <asp:MenuItemBinding />
                        </DataBindings>
                        <DynamicHoverStyle BackColor="#FFFFCC" />
                        <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
                        <StaticHoverStyle Font-Bold="False" Font-Size="Small" />
                        <Items>
                            <asp:MenuItem NavigateUrl="~/default.aspx" Text="HOME" Value="HOME">
                            </asp:MenuItem>
                            <asp:MenuItem Text="TWITTER" 
                                Value="BLOG SEARCH" NavigateUrl="~/TwitterPortal.aspx">
                            </asp:MenuItem>
                            <asp:MenuItem Text="FACEBOOK" Value="JOB QUEUE" 
                                NavigateUrl="~/FacebookPortal.aspx">
                            </asp:MenuItem>
                            <asp:MenuItem NavigateUrl="http://.../reportserver" Text="REALTIME REPORTS" 
                                Value="REALTIME REPORTS"></asp:MenuItem>
                        </Items>
             	</asp:Menu>
            </div>
        </div>
 	</div>
 	<div>
 	<br />
 	<br />
 	<br />
 	<asp:ScriptManager ID="ToolkitScriptManager1" runat="server">
 	</asp:ScriptManager>  
 	<br />
      <ajaxToolkit:TabContainer ID="tabContainer" runat="Server" ActiveTabIndex="5" 
         	Width="981px" BackColor="White">
            <ajaxToolkit:TabPanel ID="TabPanel1" runat="server" HeaderText="GInstance1">
                <ContentTemplate>
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                                <ContentTemplate>
                                 	<div>
                                 	</div>
                                      &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                      &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    
                                    <asp:Label ID="Label33" runat="server" Font-Bold="True" Font-Size="Large" 
                                        Text=" .. Instance"></asp:Label>
                                    <br />
                                    <br />
                             	<asp:Table ID="Table1A" runat="server" Width="929px"> 
                                  <asp:TableRow ID="TableRow15" runat="server">
                               	<asp:TableCell ID="TableCell29" runat="server">
                                  <asp:Table ID="Table1" runat="server" GridLines="Both" Height="135px" 
                                    Width="262px" BorderStyle="Solid" CssClass="ajax_tab_header" 
                                        BackColor="Silver">
                                    <asp:TableRow ID="TableRow1" runat="server">
                                        <asp:TableCell ID="TableCell1" runat="server" BackColor="#333333" 
                                            Font-Bold="True" Font-Names="Verdana" Font-Size="Medium" ForeColor="White">Twitter Feed</asp:TableCell>
                                        <asp:TableCell ID="TableCell2" runat="server" BackColor="#333333" 
                                            Font-Bold="True" Font-Names="Verdana" Font-Size="Medium" ForeColor="White">Rules Count</asp:TableCell>
                                    </asp:TableRow>
                                    <asp:TableRow ID="TableRow2" runat="server">
                                        <asp:TableCell ID="TableCell3" runat="server">Keyword Search</asp:TableCell>
                                        <asp:TableCell ID="TableCell4" runat="server" Font-Names="Verdana"></asp:TableCell>
                                    </asp:TableRow>
                                    <asp:TableRow ID="TableRow3" runat="server" BackColor="Gray">
                                        <asp:TableCell ID="TableCell5" runat="server">Stream Track</asp:TableCell>
                                        <asp:TableCell ID="TableCell6" runat="server"></asp:TableCell>
                                    </asp:TableRow>
                                    <asp:TableRow ID="TableRow4" runat="server">
                                        <asp:TableCell ID="TableCell7" runat="server">Stream Follow</asp:TableCell>
                                        <asp:TableCell ID="TableCell8" runat="server"></asp:TableCell>
                                    </asp:TableRow>
                                </asp:Table>
                                </asp:TableCell>
                                  <asp:TableCell ID="TableCell30" runat="server">
                                 	&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp                               	
                                 	<asp:Panel ID="Panel13" runat="server">
                                       	<asp:Literal ID="Literal1" runat="server" OnInit="UploadChart">
                                             	
                                       	</asp:Literal>
                                            
                                 	</asp:Panel>                           	
                             	
                             	</asp:TableCell> 
                                </asp:TableRow>
                                </asp:Table> 
                                <br />
                                <br />
                                <br />
                                <asp:Panel ID="Panel11" runat="server" BackColor="Silver" BorderStyle="Outset" 
                                        Height="158px" Width="387px">
                                <asp:Label ID="Label4" runat="server" BorderStyle="None" 
                                    Text="Add Terms to Feeds" CssClass="ajax_tab_header" Font-Bold="True"></asp:Label>
                                <br />
                                <br />
                                <asp:Label ID="Label5" runat="server" Text="Choose Feed"></asp:Label>
                                    &nbsp;<asp:DropDownList ID="DropDownList1" runat="server" Height="42px" 
                                    style="margin-left: 60px" Width="154px">
                                    <asp:ListItem>Keyword Search</asp:ListItem>
                                    <asp:ListItem>Fan Page Search</asp:ListItem>
                                    </asp:DropDownList>
                                    <br />
                                <br />
                                <asp:Label ID="Label6" runat="server" Text="Add File"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:FileUpload ID="FileUpload1" runat="server" />
                                <br />
                                <br />
                                <br />
                                <br />
                                </asp:Panel> 
                                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <br />
                                <br />
                                  <asp:Panel ID="Panel1" runat="server" BackColor="Silver" BorderStyle="Outset" 
                                        Height="158px" Width="387px">
                                <asp:Label ID="Label7" runat="server" BorderStyle="None" 
                                    Text="Get List of Current Terms" CssClass="static highlighted" 
                                        Font-Bold="True"></asp:Label>
                                <br />
                                <br />
                                <asp:Label ID="Label8" runat="server" Text="Choose Feed"></asp:Label>
                                <asp:DropDownList ID="DropDownList2" runat="server" Height="46px" 
                                    style="margin-left: 60px" Width="154px">
                                    <asp:ListItem>Keyword Search</asp:ListItem>
                                    <asp:ListItem>Stream Follow</asp:ListItem>
                                    <asp:ListItem>Stream Track</asp:ListItem>
                                </asp:DropDownList>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<
br />
                                    <br />
                                <br />
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="Button1" runat="server" Height="35px" style="margin-left: 59px" 
                                    Text="Fetch" Width="154px" />
                                    </asp:Panel> 
                                <br />
                                </ContentTemplate>
                                </asp:UpdatePanel>
                </ContentTemplate>
            </ajaxToolkit:TabPanel>
            <ajaxToolkit:TabPanel ID="TabPanel2" runat="server" HeaderText="GInstance2">
                <ContentTemplate>
                             	<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                                <ContentTemplate>
                                    <div>
                                 	</div>
                                      &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                      &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                                    <asp:Label ID="Label18" runat="server" Font-Bold="True" Font-Size="Large" 
                                        Text=" ... Instance"></asp:Label>
                                    <br />
                                    <br />
                             	<asp:Table ID="Table7" runat="server" Width="929px"> 
                                  <asp:TableRow ID="TableRow16" runat="server">
                               	<asp:TableCell ID="TableCell32" runat="server">
                                    <asp:Table ID="Table2" runat="server" GridLines="Both" Height="105px" 
                                    Width="262px" BorderStyle="Solid" BackColor="Silver">
                                    <asp:TableRow ID="TableRow5" runat="server">
                                        <asp:TableCell ID="TableCell9" runat="server" BackColor="#333333" 
                                            Font-Bold="True" Font-Names="Verdana" Font-Size="Medium" ForeColor="White">Twitter Feed</asp:TableCell>
                                        <asp:TableCell ID="TableCell10" runat="server" BackColor="#333333" 
                                            Font-Bold="True" Font-Names="Verdana" Font-Size="Medium" ForeColor="White">Rules Count</asp:TableCell>
                                    </asp:TableRow>
                                    <asp:TableRow ID="TableRow6" runat="server">
                                        <asp:TableCell ID="TableCell11" runat="server">Keyword Search</asp:TableCell>
                                        <asp:TableCell ID="TableCell12" runat="server" Font-Names="Verdana"></asp:TableCell>
                                    </asp:TableRow>
                             	</asp:Table>
                             	</asp:TableCell> 
                             	<asp:TableCell ID="TableCell31" runat="server">
                                 	&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp                               	
                                 	<asp:Panel ID="Panel14" runat="server">
                                     	
                                 	</asp:Panel>                           	
                             	<asp:Literal ID="Literal2" runat="server"></asp:Literal>
                             	</asp:TableCell> 
                             	</asp:TableRow> 
                                </asp:Table> 
                                <br />
                                <br />
                                <br />
                                <br />
                                <asp:Panel ID="Panel2" runat="server" BackColor="Silver" BorderStyle="Outset" 
                                        Height="158px" Width="387px">
                                <asp:Label ID="Label1" runat="server" BorderStyle="None" 
                                    Text="Add Terms to Feeds" CssClass="ajax_tab_header" Font-Bold="True"></asp:Label>
                                <br />
                                <br />
                                <asp:Label ID="Label9" runat="server" Text="Choose Feed"></asp:Label>
                                    &nbsp;<asp:DropDownList ID="DropDownList3" runat="server" Height="42px" 
                                    style="margin-left: 60px" Width="154px">
                                    <asp:ListItem>Keyword Search</asp:ListItem>
                                    <asp:ListItem>Fan Page Search</asp:ListItem>
                                    </asp:DropDownList>
                                    <br />
                                <br />
                                <asp:Label ID="Label10" runat="server" Text="Add File"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:FileUpload ID="FileUpload2" runat="server" />
                                <br />
                                <br />
                                <br />
                                <br />
                                </asp:Panel> 
                                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <br />
                                <br />
                                  <asp:Panel ID="Panel3" runat="server" BackColor="Silver" BorderStyle="Outset" 
                                        Height="158px" Width="387px">
                                <asp:Label ID="Label11" runat="server" BorderStyle="None" 
                                    Text="Get List of Current Terms" CssClass="static highlighted" 
                                        Font-Bold="True"></asp:Label>
                                <br />
                                <br />
                                <asp:Label ID="Label12" runat="server" Text="Choose Feed"></asp:Label>
                                <asp:DropDownList ID="DropDownList4" runat="server" Height="46px" 
                                    style="margin-left: 60px" Width="154px">
                                    <asp:ListItem>Keyword Search</asp:ListItem>
                                    <asp:ListItem>Stream Follow</asp:ListItem>
                                    <asp:ListItem>Stream Track</asp:ListItem>
                                </asp:DropDownList>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<
br />
                                    <br />
                                <br />
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="Button2" runat="server" Height="35px" style="margin-left: 59px" 
                                    Text="Fetch" Width="154px" />
                                    </asp:Panel> 
                                <br />
                                </ContentTemplate>
                                </asp:UpdatePanel>
                </ContentTemplate>
            </ajaxToolkit:TabPanel>
            <ajaxToolkit:TabPanel ID="TabPanel4" runat="server" HeaderText="GInstance3">
                <ContentTemplate>
                                  <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
                                <ContentTemplate>
                                 	<div>
                                 	</div>
                                      &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                      &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                                    <asp:Label ID="Label19" runat="server" Font-Bold="True" Font-Size="Large" 
                                        Text=" ... Instance"></asp:Label>
                                    <br />
                                    <br />
                               	<asp:Table ID="Table8" runat="server" Width="929px"> 
                                  <asp:TableRow ID="TableRow17" runat="server">
                               	<asp:TableCell ID="TableCell33" runat="server">
                                  <asp:Table ID="Table3" runat="server" GridLines="Both" Height="105px" 
                                    Width="262px" BorderStyle="Solid" BackColor="Silver">
                                    <asp:TableRow ID="TableRow7" runat="server">
                                        <asp:TableCell ID="TableCell13" runat="server" BackColor="#333333" 
                                            Font-Bold="True" Font-Names="Verdana" Font-Size="Medium" ForeColor="White">Twitter Feed</asp:TableCell>
                                        <asp:TableCell ID="TableCell14" runat="server" BackColor="#333333" 
                                            Font-Bold="True" Font-Names="Verdana" Font-Size="Medium" ForeColor="White">Rules Count</asp:TableCell>
                                    </asp:TableRow>
                                    <asp:TableRow ID="TableRow8" runat="server">
                                        <asp:TableCell ID="TableCell15" runat="server">Keyword Search</asp:TableCell>
                                        <asp:TableCell ID="TableCell16" runat="server" Font-Names="Verdana"></asp:TableCell>
                                    </asp:TableRow>
                             	</asp:Table>
                                  </asp:TableCell> 
                                  <asp:TableCell ID="TableCell34" runat="server">
                                 	&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp                               	
                                 	<asp:Panel ID="Panel15" runat="server">
                                          
                                 	</asp:Panel>                           	
                             	<asp:Literal ID="Literal3" runat="server"></asp:Literal>
                             	</asp:TableCell> 
                                </asp:TableRow> 
                                </asp:Table> 
                                <br />
                                <br />
                                <br />
                                <br />
                             	<asp:Panel ID="Panel4" runat="server" BackColor="Silver" BorderStyle="Outset" 
                                        Height="158px" Width="387px">
                                <asp:Label ID="Label13" runat="server" BorderStyle="None" 
                                    Text="Add Terms to Feeds" CssClass="ajax_tab_header" Font-Bold="True"></asp:Label>
                                <br />
                                <br />
                                <asp:Label ID="Label14" runat="server" Text="Choose Feed"></asp:Label>
                                    &nbsp;<asp:DropDownList ID="DropDownList5" runat="server" Height="42px" 
                                    style="margin-left: 60px" Width="154px">
                                    <asp:ListItem>Keyword Search</asp:ListItem>
                                    <asp:ListItem>Fan Page Search</asp:ListItem>
                                    </asp:DropDownList>
                                    <br />
                                <br />
                                <asp:Label ID="Label15" runat="server" Text="Add File"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:FileUpload ID="FileUpload3" runat="server" />
                                <br />
                                <br />
                                <br />
                                <br />
                                </asp:Panel> 
                                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <br />
                                <br />
                                  <asp:Panel ID="Panel5" runat="server" BackColor="Silver" BorderStyle="Outset" 
                                        Height="158px" Width="387px">
                                <asp:Label ID="Label16" runat="server" BorderStyle="None" 
                                    Text="Get List of Current Terms" CssClass="static highlighted" 
                                        Font-Bold="True"></asp:Label>
                                <br />
                                <br />
                                <asp:Label ID="Label17" runat="server" Text="Choose Feed"></asp:Label>
                                <asp:DropDownList ID="DropDownList6" runat="server" Height="46px" 
                                    style="margin-left: 60px" Width="154px">
                                    <asp:ListItem>Keyword Search</asp:ListItem>
                                    <asp:ListItem>Stream Follow</asp:ListItem>
                                    <asp:ListItem>Stream Track</asp:ListItem>
                                </asp:DropDownList>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<
br />
                                    <br />
                                <br />
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="Button3" runat="server" Height="35px" style="margin-left: 59px" 
                                    Text="Fetch" Width="154px" />
                                    </asp:Panel> 
                                <br />
                                </ContentTemplate>
                                </asp:UpdatePanel>
                </ContentTemplate>
            </ajaxToolkit:TabPanel>
         	<ajaxToolkit:TabPanel ID="TabPanel3" runat="server" HeaderText="GInstance4">
                <ContentTemplate>
                                  <asp:UpdatePanel ID="UpdatePanel5" runat="server" UpdateMode="Conditional">
                                <ContentTemplate>
                                 	<div>
                                 	</div>
                                      &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                      &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                                    <asp:Label ID="Label20" runat="server" Font-Bold="True" Font-Size="Large" 
                                        Text=" .... Instance"></asp:Label>
                                    <br />
                                    <br />
                               	<asp:Table ID="Table9" runat="server" Width="929px"> 
                                  <asp:TableRow ID="TableRow18" runat="server">
                               	<asp:TableCell ID="TableCell35" runat="server">
                                  <asp:Table ID="Table4" runat="server" GridLines="Both" Height="105px" 
                                    Width="262px" BorderStyle="Solid" BackColor="Silver">
                                    <asp:TableRow ID="TableRow9" runat="server">
                                        <asp:TableCell ID="TableCell17" runat="server" BackColor="#333333" 
                                            Font-Bold="True" Font-Names="Verdana" Font-Size="Medium" ForeColor="White">Twitter Feed</asp:TableCell>
                                        <asp:TableCell ID="TableCell18" runat="server" BackColor="#333333" 
                                            Font-Bold="True" Font-Names="Verdana" Font-Size="Medium" ForeColor="White">Rules Count</asp:TableCell>
                                    </asp:TableRow>
                                    <asp:TableRow ID="TableRow10" runat="server">
                                        <asp:TableCell ID="TableCell19" runat="server">Keyword Search</asp:TableCell>
                                        <asp:TableCell ID="TableCell20" runat="server" Font-Names="Verdana"></asp:TableCell>
                                    </asp:TableRow>
                             	</asp:Table>
                               	</asp:TableCell> 
                                  <asp:TableCell ID="TableCell36" runat="server">
                                 	&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp                               	
                                 	<asp:Panel ID="Panel16" runat="server">
                                          
                                 	</asp:Panel>                           	
                             	<asp:Literal ID="Literal4" runat="server"></asp:Literal>
                             	</asp:TableCell> 
                                </asp:TableRow> 
                                </asp:Table> 
                                <br />
                                <br />
                                <br />
                                <br />
                                <asp:Panel ID="Panel6" runat="server" BackColor="Silver" BorderStyle="Outset" 
                                        Height="158px" Width="387px">
                                <asp:Label ID="Label21" runat="server" BorderStyle="None" 
                                    Text="Add Terms to Feeds" CssClass="ajax_tab_header" Font-Bold="True"></asp:Label>
                                <br />
                                <br />
                                <asp:Label ID="Label22" runat="server" Text="Choose Feed"></asp:Label>
                                    &nbsp;<asp:DropDownList ID="DropDownList7" runat="server" Height="42px" 
                                    style="margin-left: 60px" Width="154px">
                                    <asp:ListItem>Keyword Search</asp:ListItem>
                                    <asp:ListItem>Fan Page Search</asp:ListItem>
                                    </asp:DropDownList>
                                    <br />
                                <br />
                                <asp:Label ID="Label23" runat="server" Text="Add File"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:FileUpload ID="FileUpload4" runat="server" />
                                <br />
                                <br />
                                <br />
                                <br />
                                </asp:Panel> 
                                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <br />
                                <br />
                                  <asp:Panel ID="Panel7" runat="server" BackColor="Silver" BorderStyle="Outset" 
                                        Height="158px" Width="387px">
                                <asp:Label ID="Label24" runat="server" BorderStyle="None" 
                                    Text="Get List of Current Terms" CssClass="static highlighted" 
                                        Font-Bold="True"></asp:Label>
                                <br />
                                <br />
                                <asp:Label ID="Label25" runat="server" Text="Choose Feed"></asp:Label>
                                <asp:DropDownList ID="DropDownList8" runat="server" Height="46px" 
                                    style="margin-left: 60px" Width="154px">
                                    <asp:ListItem>Keyword Search</asp:ListItem>
                                    <asp:ListItem>Stream Follow</asp:ListItem>
                                    <asp:ListItem>Stream Track</asp:ListItem>
                                </asp:DropDownList>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<
br />
                                    <br />
                                <br />
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="Button4" runat="server" Height="35px" style="margin-left: 59px" 
                                    Text="Fetch" Width="154px" />
                                    </asp:Panel> 
                                <br />
                                </ContentTemplate>
                                </asp:UpdatePanel>
                </ContentTemplate>
            </ajaxToolkit:TabPanel>
         	<ajaxToolkit:TabPanel ID="TabPanel5" runat="server" HeaderText="GInstance5">
                <ContentTemplate>
                                  <asp:UpdatePanel ID="UpdatePanel6" runat="server" UpdateMode="Conditional">
                                <ContentTemplate>
                                 	<div>
                                 	</div>
                                      &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                      &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                                    <asp:Label ID="Label26" runat="server" Font-Bold="True" Font-Size="Large" 
                                        Text=" .... Instance"></asp:Label>
                                    <br />
                                    <br />
                             	<asp:Table ID="Table10" runat="server" Width="929px"> 
                                  <asp:TableRow ID="TableRow19" runat="server">
                               	<asp:TableCell ID="TableCell37" runat="server">
                                  <asp:Table ID="Table5" runat="server" GridLines="Both" Height="105px" 
                                    Width="262px" BorderStyle="Solid" BackColor="Silver">
                                    <asp:TableRow ID="TableRow11" runat="server">
                                        <asp:TableCell ID="TableCell21" runat="server" BackColor="#333333" 
                                            Font-Bold="True" Font-Names="Verdana" Font-Size="Medium" ForeColor="White">Twitter Feed</asp:TableCell>
                                        <asp:TableCell ID="TableCell22" runat="server" BackColor="#333333" 
                                            Font-Bold="True" Font-Names="Verdana" Font-Size="Medium" ForeColor="White">Rules Count</asp:TableCell>
                                    </asp:TableRow>
                                    <asp:TableRow ID="TableRow12" runat="server">
                                        <asp:TableCell ID="TableCell23" runat="server">Keyword Search</asp:TableCell>
                                        <asp:TableCell ID="TableCell24" runat="server" Font-Names="Verdana"></asp:TableCell>
                                    </asp:TableRow>
                             	</asp:Table>
                               	</asp:TableCell> 
                                  <asp:TableCell ID="TableCell38" runat="server">
                                 	&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp                               	
                                 	<asp:Panel ID="Panel17" runat="server">
                                          
                                 	</asp:Panel>                           	
                             	<asp:Literal ID="Literal5" runat="server"></asp:Literal>
                             	</asp:TableCell> 
                                </asp:TableRow> 
                                </asp:Table> 
                                <br />
                                <br />
                                <br />
                                <br />
                                <asp:Panel ID="Panel8" runat="server" BackColor="Silver" BorderStyle="Outset" 
                                        Height="158px" Width="387px">
                                <asp:Label ID="Label27" runat="server" BorderStyle="None" 
                                    Text="Add Terms to Feeds" CssClass="ajax_tab_header" Font-Bold="True"></asp:Label>
                                <br />
                                <br />
                                <asp:Label ID="Label28" runat="server" Text="Choose Feed"></asp:Label>
                                    &nbsp;<asp:DropDownList ID="DropDownList9" runat="server" Height="42px" 
                                    style="margin-left: 60px" Width="154px">
                                    <asp:ListItem>Keyword Search</asp:ListItem>
                                    <asp:ListItem>Fan Page Search</asp:ListItem>
                                    </asp:DropDownList>
                                    <br />
                                <br />
                                <asp:Label ID="Label29" runat="server" Text="Add File"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:FileUpload ID="FileUpload5" runat="server" />
                                <br />
                                <br />
                                <br />
                                <br />
                                </asp:Panel> 
                                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <br />
                                <br />
                                  <asp:Panel ID="Panel9" runat="server" BackColor="Silver" BorderStyle="Outset" 
                                        Height="158px" Width="387px">
                                <asp:Label ID="Label30" runat="server" BorderStyle="None" 
                                    Text="Get List of Current Terms" CssClass="static highlighted" 
                                        Font-Bold="True"></asp:Label>
                                <br />
                                <br />
                                <asp:Label ID="Label31" runat="server" Text="Choose Feed"></asp:Label>
                                <asp:DropDownList ID="DropDownList10" runat="server" Height="46px" 
                                    style="margin-left: 60px" Width="154px">
                                    <asp:ListItem>Keyword Search</asp:ListItem>
                                    <asp:ListItem>Stream Follow</asp:ListItem>
                                    <asp:ListItem>Stream Track</asp:ListItem>
                                </asp:DropDownList>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<
br />
                                    <br />
                                <br />
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="Button5" runat="server" Height="35px" style="margin-left: 59px" 
                                    Text="Fetch" Width="154px" />
                                    </asp:Panel> 
                                <br />
                                </ContentTemplate>
                                </asp:UpdatePanel>
                </ContentTemplate>
            </ajaxToolkit:TabPanel>
         	<ajaxToolkit:TabPanel ID="TabPanel6" runat="server" HeaderText="GInstance6">
                <ContentTemplate>
                                  <asp:UpdatePanel ID="UpdatePanel7" runat="server" UpdateMode="Conditional">
                                <ContentTemplate>
                                 	<div>
                                 	</div>
                                      &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                      &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                                    <asp:Label ID="Label32" runat="server" Font-Bold="True" Font-Size="Large" 
                                        Text=" .... Instance"></asp:Label>
                                    <br />
                                    <br />
                             	<asp:Table ID="Table11" runat="server" Width="929px"> 
                                  <asp:TableRow ID="TableRow20" runat="server">
                               	<asp:TableCell ID="TableCell39" runat="server">
                                  <asp:Table ID="Table6" runat="server" GridLines="Both" Height="105px" 
                                    Width="262px" BorderStyle="Solid" BackColor="Silver">
                                    <asp:TableRow ID="TableRow13" runat="server">
                                        <asp:TableCell ID="TableCell25" runat="server" BackColor="#333333" 
                                            Font-Bold="True" Font-Names="Verdana" Font-Size="Medium" ForeColor="White">Twitter Feed</asp:TableCell>
                                        <asp:TableCell ID="TableCell26" runat="server" BackColor="#333333" 
                                            Font-Bold="True" Font-Names="Verdana" Font-Size="Medium" ForeColor="White">Rules Count</asp:TableCell>
                                    </asp:TableRow>
                                    <asp:TableRow ID="TableRow14" runat="server">
                                        <asp:TableCell ID="TableCell27" runat="server">Keyword Search</asp:TableCell>
                                        <asp:TableCell ID="TableCell28" runat="server" Font-Names="Verdana"></asp:TableCell>
                                    </asp:TableRow>
                             	</asp:Table>
                               	</asp:TableCell> 
                                  <asp:TableCell ID="TableCell40" runat="server">
                                 	&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp                               	
                                 	<asp:Panel ID="Panel18" runat="server">
                                          
                                 	</asp:Panel>                           	
                             	<asp:Literal ID="Literal6" runat="server"></asp:Literal>
                             	</asp:TableCell> 
                                </asp:TableRow> 
                                </asp:Table> 
                                <br />
                                <br />
                                <br />
                                <br />
                             	<asp:Panel ID="Panel10" runat="server" BackColor="Silver" BorderStyle="Outset" 
                                        Height="158px" Width="387px">
                                <asp:Label ID="Label34" runat="server" BorderStyle="None" 
                                    Text="Add Terms to Feeds" CssClass="ajax_tab_header" Font-Bold="True"></asp:Label>
                                <br />
                                <br />
                                <asp:Label ID="Label35" runat="server" Text="Choose Feed"></asp:Label>
                                    &nbsp;<asp:DropDownList ID="DropDownList11" runat="server" Height="42px" 
                                    style="margin-left: 60px" Width="154px">
                                    <asp:ListItem>Keyword Search</asp:ListItem>
                                    <asp:ListItem>Fan Page Search</asp:ListItem>
                                    </asp:DropDownList>
                                    <br />
                                <br />
                                <asp:Label ID="Label36" runat="server" Text="Add File"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:FileUpload ID="FileUpload6" runat="server" />
                                <br />
                                <br />
                                <br />
                                <br />
                                </asp:Panel> 
                                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <br />
                                <br />
                                  <asp:Panel ID="Panel12" runat="server" BackColor="Silver" BorderStyle="Outset" 
                                        Height="158px" Width="387px">
                                <asp:Label ID="Label37" runat="server" BorderStyle="None" 
                                    Text="Get List of Current Terms" CssClass="static highlighted" 
                                        Font-Bold="True"></asp:Label>
                                <br />
                                <br />
                                <asp:Label ID="Label38" runat="server" Text="Choose Feed"></asp:Label>
                                <asp:DropDownList ID="DropDownList12" runat="server" Height="46px" 
                                    style="margin-left: 60px" Width="154px">
                                    <asp:ListItem>Keyword Search</asp:ListItem>
                                    <asp:ListItem>Stream Follow</asp:ListItem>
                                    <asp:ListItem>Stream Track</asp:ListItem>
                                </asp:DropDownList>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<
br />
                                    <br />
                                <br />
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="Button6" runat="server" Height="35px" style="margin-left: 59px" 
                                    Text="Fetch" Width="154px" />
                                    </asp:Panel> 
                                <br />
                                </ContentTemplate>
                                </asp:UpdatePanel>
                </ContentTemplate>
            </ajaxToolkit:TabPanel>
 	</ajaxToolkit:TabContainer>
 	</div> 
   </form>
 </body>
</html>




Imports System.IO
Imports System.Net
Imports System.Web
Imports System.Xml
Imports System.Text
Imports System.Collections
Imports System.Configuration
Imports System.Collections.Specialized
Imports System.Threading
Imports System.Data.SqlClient
Imports System.IO.Compression
Imports System.Text.RegularExpressions
Imports System.Data
Imports System.Net.Sockets
Imports InfoSoftGlobal



Public Class TwitterPortal
    Inherits System.Web.UI.Page


    Private Shared max As Integer = 0
    Private Shared currentRules As New ArrayList



    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim url As String = String.Empty
        Dim urlList1 As New ArrayList
        Dim urlList2 As New ArrayList
        Dim urlList3 As New ArrayList
        Dim urlList4 As New ArrayList
        Dim urlList5 As New ArrayList
        Dim urlList6 As New ArrayList

        urlList1.Add("https://.....rules.xml")
        urlList1.Add("https://....rules.xml")
        urlList1.Add("https://....rules.xml")

        urlList2.Add("https://......./rules.xml")
        urlList3.Add("https://......1/rules.xml")
        urlList4.Add("https://...../1/rules.xml")
        urlList5.Add("https://......./1/rules.xml")
        urlList6.Add("https://....s/1/rules.xml")

        For i As Integer = 0 To urlList1.Count() - 1
            getDefaultValues(urlList1.Item(i))
            Table1.Rows(i + 1).Cells(1).Text = max
        Next

        max = 0
        currentRules.Clear()

        For i As Integer = 0 To urlList2.Count() - 1
            getDefaultValues(urlList2.Item(i))
            Table2.Rows(i + 1).Cells(1).Text = max
        Next

        max = 0
        currentRules.Clear()

        For i As Integer = 0 To urlList3.Count() - 1
            getDefaultValues(urlList3.Item(i))
            Table3.Rows(i + 1).Cells(1).Text = max
        Next


    End Sub

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click



        Dim filepath As String = "C:\"
        Dim downloadFile As String = DropDownList2.SelectedItem.Value.ToString & ".txt"
        Dim response As System.Web.HttpResponse = System.Web.HttpContext.Current.Response
        response.ClearContent()
        response.Clear()
        response.ContentType = "text/plain"
        response.AddHeader("Content-Disposition", "attachment; filename=" + downloadFile + ";")
        response.TransmitFile(filepath)
        response.Flush()
        response.[End]()

        Dim outfile As New StreamWriter(downloadFile)
        For Each item In currentRules
            outfile.WriteLine(item)
        Next
        outfile.Flush()
        outfile.Close()

    End Sub

    Private Function getDefaultValues(ByVal url) As String

        Dim response As HttpWebResponse = Nothing
        Dim responseData As String = Nothing
        Dim username As String = ".....com"
        Dim password As String = ".....case"

        If url.contains(".....") Or url.contains(".......") Then
            username = "......"
        End If

        Try

            Dim request As HttpWebRequest = DirectCast(WebRequest.Create(url), HttpWebRequest)

            request.UserAgent = "....."
            request.Referer = "....."
            request.Accept = "text/javascript, text/html, application/xml, text/xml, */*"
            request.Headers.Set(HttpRequestHeader.AcceptLanguage, "en-us,en;q=0.5")
            request.Headers.Set(HttpRequestHeader.AcceptEncoding, "gzip,deflate")
            request.Headers.Set(HttpRequestHeader.AcceptCharset, "ISO-8859-1,utf-8;q=0.7,*;q=0.7")
            request.Headers.Add("Keep-Alive", "115")
            request.KeepAlive = True
            request.Headers.Add("X-Requested-With", "XMLHttpRequest")
            request.Headers.Add("X-Prototype-Version", "1.6.1")
            request.ContentType = "application/x-www-form-urlencoded; charset=UTF-8"
            request.Credentials = New System.Net.NetworkCredential(username, password)
            request.Method = "GET"

            response = DirectCast(request.GetResponse(), HttpWebResponse)
            Dim reader As New StreamReader(response.GetResponseStream())
            Dim tmp As String = reader.ReadToEnd()

            max = getCurrentRulesCount(tmp)


        Catch e As WebException
            If e.Status = WebExceptionStatus.ProtocolError Then
                response = DirectCast(e.Response, HttpWebResponse)
                'appLogs.constructLog(e.Message.ToString & " @ RequestRules @ " & DateTime.Now.ToString, True, True)
            Else
                'appLogs.constructLog(e.Message.ToString, True, True)
            End If
            response.Close()

        Catch e As Exception
            If response IsNot Nothing Then
                response.Close()
            End If
            'appLogs.constructLog(e.Message.ToString & " @ RequestRules @ " & DateTime.Now.ToString, True, True)
        End Try

        Return max

    End Function

    Private Function getCurrentRulesCount(ByVal data As String) As Integer
        Dim count As Integer = 0
        Dim xdoc As New XmlDocument
        Dim sample As String = String.Empty
        currentRules.Clear()

        Try

            xdoc.LoadXml(data)
            Dim entry As XmlNodeList = xdoc.GetElementsByTagName("value")
            For i As Integer = 0 To entry.Count - 1
                sample = entry(i).InnerText
                currentRules.Add(entry(i).InnerText.ToString)
            Next
            count = entry.Count()



        Catch ex As Exception
            ' appLogs.constructLog(ex.Message.ToString & " @ GetRuleCount @ " & DateTime.Now.ToString, True, True)
        End Try

        Return count

    End Function

    Public Function UploadChart()
        Dim sqldr As SqlDataReader
        Dim col1 As New DataColumn
        Dim dsTable As New DataTable
        Dim dsCounts As New DataSet
        Dim comm2 As New SqlCommand
        Dim conn2 As New SqlConnection
        Dim query As String = String.Empty
        Dim xmlData As New StringBuilder


        conn2.ConnectionString = "Data Source=......;Initial Catalog=....Feeds;Password=......;Persist Security Info=True;User ID=....."
        comm2.CommandType = CommandType.Text
        comm2.Connection = conn2
        conn2.Open()

        xmlData.Append("<graph yAxisName='Post Counts' caption='RealTime Post Counts' xAxisName='Time (15min interval)' useRoundEdges='1' showValues='0'>")

        query = "select top 100 convert(TIME,pollDate) as HourMin, boxCount from RealTimePostCounts where boxFeed='1a' and pollDate > getdate() - 1 and pollDate < getdate()"

        dsTable.Columns.Add(col1)

        Try



            comm2 = New SqlCommand(query, conn2)
            sqldr = comm2.ExecuteReader
            While sqldr.Read
                xmlData.Append("<set name='" & sqldr.Item(0).ToString & "' value='" & sqldr.Item(1).ToString() & "' />")
            End While

            sqldr.Close()
            conn2.Close()
            comm2.Dispose()

            xmlData.Append("</graph>")

            Literal1.Text = FusionCharts.RenderChart("/FusionCharts/FCF_Line.swf", "", xmlData.ToString(), "chart1", "500", "300", False, False)

        Catch ex As Exception

        End Try

        Return 0

    End Function

End Class




0

Other Replies To This Topic

#6 User is offline   jdepp 

  • Forum Newbie
  • Group: Members
  • Posts: 8
  • Joined: 08-February 12

Posted 01 March 2012 - 05:55 PM

Can anyone please help with this? I posted my code and still not sure how to show charts on client side. Someone suggested I use a handler file to send data to the chart but how do I do this if the basic xml method does not work.
0

Other Replies To This Topic

#7 User is offline   Sumedh 

  • Supreme Being
  • Group: Administrators
  • Posts: 668
  • Joined: 21-December 11
  • LocationBangalore

Posted 02 March 2012 - 05:31 AM

Hi,

It seems, you are using FusionCharts Free version

Could you please download FusionCharts XT v3.2.2 Trial version?

To download, please click here: http://www.fusioncha...ownload/trials/

For more information, please read more here: http://www.fusioncha...s-free/compare/

After downloading the latest version, please refer the following:

Please refer this link: http://docs.fusionch...t/VBNET_DB.html

You can refer the VB.NET sample in the download package.

Download package>>FusionCharts >>Code>>VB_NET

If this doesn't help, feel free to revert.
Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Thanks,
Sumedh

Follow us @Twitter!
0

Other Replies To This Topic

#8 User is offline   jdepp 

  • Forum Newbie
  • Group: Members
  • Posts: 8
  • Joined: 08-February 12

Posted 05 March 2012 - 03:44 PM

Thanks, will try that.

View PostSumedh, on 02 March 2012 - 05:31 AM, said:

Hi,

It seems, you are using FusionCharts Free version

Could you please download FusionCharts XT v3.2.2 Trial version?

To download, please click here: http://www.fusioncha...ownload/trials/

For more information, please read more here: http://www.fusioncha...s-free/compare/

After downloading the latest version, please refer the following:

Please refer this link: http://docs.fusionch...t/VBNET_DB.html

You can refer the VB.NET sample in the download package.

Download package>>FusionCharts >>Code>>VB_NET

If this doesn't help, feel free to revert.

0

Other Replies To This Topic

#9 User is offline   Sumedh 

  • Supreme Being
  • Group: Administrators
  • Posts: 668
  • Joined: 21-December 11
  • LocationBangalore

Posted 06 March 2012 - 09:40 AM

Posted Image
Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Thanks,
Sumedh

Follow us @Twitter!
0

Other Replies To This Topic

#10 User is offline   jdepp 

  • Forum Newbie
  • Group: Members
  • Posts: 8
  • Joined: 08-February 12

Posted 06 March 2012 - 06:42 PM

View PostSumedh, on 06 March 2012 - 09:40 AM, said:

Posted Image


I decided to implement using fetching the data from a database using dataurl and what works with strings now will not work with dataurl. I checked the trouble shooting and found that for the error: 'No Data to Display" and double checked there was data, that the right series was chosen etc.
Just trying to run the examples was an issue in that just getting fusioncharts.dll to be declared and literal.text not be recognized was an issue. I did intend to purchase a license but if it does not work on trial version either then might not be worth it.
0

Other Replies To This Topic

#11 User is offline   jdepp 

  • Forum Newbie
  • Group: Members
  • Posts: 8
  • Joined: 08-February 12

Posted 06 March 2012 - 08:51 PM

View Postjdepp, on 06 March 2012 - 06:42 PM, said:

I decided to implement using fetching the data from a database using dataurl and what works with strings now will not work with dataurl. I checked the trouble shooting and found that for the error: 'No Data to Display" and double checked there was data, that the right series was chosen etc.
Just trying to run the examples was an issue in that just getting fusioncharts.dll to be declared and literal.text not be recognized was an issue. I did intend to purchase a license but if it does not work on trial version either then might not be worth it.





Ignore previous reply. Finally got it to work and this using a dataurl. I assumed this would work for my original problem where the chart did not load once published and it refused to work again. This time, when I right-click on the graph, it shows 'movie not loaded'. Any ideas on this.
0

Other Replies To This Topic

#12 User is offline   jdepp 

  • Forum Newbie
  • Group: Members
  • Posts: 8
  • Joined: 08-February 12

Posted 06 March 2012 - 09:10 PM

View Postjdepp, on 06 March 2012 - 08:51 PM, said:

Ignore previous reply. Finally got it to work and this using a dataurl. I assumed this would work for my original problem where the chart did not load once published and it refused to work again. This time, when I right-click on the graph, it shows 'movie not loaded'. Any ideas on this.


Ok figured it out and at the end of the day it all had to do with the paths....

thanks
0

Other Replies To This Topic

#13 User is offline   Swarnam 

  • Forum Guru
  • Group: Moderators
  • Posts: 291
  • Joined: 25-January 11

Posted 07 March 2012 - 03:48 AM

:)
0

Other Replies To This Topic

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