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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumProblem in understanding of code of default dnn forum Problem in understanding of code of default dnn forum
Previous
 
Next
New Post
9/8/2010 10:57 AM
 
hello experts
I downloaded the source code of dnn default forum.i see that Forum_Container.ascx is added as a view type control.i opened -
Forum_Container.ascx and found the codes below -
-----
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Modules.Forum" Assembly="DotNetNuke.Modules.Forum" %>
<%@ Control language="vb" Inherits="DotNetNuke.Modules.Forum.Container" CodeBehind="Forum_Container.ascx.vb" AutoEventWireup="false" %>
<link href="<%= ForumConfig.Css() %>" type="text/css" rel="stylesheet" />
    <table id="tblMain" width="100%" cellpadding="0" cellspacing="0" border="0">        
        <tr>
            <td align="center">
                <dnn:DNNFORUM id="DNNForum" Runat="server"></dnn:DNNFORUM>
            </td>
        </tr>
    </table>
------
my question is - the tag - <dnn:DNNFORUM id="DNNForum" Runat="server"></dnn:DNNFORUM> loads which control
which is the home page of the forum with forum lists and top menu?.i did not find the home page control.where from it
come ? please help...
 
New Post
9/13/2010 5:50 PM
 
That is a server control that renders many of the User Interfaces displayed in the module. This works in conjunction with the Posts/Threads/ModuleSearch vb files. In the Forum_Container.ascx.vb code, you can see it sets a variable Scope (maybe ForumScope) that determines which vb code to render (Posts/Threads/ModuleSearch/Groups etc.). 

Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumProblem in understanding of code of default dnn forum Problem in understanding of code of default dnn forum


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