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  |  

Affordable ASP.NET Hosting Service
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  DNN Tree inside a updatepanel
Previous Previous
 
Next Next
New Post 4/25/2007 6:01 AM
User is offline Dylan Barber
651 posts
7th Ranked


DNN Tree inside a updatepanel 

Building a module that has a DNN tree control inside an update panel (and maybe there is a better way to do this?)

Whenever I click a node to do a post back the tree disappears - any thoughts on why ?

 
New Post 4/25/2007 6:20 AM
User is offline Michael Washington
2842 posts
ADefWebserver.com
5th Ranked










Re: DNN Tree inside a updatepanel 

Try placing the tree in this:

http://www.denisbauer.com/ASPNETControls/DynamicControlsPlaceholder.aspx



Michael Washington
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
New Post 4/25/2007 7:20 AM
User is offline Dylan Barber
651 posts
7th Ranked


Re: DNN Tree inside a updatepanel 

Michael - so its not being saved in the v13wstat3 or something ?  I have used that control in the past but it always seemed like a kind of heavy workaround

 
New Post 4/25/2007 7:28 AM
User is offline Dylan Barber
651 posts
7th Ranked


Re: DNN Tree inside a updatepanel 

Well that doesnt work - I click a node and I get the fun error message of

Multiple controls with the same ID 'DNNTree1' were found. FindControl requires that controls have unique IDs.

Now I know that this usually means the control is being written twice and i should check for postback etc etc but the only time the tree is 'created' is on the first page load.

 

Any other ideas?

 
New Post 4/25/2007 9:07 AM
User is offline Michael Washington
2842 posts
ADefWebserver.com
5th Ranked










Re: DNN Tree inside a updatepanel 

Perhaps turn v13wstat3 for the control off and only have v13wstat3 on for the dynamic placeholder? Or call the controls.clear() method on the dynamic placeholder before you add the tree control.

Other than that I'm stumped because I haven't used the tree control that much.



Michael Washington
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  DNN Tree inside a updatepanel
 


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.

 


DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery
Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

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