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  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Existing Module - Add new definition to it, then the page?
Previous Previous
 
Next Next
New Post 3/7/2008 1:01 PM
Unresolved
User is offline Bradley Molzen
58 posts
www.vinocellar.com
10th Ranked


Existing Module - Add new definition to it, then the page? 

I have an existing module with one definition.   I've added a new definition to the module, which brings up it's own .ascx control file. 

How can I get this new definition to show up on my page without deleting the entire existing module from the page, and re-adding it?

 
New Post 3/7/2008 2:27 PM
User is offline William Severance
690 posts
www.wesnetdesigns.com
7th Ranked






Re: Existing Module - Add new definition to it, then the page? 

Sorry, I believe that's the only way as the new definition will require that a new module with its own ModuleId be added to the Modules table, etc. and a new TabModuleId be created for the particular tab -- too dangerous to try with direct access to the database tables. If you can't delete the existing module to the page due to loss of data, it might work to add the upgraded module to the page along with the existing module and delete the new, unneeded module instance from the page. The success of this would depend on how interrelated the two definitions are.


Bill, WESNet Designs
 
New Post 3/7/2008 7:04 PM
User is offline Bradley Molzen
58 posts
www.vinocellar.com
10th Ranked


Re: Existing Module - Add new definition to it, then the page? 

Interesting...   I know deleting and re-adding will get both definitions on the page... so perhaps I'll just do that, then do a quick sql script to update the rows to the new moduleid.     This is easy enough of course, but I thought I was just missing something simple.   Not a big deal overall, but could be a nice little enhancement to recognize new definitions for existing pages/moduleids.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Existing Module - Add new definition to it, then the page?
 


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.

 


ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com
Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl
FREE Skins, Modules & Control Panel!
Choose how much you want to pay on our Skins, Modules, Containers and Control Panel - Starting from FREE!
www.dnngroup.com

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