Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  AJAX Collapsible Panel Extender?
Previous Previous
 
Next Next
New Post 5/23/2008 4:33 PM
Resolved
User is offline Paul Hermans
31 posts
www.benemtech.com
10th Ranked


AJAX Collapsible Panel Extender? 

Hi all,

I'm using v4.8.2 of DNN, developing a module. Within that module I want to put a collapsible panel, and of course I'm struggling.

I have placed the following in the control

 

ajx:CollapsiblePanelExtender id="cpnlAddPayment" runat="Server"TargetControlID="pnlAddPayment" CollapsedText="Click to Expand" ExpandedText="Click to Collapse" TextLabelID="lblAction" CollapseControlID="pnlHeader" ExpandControlID="pnlHeader" Collapsed="true" CollapsedSize="0" ></ajx:CollapsiblePanelExtender>

 

<asp:Panel ID="pnlHeader" runat="Server" CssClass="Grid-Header" >

 

<asp:Label ID="lblAction" runat="server"></asp:Label>

 

</asp:Panel>

 

<asp:Panel ID="pnlAddPayment" runat="server" backcolor="red">

This is the content we will collapse!

</asp:panel>

 

Then in the Page_Load event handler I put:

Register AJAX components if available

 

If DotNetNuke.Framework.AJAX.IsInstalled Then

 

 

but when I click on the "header" panel, it collapses and then immediately expands again. I can't get it to collapse and stay that way.

I'm sure I'm doing something wrong, but am pretty new to AJAX so any guidance would be appreciated.

Thanks

 

Paul H.

'Register the script manager

 

 

 

 

 

 

 

 

<

 
New Post 5/24/2008 6:51 AM
Accepted Answer 
User is offline Paul Hermans
31 posts
www.benemtech.com
10th Ranked


Re: AJAX Collapsible Panel Extender? 

Hi everyone,

Found my own answer and thought I'd post to help others.

I found a solution in another post on DNN....just not one found by the miserable search function in the formums.

For some reason, when I set CollapsedSize="1" instead of CollapsedSize="0" it works fine.

If anyone could explain why I'd love to understand this:-) Paul H.
 
New Post 6/12/2008 1:51 AM
User is offline nick chance
15 posts
10th Ranked


Re: AJAX Collapsible Panel Extender? 

Many thanks for that Paul - I had exactly the same issue and you've probably saved me hours. Again many thanks for sharing the solution.

Nick Chance -

 

 

 
New Post 7/31/2008 12:23 PM
User is offline stasszek
1 posts
10th Ranked


Re: AJAX Collapsible Panel Extender? 

I had the same problem occuring only in IE, your solution helped me saving few hours. Thakns.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  AJAX Collapsible Panel Extender?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Alliance Systems & Programming Inc
Alliance is not just our name... it's how we do business. We partner with our clients, learning their business processes and standards and then applying our expertise to help them improve their workflow and profitability.
www.Alliancesys.com
Customer Connect
Customer Connect provides cutting edge solutions that deliver sales, marketing and customer service results.
www.customer-connect.com
TechNexxus
Business process and technology sourcing solutions delivering superior people, process and value. We have used, and continue to use, DNN successfully in numerous client projects to deliver exceptional value. We are proud to support the DNN team and community.
www.technexxus.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP