title: asp.net gridview - spread bound data across multi lines per row with updatepanel
body: <p>I have a panel inside a gridview and I need it to be 'spread' for the width of the row :  </p>
  
  <p><a href="https://i.stack.imgur.com/IaLbb.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IaLbb.jpg" alt="enter image description here"></a></p>
  
  <p>never mind what's in the panel. What I show here is just to demo my needs...My HTML:  </p>
  
  <pre><code>&lt;asp:GridView ID="GridView1" runat="server"
      AutoGenerateColumns="False"
      CellPadding="3"
      CssClass="myGrid"
      DataKeyNames="Role_Name"&gt;
      &lt;AlternatingRowStyle BackColor="#E6E6E6" /&gt;
      &lt;Columns&gt;
          &lt;asp:TemplateField&gt;
              &lt;ItemTemplate&gt;
                  &lt;asp:ImageButton ID="imgShow" runat="server" OnClick="Show_Hide_details" BorderStyle="None" BackColor="Transparent" ImageUrl="~/Content/Images/Arrow_Down.png"
                  CommandArgument="Show" /&gt;
                  &lt;asp:Panel ID="pnlRole" runat="server" Style="position: relative;" Visible="false"&gt;
                      &lt;asp:Label ID="lblAAA" runat="server" Text="aaa" /&gt;&lt;br /&gt;
                      &lt;asp:Label ID="lblBBB" runat="server" Text="bbb" /&gt;&lt;br /&gt;
                      &lt;asp:Label ID="lblCCC" runat="server" Text="ccc" /&gt;&lt;br /&gt;
                      &lt;asp:Label ID="lblDDD" runat="server" Text="ddd" /&gt;&lt;br /&gt;
                  &lt;/asp:Panel&gt;
              &lt;/ItemTemplate&gt;
          &lt;/asp:TemplateField&gt;
          &lt;asp:BoundField DataField="Role_Name" HeaderText="Name"&gt;
              &lt;HeaderStyle Width="100px" /&gt;
              &lt;ItemStyle CssClass="myGridItemMaxWidth" HorizontalAlign="Left" Wrap="false" /&gt;
          &lt;/asp:BoundField&gt;
          &lt;asp:BoundField DataField="Role_Description" HeaderText="Description"&gt;
              &lt;HeaderStyle Width="150px" /&gt;
              &lt;ItemStyle CssClass="myGridItemMaxWidth" HorizontalAlign="Left" Wrap="false" /&gt;
          &lt;/asp:BoundField&gt;
      &lt;/Columns&gt;
      &lt;HeaderStyle CssClass="myGridHeader" /&gt;
      &lt;RowStyle ForeColor="#000066" /&gt;
  &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>I'd appreciate any help/idea/solution.  </p>
  
  <p><strong>EDIT :</strong><br>
  To better explain my problem, here's another image :<br>
  <a href="https://i.stack.imgur.com/ZEBe9.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZEBe9.jpg" alt="enter image description here"></a></p>
  
  <p>(never mind what's in the panel. What I show here is just to demo my needs...)  </p>