tags:

views:

13

answers:

0

hi, i have a custom template control which i built look like this.

<div class="mod_wrap" id="sideBarControl">
<div class="<%= TitleClassName %>">
    <div class="floatDirection" >
        <asp:PlaceHolder ID="phTitle" runat="server"></asp:PlaceHolder>
    </div>
    <asp:PlaceHolder ID="phExpandable" runat="server">
        <div id="btnExpand" class="expandable expandableDir <%= ExpandMode %>" <%= StateKey  %> >
            &nbsp;
        </div>
    </asp:PlaceHolder>
</div>
<div style="clear: both">
</div>
<div class="<%= ContentClassName %>">
    <div class="content_left2">
        <asp:PlaceHolder ID="phContent" runat="server"></asp:PlaceHolder>
    </div>
</div>
<div class="mod_bot">
</div>
<div style="clear: both">
</div>

now when i use the template like so:

    <EZ:SideBarCube ID="newsSideBox" runat="server" ContentClassName="mod_mid ticker">
    <TitleTemplate>
        <asp:Literal ID="Literal1" runat="server" Text="Financial News"></asp:Literal>
    </TitleTemplate>
    <ContentTemplate>
        <div id="divTicker" onmouseover="m_tickerSpeed=0;" onmouseout="m_tickerSpeed=m_tickerResumeSpeed">
        </div>
    </ContentTemplate>
</EZ:SideBarCube>

all literal controls text is from their text property and not from the resx files. help ?