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 9060 time(s), 2 post(s) 9/18/2014 10:28:26 AMby panos.pag
panos-pag

panos.pag

9/18/2014 10:28:26 AM
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
This content has not been rated yet. 
390 Reputation 35 Total posts
imarusic

imarusic

9/18/2014 10:41:43 AM
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.
This content has not been rated yet. 
3016 Reputation 428 Total posts