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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Ajax Collapsible PanelAjax Collapsible Panel
Previous
 
Next
New Post
8/24/2007 3:34 PM
 

I am having problems implementing the collapsiblePanel ajax control on a dotnetnuke module. Has anyone tryed using this control on dnn? I have tryed doing the same thing on a normal solution and it works fine, on dnn it doesn't. The panel can not be collapsed. it is always visible. I know dnn and ajax have some compatibility issues... is this also one of them? Any ideas?

Thanks for helping me out!

 
New Post
8/26/2007 11:47 PM
 

I worked with this a bit and found that the problem was actually that the default implementation is for DNN to be HTML 4.0 Transitional. If you are using the AJAX Toolkit, you have to have your skin be in XHTML 1.1 Transitional or greater. All you need to do here is add an xml file with the same name (but with the doctype.xml extension) as your skin to your skin folder with the following information:

 


 

<

SkinDocType><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">]]></SkinDocType>

 


As an example: if you have a skin named Default.ascx, you would create another file named Default.doctype.xml. I got the accordian control (based upon collapsible panel) working here: http://www.xhstore.com/PerfectMeal/tabid/432/Default.aspx 

Ryan Morgan
www.ArrowNuke.com

Looking to Buy, Rent or Lease Option in West Palm Beach, Florida  


Ryan Morgan www.ArrowNuke.com
 
New Post
8/28/2007 10:21 AM
 

thanks you. i have a custom skin and i have following files in  the custom skin folder.  hm.ascx, hm.htm,skin.css, skin.xml.

i tried to put 

<SkinDocType><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">]]></SkinDocType>

in existing files it didn't work. then i created hm.doctype.xml and put above code in it still didn't work created skin.doctype.xml still didnt work.

when i try to collapse the panel it collapses and then becomes visible again. it simple flashes back.

could you please provide some more help. thansk

 
New Post
9/21/2007 1:46 PM
 

I found solution long time ago for this. Problem was that i was setting CollapsedSize="0"  chenged this to  CollapsedSize="1" and now it works fine.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Ajax Collapsible PanelAjax Collapsible Panel


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