ItemCommand in Listview not firing in the usercontrol
<p>I have user control which has the linkbutton in the Item Template, I am trying to capture the Itemcommand event in the code behind, but the event is not getting fired. </p>

<p>I have gone through the other similar questions, but it didnot help me. Below is my code snippet, could anyone help me on this?</p>

<p>Listview-</p>

<pre><code>&lt;asp:ListView runat="server" ID="lvTherapeuticAlternatives" OnItemCommand="TherapeuticAlternatives_OnItemCommand"&gt;
</code></pre>

<p><strong>ItemTemplate-</strong></p>

<pre><code>&lt;ItemTemplate&gt;
            &lt;tr class='data'&gt;
                &lt;td style="width:210px;"&gt;
                    &lt;asp:LinkButton  ID="lnkMedSelection"  runat="server" CommandName="SelectedMed"  CommandArgument='&lt;%#Eval("NDC") &amp; ", " &amp; Eval("DrugGenericProductID") %&gt;' &gt;
                    &lt;asp:Label ID="lblDrugName" runat="server"  Text='&lt;%# Eval("DrugDescription") %&gt;' /&gt; 
                    &lt;/asp:LinkButton &gt;
                &lt;/td&gt;
                &lt;td style="width:70px;" align="center"&gt;
                    &lt;asp:Label ID="lblBrandGeneric" runat="server" Text='&lt;%# Eval("descBrandGeneric") %&gt;' /&gt; 
                &lt;/td&gt;
                &lt;td style="width:110px;" align="center"&gt;
                    &lt;asp:Label ID="lblStatus" runat="server" Text='&lt;%# Eval("FormularyStatusDescription") %&gt;' /&gt; 
                &lt;/td&gt;
                &lt;td style="width:210px;" align="left"&gt;
                    &lt;asp:Label ID="lblFlat" runat="server" Text='&lt;%# Eval("CopayInfo") %&gt;' /&gt; 
                &lt;/td&gt;
            &lt;/tr&gt;
         &lt;/ItemTemplate&gt;  
</code></pre>

<p>Codebehind-</p>

<pre><code>    Protected Sub TherapeuticAlternatives_OnItemCommand(ByVal sender As Object, ByVal e As ListViewCommandEventArgs) Handles lvTherapeuticAlternatives.ItemCommand

    End Sub
</code></pre>
