• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

ajaxControlToolkit

I have a asp.net webpage with a ajaxControlEXtender working on my local PC.

I upload the webapge to my host and it doesnt work as it cant find the ajaxtoolkit. I uploaded the ajaxcontroltoolkit.dll and associated files to a bin directory and nothing happens. I cant get the ajaxControlEXtender working. D I need to also upload the ajaxtoolkitExtender folder?
0
jagguy
Asked:
jagguy
1 Solution
 
abelCommented:
Your best bet is usually to public the web site to a local directory. The compiler/publisher will take care of all the dependencies and will put them in the Bin folder. Now all you must do is make sure the .NET 3.5 is installed on the target machine and you can copy all the files from the local publish directory to the server virtual directory.

You find the publish option under Build > Publish web site.
0
 
jagguyAuthor Commented:
i have VWD 2008 express and i dont see any Build > Publish web site.?

how do i make sure .net3.5 is installed  so VWD is using it?
0
 
amar31282Commented:
do you have online link where you uploaded the website.

Please provide that
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
abelCommented:
I don't have the expr ed., but from the home page, I get this, quote:

Easily Publish and ShareUse the built-in Copy Web Site tools to publish both ASP.NET                                 pages and SQL Server databases to any hoster that supports FTP or FrontPage Server                                 Extensions
                       

> how do i make sure .net3.5 is installed  so VWD is using it?

To make sure that the target server has .NET 3.5 installed, go to the server and check the version using this article: http://msdn.microsoft.com/en-us/kb/kb00318785.aspx
0
 
burakiewiczCommented:
alos if you added a reference to ajaxcontrol toolkit make sure you have copy local set to true
0
 
abelCommented:
apologies, now see that EE totally messed up the content. On this site: http://www.microsoft.com/express/vwd/ it said: "Use the built-in Copy Web Site tools to publish both ASP.NET pages and SQL Server databases to any hoster that supports FTP or FrontPage Server Extensions"
0
 
jagguyAuthor Commented:
I have the webpage and DB loaded from copy website here
http://208.81.130.41/$sitepreview/jagguydummy.com/master6/login.aspx

Ajaxtoolkit extn are not working.
The ISP host told me" It does not appear that the ajax tool kit assemblies are defined properly within the web.config.  Once the assemblies are defined, the ajax tool kit should function properly.  Please let us know if you have any further questions or concerns."

I added ajaxtoolkit.dll to a bin folder and what else do i do?

0
 
abelCommented:
that page is actually working. The links to other pages aren't, but they aren't uploaded. What is the problem with that page?
0
 
jagguyAuthor Commented:
ok type this below to get to the home page and the black labels should extend when you click  on them.
The ajax extenders dont work.

http://208.81.130.41/$sitepreview/jagguydummy.com/master6/login.aspx

login a
pswd a
0
 
abelCommented:
I might be totally off here, but if the extenders do not work, and if you suspect it is because of a missing reference, your page should not compile. And I do not see any compile error. What does the log and the event viewer give you? And what is the exact syntax of the controlextender that you are using? Is this behavior true only for the extenders, or for any ajax control?
0
 
jagguyAuthor Commented:
if you tried my website and tried to login you will notice a webpage with 6 black labels. These are extendors and they dont extend. There is no syntax error as they dont work on this website but they work fine on my machine.
The ajxtoolkit is in a folder outside the main project on my PC


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
   
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
        <br />
        News
        <br />  <br />
        Select  a year level to find latest news
        <br />
        <br />
        <table class="mytable">
            <tr>
                <td>
                      <div >
        <cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server"
                TargetControlID="Panel2" 
        ExpandControlID ="Panel1" 
         CollapseControlID ="Panel1"
          Collapsed ="true" 
        AutoCollapse="false"
         TextLabelID="Lable1"
          ExpandedText ="(Hide Details....)"
         CollapsedText ="(show details)"
           SuppressPostBack ="true"
             AutoExpand="false"
        >
             
       
        </cc1:CollapsiblePanelExtender>
         <asp:Panel ID="Panel1" runat="server" CssClass ="collapsePanelHeader" Width="322px">
       Yr7 News ....(click)
    </asp:Panel>
    <asp:Panel ID="Panel2" runat="server"  CssClass ="collapsePanel" Width="331px">
        <asp:Label ID="Label1" runat="server" Text="Label">  </asp:Label>
        <asp:HyperLink ID="HyperLink1" runat="server">HyperLink</asp:HyperLink>
        
        
    </asp:Panel>

Open in new window

0
 
abelCommented:
The real error we should be investigating is "Sys is not defined". The Sys JS object is the root for just about anything that deals with Ajax. There are many references on the internet that explain some things of what might have broken your Ajax.

Some of them point into compatibility issues, or that the website is running in backwards compatibility mode: http://www.nablasoft.com/alkampfer/?p=235

Others are pointing to script references not being resolved correctly and give a code-based workaround: http://blog.pantos.name/archive/2007/06/08/264.aspx

And yet others... well, try these first. Then do a comparison of your local system and the remote one and dig up just about every version information you can think of.

-- Abel --
0
 
jagguyAuthor Commented:
first of all what version of ajaxcontrolkit am i using?

this does work on my computer and I am advised by  the ISP about assemblies so what about them?
0
 
jagguyAuthor Commented:

httpI have added this to the web.config file as explained

 <add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit"
assembly="AjaxControlToolkit"/>

i have ajaxtoolkit.dll in bin/

http://208.81.130.41/$sitepreview/jagguydummy.com/master6/home.aspx

login a
pswd a

still doesnt work
0
 
jagguyAuthor Commented:
works now
<customErrors mode="Off" />
        <add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit"
assembly="AjaxControlToolkit"/>          'i knew about this line
0
 
abelCommented:
I thought you said it was working locally? How come you need that line remotely, but not locally?
0
 
jagguyAuthor Commented:
i have no idea how it eworks
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now