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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Adding custom .aspx web forms to DNN siteAdding custom .aspx web forms to DNN site
Previous
 
Next
New Post
8/12/2009 2:16 PM
 

Hi All,

I'm very new to DNN development and I wonder how can I add some custom .aspx web forms to a DNN web site? Is it necessary to "enclose" my custom webforms into "DNN modules envelopes" ?

I have good working experience in developing multi-layered .aspx applications etc. - so I just need a kind of RTFM (sorry) answer on my above question - I cannot get a direct link on custom web pages development subject within DNN web sites.

FYI: I'm using latest DNN release 5.x

Thank you.

--Shamil

 

 
New Post
8/13/2009 9:45 AM
 

Shamil,

While it isn't 100% necessary to enclose your forms/logic in a module it is typically a best practice for various reasons.  Modules can utilize the rest of the framework to its fullest and with the least amount of additional programming.  Certainly you can still implement everything from the framework manually (security, etc) in a custom webform, but by inheriting your usercontrols from the base module classes such as PortalModuleBase you gain all that functionality immediately.

Now that being said I have had plenty of reasons to use custom ASPX and/or ASHX files within my modules to gain certain functionality.  I still package them up with the rest of the module and the way to access the page is to use the full path to the module ([portalroot]/DesktopModules/ModuleName/Myform.aspx).  The difference with a straight module is that you'll access it based on the page it actually resides on so none of that "DesktopModules/ModuleName" stuff in the URL.

For general module development tutorials and getting started I highly recommend reading Michael Washington's tutorials.  That is how I got started on DNN development as well as a huge portion of the community out there.  You might also consider picking up Mitchel Seller's book on DNN development.

Good luck!


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
8/13/2009 10:19 AM
 

Hi Shamil,

Just as an alternative, if you only have one application or so to do, you might want to look at this.

http://www.snowcovered.com/Snowcovered2/Default.aspx?tabid=242&PackageID=2804

Bill

 

 
New Post
8/21/2009 5:42 AM
 

Thank you, Jon.

 
New Post
8/21/2009 5:50 AM
 

Hi Bill,

Thank you for your link on alternative solution: I have browsed at it and it looks like it doesn't have DNN 5.x compatible module?

Anyway I plan to take a "heavier route" advised by Jon to have as full as possible control on my custom development within DNN-based solutions.

Sorry Jon and Bill for a week delay with my reply here to your posts - I'm only entering DNN development and I have do to my main development for money in other areas, and the last week and the beginning of this week were rather heavy duty development  - not so much time yet to learn/"play with" DNN....

Thank you.

-- Shamil

 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Adding custom .aspx web forms to DNN siteAdding custom .aspx web forms to DNN site


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