MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

How to change text in tabs in groups ?  (Mono Support )

42617 put(a) pogledan, 6 odgovor(a) 26.7.2013. 16:26:25Kreirao(la) super

Povezane teme

super

super

26.7.2013. 16:26:25
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 ?
Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
khorvat

khorvat

29.7.2013. 8:01:41
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
super

super

29.7.2013. 10:27:21
From where I can get the code behind page ?
Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
mzilic

mzilic

29.7.2013. 13:52:48
Hello Super,

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

Regards,
Mario
Ovaj sadržaj još nije ocijenjen. 
2218 Reputacija 300 Ukupno objava
super

super

29.7.2013. 17:47:05
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.
Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
mzilic

mzilic

30.7.2013. 9:24:17
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
Ovaj sadržaj još nije ocijenjen. 
2218 Reputacija 300 Ukupno objava