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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPITreeView does not work in xhtmlConformance mode="Transitional"TreeView does not work in xhtmlConformance mode="Transitional"
Previous
 
Next
New Post
5/6/2006 6:54 PM
 

When I set DNN to run in xhtmlConformance mode="Transitional" the TreeView is throwing a JavaScript error.

Jon are you aware of this and can can you supply a fix?

 

 
New Post
5/8/2006 4:36 PM
 

This one's interesting...  the DNNTree seems to have inherited a strange way of assigning a client-side ID, for it uses UniqueID and substitutes out the : with a _.  I have no idea why it does this instead of simply using ClientID...  It now is a problem cause instead of using :, xhtmlConformance uses a $.  So, we have two options. 

1) continue the madness (IMO) and add another replace for the $ to use a _.

2) simply use ClientID.

I chose to use ClientID for the next release.  Unfortunately, I cannot post this until the next DNN release due to the need of the controls to use the latest WebUtility.  If you want to get the webcontrol source and make the change yourself simply change the following line in the DNNTreeUpLevelWriter.vb file

writer.AddAttribute(HtmlTextWriterAttribute.Id, _tree.UniqueID.Replace(":", "_"))

with this

writer.AddAttribute(HtmlTextWriterAttribute.Id, _tree.ClientID)

Also change the similar line in the DNNTreeWriter.vb file.

I'm glad you pointed this out!

Jon


 
New Post
5/8/2006 5:27 PM
 

Once again thanks for the information.

I had already made that change to the DNNTreeUpLevelWriter.vb file; you have confirmed my solution was inline with any future core updates.

There are still a few strange problems when switching to "Transitional" and using ATLAS.

1.) The postback does not work on the File Manager when clicking on any of the TreeView Nodes.  I've tried using a the ClientAPI with a RegisterPostBackEventHandler within an ATLAS Update panel and it all works just fine, so it has to be something related to the File Manager itself. 

2.) The WebUpload page causes and error when you add a file. I know it is not really your area of the core but maybe you can suggest a solution.

3.) In reality there really is no need to implement the update panel on certain admin pages as per your post regarding the subject.  The problem is that assigning an ATLAS enabled container via the “Site Settings” makes your selection universal across all admin pages.  I even tried to altering the File Manager container via the DB and it appears that gets overridden by the “Site Settings” selection.  My only option is to solve the issue covered in point 1 and 2, any suggestions.  

James

 

 

 
New Post
5/8/2006 5:56 PM
 

The idea I had was to have SiteSettings enable only the pages that easily worked with an updatepanel.  So in this case it would exclude the File Manager.  My proposal was to not use the skinning architecture.  Like I mentioned in the blog, I have not had time to test everything and assumend there would be issues...

I have a lot of other things on my plate at the moment, so I am not sure when I will be able to re-visit the partialrendering stuff.  I appreciate your feedback and will post any findings I have when I get a chance to investigate.


 
New Post
5/8/2006 6:17 PM
 

Thanks again.

I agree with you about the admin pages, at least update panel works within my custom modules and all admin pages (without ATLAS) now we have a fix for switching DNN into "Transitional" mode.

James

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPITreeView does not work in xhtmlConformance mode="Transitional"TreeView does not work in xhtmlConformance mode="Transitional"


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