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.0a bug? treeview and settings controla bug? treeview and settings control
Previous
 
Next
New Post
10/25/2007 12:19 AM
 

i had find a bug in dnn453.
i dont know it either or not in latter vision.
you can do the steps list after to show it.
1.create a new module by use startkit in vs2005.
2.edit settings.ascx in module dir.
3.add a .net 2.0 treeview control (NOT dnnTree)to the settings.ascx and do nothing else
4.save all now
after those steps you can press f5 to run it,and when you logon and vist the settings control of your new module ,explor will report a error of javascript . then look the sorce of client , you will find the code like this:

var dnn_ctr371_ModuleSettings_Settings.ascx_TreeView1_ImageArray =  new Array('', '', '', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVcsRZzMbM7pDizlkJLuUJWo1&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVRrcglzc0Uq-qWORaHWGCTc1&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVWcM0t7zGH3vBUPBVfLKNJo1&t=633007829053593750');

plz notice the var name is dnn_ctr371_ModuleSettings_Settings.ascx_TreeView1_ImageArray
i think this is the reason of the problem.
if you add a treeview control to a normal control that inheart from Entities.Modules.PortalModuleBase ,than there are no problem happened.
view the source file of client ,you will find the code like this:

var dnn_ctr370_Test_twCategories_ImageArray =  new Array('', '', '', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVcsRZzMbM7pDizlkJLuUJWo1&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVRrcglzc0Uq-qWORaHWGCTc1&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVWcM0t7zGH3vBUPBVfLKNJo1&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVU3zE5Y4r6MNY7XdpbqQbLE1&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVXYwMkuYwmipi68gWDQN08A1&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVfgt49QAB1kniLXatVEGjLM1&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVYDBuO5LGHapsjZhlgNykdUGDcduoyS8AQ2&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVbAEQafMrRq-lRb27c6ZSqQ1&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVYrxtzKqd9panXlJIhg8vpk1&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVZ6lazBGKUzE8RwM27ZuS7KqO-cAun3Etw2&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVRuYBf0e8g4c3b8fdJ_ZIwU1&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVS4KGAlf5OK6NOYkn7AShzo1&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVXQ1W_GhWwbtbRtot0x64eL3K21Xza1hUQ2&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVbq60Rc-k3E-zFrtLGLmwIQ1&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVZddSIjm07Gum_imBkJ00w9oZjQBW96K6w2&t=633007829053593750', '/DotNetNukeTest1/WebResource.axd?d=cqC9eIJcH455YfMH1gSrVUIqCZ4tQYDGeByA2-vU5qldeaiRJ4btrg2&t=633007829053593750');

i think the class of settings control inheart , Entities.Modules.ModuleSettingsBase has some bug that can't convert dnn control's name like test.ascx to test_ascx.

 
New Post
10/25/2007 6:14 AM
 

i just want to manage a category list like a tree, who can tell me how to do it?

it is no problem that use dnntree in settings Control, but i dont how to control the dnntree. and who can tell me how to do it with dnntree?

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0a bug? treeview and settings controla bug? treeview and settings control


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