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.

Web Part Hardcoded title  (Mono Support )

Viewed 10076 time(s), 2 post(s) 18.09.2014 10:28:26by panos.pag
panos-pag

panos.pag

18.09.2014 10:28:26
Hello,

I have a webpart hardcoded in an .aspx page:

<div class="span4">
     <portal:PortalWebPartZoneTableless HeaderText="Right part zone" ID="rightPartZone" CssClass="table-of-contents" runat="server" Width="100%" Height="400px" ChromeTemplateFile="RightColumn.htm" ShowChromeForNonAdmins="true">
          <ZoneTemplate>
                         <MonoX:Editor ID="ctlEditor7" runat="server" Title="Contents"></MonoX:Editor>
          </ZoneTemplate>
     </portal:PortalWebPartZoneTableless>
</div>
I was wondering how could I add the wep part title harcoded. Now it shows as "Untitled" in the browser and I can only change it by adding the title in the Appearance field through the control panel.

Thank you, 
panos
Dieser Inhalt wurde noch nicht bewertet. 
390 Reputation 35 Total posts
imarusic

imarusic

18.09.2014 10:41:43
Hi,

you can set Title property in the markup page:

<div class="span4">
     <portal:PortalWebPartZoneTableless HeaderText="Right part zone" ID="rightPartZone" CssClass="table-of-contents" runat="server" Width="100%" Height="400px" ChromeTemplateFile="RightColumn.htm" ShowChromeForNonAdmins="true" Title='<%$ Code: DefaultResources.SomeTitle %>'>
          <ZoneTemplate>
                         <MonoX:Editor ID="ctlEditor7" runat="server" Title="Contents"></MonoX:Editor>
          </ZoneTemplate>
     </portal:PortalWebPartZoneTableless>
</div>
Regards.
Dieser Inhalt wurde noch nicht bewertet. 
3016 Reputation 428 Total posts