title: Literal in Code behind
body: <p>why I cant access to literal in behind Code of my asp.net page?</p>
  
  <pre><code>&lt;%@ Page Title="" Language="VB" MasterPageFile="~/UI/Masters/Window.master" AutoEventWireup="false" CodeFile="HelpViewer.aspx.vb" Inherits="UI_Pages_HelpViewer" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %&gt;
  
  &lt;asp:Content ID="Content1" ContentPlaceHolderID="c" Runat="Server"&gt;
  &lt;%--&lt;div dir="rtl"&gt;
      &lt;asp:Panel ID="Panel1" Height="270px" Width="100%" ScrollBars="Auto" 
          runat="server" meta:resourcekey="Panel1Resource1"&gt;
         &lt;asp:Literal ID="Literal1" runat="server" meta:resourceKey="Literal1Resource1"&gt;&lt;/asp:Literal&gt;
   &lt;/asp:Panel&gt;
  &lt;/div&gt;--%&gt;
  
  &lt;div dir="rtl" align="right"&gt;
          &lt;asp:Repeater ID="rptHelp" runat="server" DataSourceID="xmlHelp"&gt;
              &lt;ItemTemplate&gt;
                  &lt;div style ="font-size:12px; font-family :Tahoma; font-weight:bold; margin-left:5px; color:Green; "&gt;
                        &lt;asp:Literal ID="ltlTitle" runat="server" Text='&lt;%#XPath("title")%&gt;'&gt;&lt;/asp:Literal&gt;
                  &lt;/div&gt;
                  &lt;div style="font-size:11px;margin-bottom:10px; margin-left:12px; margin-right:4px; font-family:Tahoma ; margin-top:9px;"&gt;
                      &lt;asp:Literal ID="ltlText" runat="server" Text='&lt;%#XPath("text")%&gt;'&gt;&lt;/asp:Literal&gt;
                  &lt;/div&gt;
              &lt;/ItemTemplate&gt;
          &lt;/asp:Repeater&gt;
          &lt;asp:XmlDataSource ID="xmlHelp" runat="server"&gt;&lt;/asp:XmlDataSource&gt;
      &lt;/div&gt;
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>ltlText is unknown element in behind code.</p>