title: Table row server side click in repeater?
body: <p>I have a repeater which has table as per below code and I need to send param to code behind when table row is clicked.
  At the moment I am passing it on LinkButton1 click.
  I have also tried wrapping  in LinkButton but it's not working
  How do I do this? </p>
  
  <pre><code>&lt;asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand" OnItemDataBound="Repeater1_ItemDataBound" OnItemCreated="Repeater1_ItemCreated"&gt;
      &lt;HeaderTemplate&gt;
          &lt;table class="table table-striped table-bordered dttable dataTable no-footer" style="border-style: solid; border-color: rgb(252, 253, 250); text-align: center; font-weight: 700; width: 100%;" id="JsDataTable" role="grid" aria-describedby="JsDataTable_info"&gt;
              &lt;thead style="width: 100%"&gt;
                  &lt;tr style="color: #fff; width: 100%;"&gt;
                      &lt;td id="tdSr"&gt;Sr&lt;/td&gt;
                      &lt;td id="tdCode" style="white-space: nowrap;"&gt;
                          &lt;asp:LinkButton ID="lnCode" runat="server" CommandName="CourseNo" CssClass="linkHeader"&gt;Code&lt;i class = "fa fa-fw fa-sort" &gt;&lt;/i&gt;&lt;/asp:LinkButton&gt;
                      &lt;/td&gt;
                      &lt;td id="tdName" style="width: 50%; white-space: nowrap; text-align: left;"&gt;
                          &lt;asp:LinkButton ID="lnName" runat="server" CommandName="VName" CssClass="linkHeader"&gt;Name&lt;i class = "fa fa-fw fa-sort" &gt;&lt;/i&gt;&lt;/asp:LinkButton&gt;
                      &lt;/td&gt;
                      &lt;td id="tdType" style="width: 20%"&gt;
                          &lt;asp:LinkButton ID="lnType" runat="server" CommandName="VType" CssClass="linkHeader"&gt;Type&lt;i class = "fa fa-fw fa-sort" &gt;&lt;/i&gt;&lt;/asp:LinkButton&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/thead&gt;
              &lt;tbody style="width: 100%"&gt;
      &lt;/HeaderTemplate&gt;
      &lt;ItemTemplate&gt;
          &lt;tr id="trID" runat="server" class="box" style="height: 30px; color: #08516F; vertical-align: middle;"&gt;
              &lt;td style="color: #004457; border-right: 1px solid #004457; vertical-align: middle;" class="labelTxt"&gt;
                  &lt;asp:HiddenField ID="hfAllowSubscription" runat="server" Value='&lt;%#Eval("AllowSubscription") %&gt;' /&gt;
                  &lt;asp:Label ID="lblSR" runat="server"&gt;&lt;/asp:Label&gt;
              &lt;/td&gt;
              &lt;td style="color: #004457; border-right: 1px solid #004457; vertical-align: middle;"&gt;
                  &lt;%#Eval("CourseNo") %&gt;
              &lt;/td&gt;
              &lt;td style="color: #004457; border-right: 1px solid #004457; text-align: left !important; vertical-align: middle;"&gt;
                  &lt;asp:LinkButton ID="LinkButton1" runat="server" CommandName="PlayPrev" CommandArgument='&lt;%#Eval("Id") %&gt;' Text='&lt;%#Eval("Name") %&gt;' CssClass="name"&gt;&lt;/asp:LinkButton&gt;
              &lt;/td&gt;
  
              &lt;td style="color: #004457; border-right: 1px solid #004457; vertical-align: middle;"&gt;
                  &lt;asp:Label Text='&lt;%#Eval("VType") %&gt;' runat="server" ID="lblType" CssClass="lblType" Style="font-family: 'Segoe UI semiBold' !important;"&gt;&lt;/asp:Label&gt;
                  &lt;span id="lblsubtype" runat="server" class="subtype_color T"&gt;&lt;/span&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/ItemTemplate&gt;
  
      &lt;FooterTemplate&gt;
          &lt;/tbody&gt;
                &lt;/table&gt;  
                 &lt;div id="repeatorEmptyRow" runat="server" style="text-align: center; color: red;"&gt;
                    No matching records found
                 &lt;/div&gt;
      &lt;/FooterTemplate&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>