This project is read-only.
1
Vote

Rowcommand does not work

description

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>

comments

ShashiReddy wrote Oct 24, 2011 at 11:33 AM

faceing sme doubt here to

wrote Feb 14, 2013 at 9:25 PM