Rowcommand does not work

Oct 5, 2010 at 8:50 PM

Hi jesobrepena, I am Using this Control,it is very good, congratulations for it . but it does not work with Rowcommand event when fires click event of linkbutton. 
what am I doing wrong?

Here my Code, I added more funcionality as checkboxcolum, serialnumber and some styles properties.

<cc2:CoolGridview ID="dgUsuarios" runat="server" 
DataSourceID = "ODSUsuario" 
AutoGenerateColumns="False"
Height="200px" Width="680px" BorderWidth="0px" 
CheckBoxColumn="False" CssHeaderAsc="" CssHeaderDesc="" CssSortAltRow="" 
CssSortRow="" SerialNoColumn="False" ViewMode="Flat" 
>
<asp:BoundField DataField="MATRICULA" HeaderText="Matricula" HtmlEncode="False">
<HeaderStyle Width="100px" HorizontalAlign="Center" CssClass="CeldaCab TextoCab"/> 
<ItemStyle HorizontalAlign="Center" CssClass="CeldaDet"/>
</asp:BoundField>
<asp:TemplateField HeaderText="Opciones">
<HeaderStyle Width="100px" HorizontalAlign="Center" CssClass="CeldaCab TextoCab"/>
<ItemStyle HorizontalAlign="Center" CssClass="CeldaDet"/>
<ItemTemplate>
<asp:LinkButton CausesValidation="true" style="cursor:pointer;text-decoration:underline;color:Blue" 
id="hlkModif" runat="server" CommandName = "Edit" 
Text="Editar" onclick="hlkModif_Click" ></asp:LinkButton>
<asp:LinkButton CausesValidation="true" style="cursor:pointer;text-decoration:underline;color:Blue" 
id="hlkElim" runat="server" CommandName = "Delete"
Text="Eliminar">
</asp:LinkButton>
</ItemTemplate> 
</asp:TemplateField>
</Columns>
</cc2:CoolGridview>