This is a migrated thread and some comments may be shown as answers.

Skin registration in WebForm contentplaceholder

0 Answers 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Darryl
Top achievements
Rank 1
Darryl asked on 26 Jan 2009, 04:49 PM
Hi

I have a webform that uses masterpage. I want to register my custom skin for use in the webform. I have a contentplaceholder in my masterpage within the html head. In my webform, i place my skin registration (link) in the content for the contentplaceholder. The skin doesnt seem to get loaded. If I put the skin reg directly in the masterpage html head, the skin is loaded properly. Is this a limitation or am I doing something wrong?

Thanks in advance

--- DOESNT LOAD
--- master page 

<

 

html xmlns="http://www.w3.org/1999/xhtml" >

 

<

 

head id="pageHead" runat="server">

 

 

 

<asp:ContentPlaceHolder ID="head" runat="server">

 

 

</asp:ContentPlaceHolder>

 

</

 

head>

 

--- end master page
--- web form

<

 

asp:Content ID="ContentHeader" ContentPlaceHolderID="head" runat="server">

 

 

<link id="cssTabStrip" runat="server" href="~/Skins/MySkin/TabStrip.MySkin.css" rel="stylesheet" type="text/css" />

 

 

 

</

 

asp:Content>
--- end web form
--- END DOESNT LOAD

--- LOADS PROPERLY
--- master page 
<html xmlns="http://www.w3.org/1999/xhtml" >

 

<

 

head id="pageHead" runat="server">

 

 

 

<link id="cssTabStrip" runat="server" href="~/Skins/MySkin/TabStrip.MySkin.css" rel="stylesheet" type="text/css" />

 

 

 

 

<

 

asp:ContentPlaceHolder ID="head" runat="server">

 

 

 

 

</asp:ContentPlaceHolder>

 

</

 

head>

 

 

 

--- end master page
--- web form
<asp:Content ID="ContentHeader" ContentPlaceHolderID="head" runat="server">
</
asp:Content>
--- end web form
--- END LOADS PROPERLY

 

 

 

 

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Darryl
Top achievements
Rank 1
Share this question
or