Mono Support How to change text in tabs in groups ? 

Viewed 41279 time(s), 6 post(s), 7/26/2013 4:26:25 PM - by super
7/26/2013 4:26:25 PM
6018 Reputation 709 Total posts

I am trying to change the text of tabs in groups.

I see this:

<li class="<%= InternalWorkingMode.Equals(SnGroupWorkingMode.DiscussionBoard) ? "current" : String.Empty %>">
                    <asp:HyperLink ID="lnkDiscussion" runat="server" CausesValidation="false">
                        <span id="labDiscussion" runat="server">Discussion board</span>
                    </asp:HyperLink>
                </li>


I change it to this:

<li class="<%= InternalWorkingMode.Equals(SnGroupWorkingMode.DiscussionBoard) ? "current" : String.Empty %>">
                    <asp:HyperLink ID="lnkDiscussion" runat="server" CausesValidation="false">
                        <span id="labDiscussion" runat="server">Q&A</span>
                    </asp:HyperLink>
                </li>



But still no change on site ? why ? I also rebuild still nothing ?

1
7/29/2013 8:01:41 AM
15993 Reputation 2214 Total posts

Hi,

you should change the labels from code, please put your captions using this code and you should put this code in any event after PageInit:

labWall.InnerText = Resources.SocialNetworkingResources.Groups_GroupView_LabelWall;
labPhotos.InnerText = Resources.SocialNetworkingResources.Groups_GroupView_LabelPhotos;
labDiscussion.InnerText = Resources.SocialNetworkingResources.Groups_GroupView_LabelDiscussion;
Text that you have changes was left by our design team while testing the screen styling.

Regards

2
7/29/2013 10:27:21 AM
6018 Reputation 709 Total posts

From where I can get the code behind page ?

3
7/29/2013 1:52:48 PM
2218 Reputation 300 Total posts

Hello Super,

You need to inherit the MonoX's module and in your module's codebehind set the resource value you want.

Regards,
Mario

4
7/29/2013 5:47:05 PM
6018 Reputation 709 Total posts

yes, that I understand but I don;t have GroupView.ascx.CS page in my solution ? where to get it from ?

I only have GroupView.ascx page.

5
7/30/2013 9:24:17 AM
2218 Reputation 300 Total posts

Hello,

In order to add a new web user control you can reference this MSDN article: http://msdn.microsoft.com/en-us/library/wt3k2fyw%28v=vs.80%29.aspx

Regards,
Mario

6
This is a demo site for MonoX. Please visit Mono Software for more info.