title: popup fancybox/thickbox in user control
body: <p>i'm try to use thickbox or fancybox popup in asp.net
  when i use this on aspx page it's work well.
  but when i use it in gridview it's not work.</p>
  
  <p>i use below code in user control,and it's work well,</p>
  
  <pre><code> &lt;a class="thickbox" href="Default.aspx??txtid=1&amp;keepThis=true&amp;TB_iframe=true&amp;height=100&amp;width=100'"&gt;Default.aspx&lt;/a&gt;
  </code></pre>
  
  <p>btu when ther gridview is bind, popup dosen't work</p>
  
  <pre><code> &lt;asp:GridView ID="gvResult" ClientIDMode="Static" AutoGenerateColumns="False" DataKeyNames="WordID" runat="server"&gt;
                  &lt;Columns&gt;
                      &lt;asp:TemplateField&gt;
                          &lt;ItemTemplate&gt;
                              &lt;div style="float: right"&gt;
  
                                  &lt;asp:Image ID="Image1" Width="115" Height="100" ImageUrl='&lt;%# string.Format("../Upload/Images/{0}",Eval("IsExistPic")) %&gt;' runat="server" /&gt;
                              &lt;/div&gt;
                              &lt;div style="float: right"&gt;
                                  &lt;a class="thickbox"  href="../test.aspx?txtid=1&amp;keepThis=true&amp;TB_iframe=true&amp;height=500&amp;width=600"&gt;Default.aspx&lt;/a&gt;
  
                                  &lt;asp:HyperLink ID="various2" ClientIDMode="Static" runat="server" NavigateUrl='&lt;%#string.Format("../LogIn.aspx?txtid=1&amp;keepThis=true&amp;TB_iframe=true&amp;height=500&amp;width=600") %&gt;'&gt;&lt;img src="../img/sound.png" /&gt;&lt;/asp:HyperLink&gt;
                                  &lt;br /&gt;
                                  &lt;asp:HyperLink ID="hplfilm" runat="server"&gt;&lt;img src="../img/film.png" /&gt;&lt;/asp:HyperLink&gt;
                                  &lt;br /&gt;
                                  &lt;asp:HyperLink ID="hplpronun" runat="server"&gt;&lt;img src="../img/microphone.png" /&gt;&lt;/asp:HyperLink&gt;
                                  &lt;br /&gt;
                                  &lt;asp:HyperLink ID="hplinfo" NavigateUrl="../Default.aspx" runat="server"&gt;&lt;img src="../img/info.png" /&gt;&lt;/asp:HyperLink&gt;
                                  &lt;br /&gt;
                                  &lt;asp:HyperLink ID="hplReport" NavigateUrl="../Default.aspx" runat="server"&gt;&lt;img src="../img/repo.png" /&gt;&lt;/asp:HyperLink&gt;
                                  &lt;br /&gt;
                              &lt;/div&gt;
                          &lt;/ItemTemplate&gt;
                      &lt;/asp:TemplateField&gt;
                  &lt;/Columns&gt;
              &lt;/asp:GridView&gt;
  </code></pre>