468,545 Members | 1,718 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,545 developers. It's quick & easy.

A question about strange code?

I have signed up to a dotnet hosting account and I have a dotnet app
called CommunityServer, which allows me to setup my own news
forums. The path of one of my forums (the third one) is

http://.../communityserver/forums/3/ShowForum.aspx

I have looked in my ftp space, and although I was able to find
ShowForum.aspx, I was not able to fing a subdirectory "/3" -
this is my first question, i.e. were is it.

The second question is, assuming I do find the correct ShowForum.aspx
file, I would like to add to it some code of my own, however, when I
looked at this file I couldn't understand one bit of code, and as far as
I understand asp/x this is a very strange file, it goes like this:

<%@ Page SmartNavigation="False" Language="C#" enableViewState = "false" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls"
Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CSD"
Namespace="CommunityServer.Discussions.Controls"
Assembly="CommunityServer.Discussions" %>
<%@ Import Namespace="CommunityServer.Discussions.Components" %>
<%@ Import Namespace="CommunityServer.Components" %>

<CS:MPContainer runat="server" id="MPContainer" ThemeMasterFile =
"ForumMaster.ascx" >
<CS:MPContent id="bcr" runat="server">
<CSD:ThreadView runat="server" id="Threadview1" />
</CS:MPContent>
<CS:MPContent id="rcr" runat="server" >
<div class="CommonSidebar">
<div class="CommonSidebarArea">
<h4 class="CommonSidebarHeader"><CS:ResourceLabel runat="server"
ResourceName="Shortcuts" id="Resourcelabel7"/></h4>
<div class="CommonSidebarContent">
<CSD:ForumLinkBar runat="Server" ID="Forumlinkbar1"/>
</div>
</div>
<div class="CommonSidebarArea">
<h4 class="CommonSidebarHeader">
<cs:ResourceControl ResourceName="PopularTags" runat="server" />
</h4>
<div class="CommonSidebarContent">
<CS:TagCloud
TagCloudCssClasses="CommonTag6,CommonTag5,CommonTa g4,CommonTag3,CommonTag2,C
ommonTag1" runat="server" id="TagCloud" MaximumNumberOfTags="25"
ShowTagCounts="false" IgnoreFilterTags="true"
CssClass="CommonSidebarTagCloud" />
</div>
<div class="CommonSidebarFooter">
<a href="<%=SiteUrls.Instance().TagsHome %>"><cs:ResourceControl
ResourceName="ViewAllTags" runat="server" ID="Resourcecontrol2"
NAME="Resourcecontrol2"/></a>
</div>
</div>
</div>
</CS:MPContent>
</CS:MPContainer>

Does anyone know what all these xml means, and how can I add, for
example, a bit of code that just prints "hello world" to the screen.
I know this is c#, but I think if I have the vb answer I would be able
to convert to c#.

Tia.
Aug 23 '07 #1
1 1776
Witthi,

This is a dotnet vb language code newsgroup.
What you show us is the XML code around an ASPX webpage.

Probably you get more and maybe better answers in the newsgroup.

microsoft.public.dotnet.framework.aspnet

success

Cor
<Witthischreef in bericht news:%2****************@TK2MSFTNGP02.phx.gbl...
>I have signed up to a dotnet hosting account and I have a dotnet app
called CommunityServer, which allows me to setup my own news
forums. The path of one of my forums (the third one) is

http://.../communityserver/forums/3/ShowForum.aspx

I have looked in my ftp space, and although I was able to find
ShowForum.aspx, I was not able to fing a subdirectory "/3" -
this is my first question, i.e. were is it.

The second question is, assuming I do find the correct ShowForum.aspx
file, I would like to add to it some code of my own, however, when I
looked at this file I couldn't understand one bit of code, and as far as
I understand asp/x this is a very strange file, it goes like this:

<%@ Page SmartNavigation="False" Language="C#" enableViewState = "false"
%>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls"
Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CSD"
Namespace="CommunityServer.Discussions.Controls"
Assembly="CommunityServer.Discussions" %>
<%@ Import Namespace="CommunityServer.Discussions.Components" %>
<%@ Import Namespace="CommunityServer.Components" %>

<CS:MPContainer runat="server" id="MPContainer" ThemeMasterFile =
"ForumMaster.ascx" >
<CS:MPContent id="bcr" runat="server">
<CSD:ThreadView runat="server" id="Threadview1" />
</CS:MPContent>
<CS:MPContent id="rcr" runat="server" >
<div class="CommonSidebar">
<div class="CommonSidebarArea">
<h4 class="CommonSidebarHeader"><CS:ResourceLabel runat="server"
ResourceName="Shortcuts" id="Resourcelabel7"/></h4>
<div class="CommonSidebarContent">
<CSD:ForumLinkBar runat="Server" ID="Forumlinkbar1"/>
</div>
</div>
<div class="CommonSidebarArea">
<h4 class="CommonSidebarHeader">
<cs:ResourceControl ResourceName="PopularTags" runat="server" />
</h4>
<div class="CommonSidebarContent">
<CS:TagCloud
TagCloudCssClasses="CommonTag6,CommonTag5,CommonTa g4,CommonTag3,CommonTag2,C
ommonTag1" runat="server" id="TagCloud" MaximumNumberOfTags="25"
ShowTagCounts="false" IgnoreFilterTags="true"
CssClass="CommonSidebarTagCloud" />
</div>
<div class="CommonSidebarFooter">
<a href="<%=SiteUrls.Instance().TagsHome %>"><cs:ResourceControl
ResourceName="ViewAllTags" runat="server" ID="Resourcecontrol2"
NAME="Resourcecontrol2"/></a>
</div>
</div>
</div>
</CS:MPContent>
</CS:MPContainer>

Does anyone know what all these xml means, and how can I add, for
example, a bit of code that just prints "hello world" to the screen.
I know this is c#, but I think if I have the vb answer I would be able
to convert to c#.

Tia.

Aug 23 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

25 posts views Thread by Neil Ginsberg | last post: by
16 posts views Thread by Ronny Mandal | last post: by
3 posts views Thread by Ross Holder | last post: by
36 posts views Thread by utab | last post: by
4 posts views Thread by Kürşat | last post: by
90 posts views Thread by John Salerno | last post: by
20 posts views Thread by liujiaping | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by UniDue | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.