title: How to display image in show ModalPopupExtender
body: <p>I have a gridview where i am having a link button. I am showing a popup using ModalPopupExtender and there should be image in ModalPopupExtender. This image source is dynamic means on clicking each link button , different image should be display. </p>
  
  <pre><code>&lt;div&gt;
  
                  &lt;asp:Panel ID="collapsiblePanelBody" runat="server"  
                      ScrollBars="Auto" &gt;
  &lt;asp:GridView ID="GridViewProf"  runat="server" Width="100%" AutoGenerateColumns="False"
              AllowPaging="True" CssClass="clGrid" PageSize="25" 
                          onpageindexchanging="GridViewProf_PageIndexChanging" 
                          EnableModelValidation="True" onrowcommand="GridViewProf_RowCommand" 
                          onrowdatabound="GridViewProf_RowDataBound" 
                          onpageindexchanged="GridViewProf_PageIndexChanged"  &gt;
  
  
                           &lt;Columns&gt;    
  
   &lt;asp:BoundField DataField="Document_Conventional" HeaderText="Document_Conventional" &gt;
                      &lt;HeaderStyle Width="50%" CssClass="gridHeader"&gt;&lt;/HeaderStyle&gt;
                      &lt;ItemStyle CssClass="gridItem" HorizontalAlign="Left"&gt;&lt;/ItemStyle&gt;
                  &lt;/asp:BoundField&gt;
  
   &lt;asp:TemplateField  HeaderText="Show Image" &gt;
                    &lt;ItemTemplate&gt;
       &lt;input id="lnkImg" runat="server" type="button" value="ShowImage" /&gt;
       &lt;cc1:ModalPopupExtender ID="mpe" runat="server" TargetControlID="lnkImg" PopupControlID="Panel1"&gt;
       &lt;/cc1:ModalPopupExtender&gt;
     &lt;/ItemTemplate&gt;
     &lt;/asp:TemplateField&gt;
              &lt;/Columns&gt;
  
                      &lt;/asp:GridView&gt;
                  &lt;/asp:Panel&gt;
              &lt;/ContentTemplate&gt;
          &lt;/asp:UpdatePanel&gt;
          &lt;/div&gt;
  
  
  &lt;asp:Panel ID="Panel1"   
      style="border:solid 2px #cccccc;" runat="server" 
      Width="60%" Height="60%" &gt;
  &lt;asp:Panel ID="Panel2" runat="server" style="border:solid 2px #cccccc; width:98%; cursor: move;"&gt;Drag Panel
  &lt;/asp:Panel&gt;
  
  
   &lt;img  id="img05"  width="400" height="320" runat="server"
                 alt="image"  /&gt;
          &lt;asp:Button ID="btnCancel" runat="server" Text="[ X ]" /&gt;
  
  
          &lt;/asp:Panel&gt;
  </code></pre>
  
  <p>// Thats what i have done. But how to give src to image dynamically , i am not able to do. Please help me out</p>