title: Image tag within a repeater ASP.NET C#
body: <p>I'm creating a repeater. This is shown below </p>
  
  <pre><code>&lt;asp:Repeater runat="server" ID="repeaterEvent" OnItemCommand="repeaterEvent_ItemCommand"&gt;
                          &lt;ItemTemplate&gt;
                              &lt;div class="jumbotron"&gt;
                                  &lt;h4&gt;&lt;asp:Label ID="Label2" runat="server" Text='&lt;%#Bind("EvtDescription") %&gt;'&gt;&lt;/asp:Label&gt;&lt;/h4&gt;   
                                  &lt;h4&gt;&lt;asp:Label runat="server"&gt;Amount Attending: &lt;/asp:Label&gt;       
                                  &lt;asp:Label ID="Label4" runat="server" Text='&lt;%#Bind("EvtVote") %&gt;'&gt;&lt;/asp:Label&gt;&lt;/h4&gt;
                                  &lt;asp:Button runat="server" ID="eventButton" Text="Attending" class="btn btn-primary" CommandName="Vote"/&gt;
                              &lt;/div&gt;
                          &lt;/ItemTemplate&gt;
                      &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p>I've also got an image with the code for it below:</p>
  
  <pre><code>&lt;img runat="server" id="imageTest" src="imageIDtagName" /&gt;
  </code></pre>
  
  <p>Back end code:</p>
  
  <pre><code>imageTest.Src = "data:Image/png;base64," + str;
  </code></pre>
  
  <p>This works perfectly well and I'm able to display the image. The problem occurs when I try to add this line of code within the repeater. The error says "The name 'imageTest' does not exist in the current context. I'm sure this is a simple problem but thanks in advance </p>