Page 1 of 1

Wrapping MasterPage

Posted: Wed Aug 19, 2009 8:02 am
by medicalwebgeek
I have wrapped the following line of code on Scriptlet.master with my site menu, header and footer. Does anyone know if it might cause issues that I cannot see at this point? So far so good except in Firefox and I think that might be related to a z-index.

<cb:ScriptletZone ID="ContentZone" runat="server" HeaderText="Content" PartChromeType="None" Width="50%">
<ZoneTemplate>


<asp:contentplaceholder id="PageContent" runat="server">
</asp:contentplaceholder>

</ZoneTemplate>
</cb:ScriptletZone>

Re: Wrapping MasterPage

Posted: Thu Aug 20, 2009 5:00 am
by mazhar
Why are you doing so? If you need something in at header, then you can simply put it in header scriptlet.

Re: Wrapping MasterPage

Posted: Thu Aug 20, 2009 6:22 am
by medicalwebgeek
I am using a custom menu component to match the look and feel of my site (component from Telerik) as well as some graphical elements that will require server side controls.

Re: Wrapping MasterPage

Posted: Thu Aug 20, 2009 7:33 am
by mazhar
no need to modify master page. For this all you need is to build a user control and use your custom compoents in that user control. Finally put it in header scriptlet. like [[ConLib:Custom\YourCustomControlName]]
For example read following thread
viewtopic.php?f=47&t=8566