title: gridview edittemplate not showing content
body: <p>I have grid view with three column name, rate, category</p>
  
  <p>I am also using ajax rate here and one dropdown within edittemplate which binded with sqldatasource.</p>
  
  <p>But when click on edit it is not showing the drop down.</p>
  
  <p>Please help to sort out this problem.</p>
  
  <p>Code is </p>
  
  <pre><code>&lt;asp:gridview id="GVTweet" runat="server" allowpaging="True" allowsorting="True"
      autogeneratecolumns="False" gridlines="None" pagesize="15" width="700px" onselectedindexchanged="GVTweet_SelectedIndexChanged"
      onrowcancelingedit="GVTweet_RowCancelingEdit" onrowediting="GVTweet_RowEditing"
      onrowupdated="GVTweet_RowUpdated" onrowupdating="GVTweet_RowUpdating"&gt;
          &lt;HeaderStyle /&gt;
          &lt;AlternatingRowStyle Height="70px" /&gt;
          &lt;RowStyle Height="70px" /&gt;
          &lt;Columns&gt;
              &lt;asp:TemplateField HeaderImageUrl="~/images/twet1.png" HeaderText="Tweets" 
              ItemStyle-Height="70px"&gt;
              &lt;ItemTemplate&gt;
                  &lt;table border="0" cellpadding="0" cellspacing="0" width="auto"&gt;
                      &lt;tr style="width:400px;"&gt;
                          &lt;td align="left" style="height:70px;" valign="top"&gt;
                          &lt;span class="box_imag"&gt;
                          &lt;asp:Image ID="ScreenImage0" runat="server" height="50" 
                              ImageUrl='&lt;%#DataBinder.Eval(Container.DataItem,"ImageUrl")%&gt;' width="50" /&gt;
                          &lt;/span&gt;&lt;span class="box_cont"&gt;
                          &lt;asp:Label ID="lblId" runat="server" 
                              Text='&lt;%#DataBinder.Eval(Container.DataItem, "id")%&gt;' Visible="false"&gt;
                          &lt;/asp:Label&gt;
                          &lt;div&gt;
                          &lt;strong&gt;
                              &lt;a href="javascript:void(0)" 
                                  onclick='setscreenname(&amp;#039;&lt;%#DataBinder.Eval(Container.DataItem, "ScreenName")%&gt;&amp;#039;)' 
                                  rel="external"&gt;
                              &lt;asp:Label ID="lblScreenName0" runat="server" 
                                  Text='&lt;%#DataBinder.Eval(Container.DataItem, "ScreenName")%&gt;'&gt;&lt;/asp:Label&gt;
                              &lt;/a&gt;
                          &lt;/strong&gt;
                          &lt;asp:Label ID="lblText0" runat="server" 
                              Text='&lt;%#DataBinder.Eval(Container.DataItem, "Text")%&gt;'&gt;&lt;/asp:Label&gt;
                          &lt;/div&gt;
                          &lt;div class="meta"&gt;
                              &lt;asp:Label ID="lblDate0" runat="server" 
                              Text='&lt;%#DataBinder.Eval(Container.DataItem, "Date")%&gt;'&gt;&lt;/asp:Label&gt;
                          &lt;/div&gt;
                          &lt;/span&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/table&gt;
              &lt;/ItemTemplate&gt;
              &lt;/asp:TemplateField&gt;
              &lt;asp:TemplateField HeaderImageUrl="~/images/rate1.png" 
                  HeaderStyle-CssClass="headerCss1" HeaderText="Rate(1-5)" 
                  SortExpression="Rating" &gt;
              &lt;ItemTemplate&gt;
                  &lt;table border="0" cellpadding="0" cellspacing="0" width="auto"&gt;
                      &lt;tr style="width:150px;" valign="top" &gt;
                          &lt;td style="height:70px;"&gt;
                              &lt;asp:UpdatePanel ID="updtpnlTweet0" runat="server"&gt;
                                  &lt;ContentTemplate&gt;
                                      &lt;cc1:Rating ID="rateTweet" runat="server" CurrentRating='&lt;%# Bind("Rating") %&gt;' 
                                          EmptyStarCssClass="empatyStarRating" FilledStarCssClass="filledStarRating" 
                                          MaxRating="5" onchanged="rateTweet_Changed" StarCssClass="ratingStar" 
                                          WaitingStarCssClass="savedStarRating"&gt;
                                      &lt;/cc1:Rating&gt;
                                  &lt;/ContentTemplate&gt;
                              &lt;/asp:UpdatePanel&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/table&gt;
              &lt;/ItemTemplate&gt;
              &lt;/asp:TemplateField&gt;
              &lt;asp:TemplateField HeaderImageUrl="~/images/category1.png" 
                      HeaderStyle-CssClass="headerCss2" HeaderStyle-Width="148px" 
                      HeaderText="Categorize It" ItemStyle-CssClass="iteamHeader2"&gt;                                           
              &lt;ItemTemplate&gt;
                  &lt;table width="auto" border="0" cellspacing="0" cellpadding="0"&gt;
                      &lt;tr align="center" valign="top" style="width:150px;" &gt;
                          &lt;td align="center" valign="top" style="height:70px; float:left;" &gt;                            
                              &lt;asp:Label ID="lblid1" runat="server" Text='&lt;%#DataBinder.Eval(Container.DataItem,"CategoryName")%&gt;' &gt;&lt;/asp:Label&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/table&gt;
              &lt;/ItemTemplate&gt;                                        
              &lt;EditItemTemplate&gt;
                  &lt;asp:DropDownList ID="ddldivcategory" runat="server" Width="100px" CssClass="dropdowntweet" 
                      DataSourceID="SqlDataSource1" DataTextField="CategoryName" DataValueField="CategoryId" &gt;
                                  &lt;/asp:DropDownList&gt;                   
             &lt;/EditItemTemplate&gt;
             &lt;/asp:TemplateField&gt;                                    
          &lt;asp:CommandField ShowEditButton="True" /&gt;
      &lt;/Columns&gt;
  &lt;/asp:gridview&gt;
  </code></pre>