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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  MLS Module: generic question
Previous Previous
 
Next Next
New Post 8/27/2008 2:37 PM
Resolved
User is offline jeffk
20 posts
10th Ranked


MLS Module: generic question 

I am creating an MLS module to return listings for a realtor.  If anyone knows of such a control, please let me know!  I currently have a C#/.NET user control that does this but I wanted to create a DNN module.

In order to save data that this control needs (like agent ID, etc...), I am going to need to create a database table to save this information.

Does the control have a unique ID that I can save as the primary key to map this instance of the control to particular data?

Sorry for the beginner question...

 
New Post 8/27/2008 3:26 PM
Accepted Answer 
User is offline Brian Dukes
476 posts
www.engagesoftware.com
8th Ranked


Re: MLS Module: generic question 

If your control inherits from PortalModuleBase, you will have access to ModuleId and TabModuleId, both of which are a unique ID for the instance of your module, depending on exactly what you mean by unique.

You may have noticed that you can add existing modules onto other pages, add a module to all pages, or copy a reference of a module from a page when you create a new page.  All of these copies will have the same ModuleId (and therefore, technically reference the same information), but they will have different TabModuleId.

So, ModuleId usually refers to the content of the module, while TabModuleId refers to the settings (something customizable per instance without affecting the rest of the modules sharing its content).

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 8/27/2008 3:45 PM
User is offline jeffk
20 posts
10th Ranked


Re: MLS Module: generic question 

Perfect... thanks!

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  MLS Module: generic question
 


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.

 


Aricie
Aricie is one of the French pioneers and experts in DotNetNuke technology.
www.aricie.com
AFUEGO!
Looking for Free DNN Hosting?
www.AFUEGO.com
Code 5 Systems, LLC.
The DNN Missing Link: A Form Module. Form Master 1.6 is an intuitive Form Creation Module at a great price. Quality Custom Module development, and DNN consulting services.
www.code5systems.com

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