Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedAccordian Control Not WorkingAccordian Control Not Working
Previous
 
Next
New Post
11/15/2010 8:43 PM
 
Hello,

I've created a very simple module to try to see if I can get AJAX to work. The module will install in DNN (5.5.1), but the accordian "function" does not work, i.e. I see the accordian but nothing happens when I click on it. I did select the Supports Partial Rendering option in the module definition. Not sure what else needs to be done.

<%@ Control language="vb" Inherits="Inicte.Modules.Dyno_Garage.ViewDyno_Garage" AutoEventWireup="false" Explicit="True" Codebehind="ViewDyno_Garage.ascx.vb" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>


<ajax:Accordion ID="Accordion1" runat="server" SelectedIndex="0" HeaderCssClass="DynoAccordHeader" HeaderSelectedCssClass="DynoAccordHeaderSelected" ContentCssClass="DynoAccordContent" FadeTransitions="False">
    <Panes>
        <ajax:AccordionPane runat="server">
            <Header><a href="" onclick="return false;" class="DynoAccordLink">Section 0</a></Header>
            <Content>
                <asp:Label ID="lblName" runat="server" Text="Label" CssClass="ceLabel" />
                <br />
                <asp:Label ID="lblDesc" runat="server" Text="Label" CssClass="ceLabel" />
                <br />
                <br />
                <asp:Label ID="lblResponse" runat="server" CssClass="ceResponse"/>
                <br />
                <asp:Image ID="imgAjax" runat="server" ImageUrl="ajaxanim.gif" CssClass="ceHidden" />
                <br />
            </Content>
        </ajax:AccordionPane>
        <ajax:AccordionPane ID="AccordionPane1" runat="server">
            <Header><a href="" onclick="return false;" class="DynoAccordLink">Section 2</a></Header>
            <Content>Section 2</Content>
        </ajax:AccordionPane>
        <ajax:AccordionPane ID="AccordionPane2" runat="server">
            <Header><a href="" onclick="return false;" class="DynoAccordLink">Section 3</a></Header>
            <Content>Section 3</Content>
        </ajax:AccordionPane>
    </Panes>
</ajax:Accordion>

 
New Post
11/16/2010 8:05 PM
 
Any JS errors in Firebug when you click on a pane?

Mandeep Singh
CEO - Mandeeps.com | Developing DotNetNuke Modules Since 2004
DNN Monitor | DotNetNuke Keep Alive Service
 
New Post
11/16/2010 10:22 PM
 
Mandeep,

Thank you for your reply. Yes,  I am getting js errors....now that I check with Firebug: The following error is being thrown from: 



 
New Post
11/16/2010 11:08 PM
 
SOLVED: After then digging around on that first error, I found suggestions that the issue is with AJAXControlToolkit.dll version 3.5.4012. You need to remove the Reference to that version and use version 3.5.30930 found here: http://ajaxcontroltoolkit.codeplex.com/releases/view/33804
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedAccordian Control Not WorkingAccordian Control Not Working


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out