ideasparks coolgridview- onrowediting does not working

Jun 21, 2011 at 9:25 AM

hai to all


I am Using this Control..its nice but it does not working with onrowediting event.

this is my code

<cc1:CoolGridView ID="cgridview" Height="300px" runat="server" Width="500px"
            AutoGenerateColumns="False" DataKeyNames="CustomerID" ShowFooter="True"
            onrowediting="cgridview_RowEditing">
       
        <Columns>
             <asp:TemplateField HeaderText="CustomerID">
                 <ItemTemplate><%#Eval("CustomerID") %></ItemTemplate>
             <EditItemTemplate>
                <asp:TextBox ID="TextBox1" runat="server" Text=' <%#Eval("CustomerID") %>'></asp:TextBox>
             </EditItemTemplate>
             </asp:TemplateField>
          
      
         <asp:TemplateField HeaderText="CompanyName">
              <ItemTemplate>    <%#Eval("CompanyName") %>        </ItemTemplate>
          <EditItemTemplate>
               <asp:TextBox ID="TextBox2" runat="server" Text=' <%#Eval("CompanyName") %>'></asp:TextBox>
          </EditItemTemplate>
         </asp:TemplateField>
       
                    
         <asp:TemplateField HeaderText="Edit">
                  <ItemTemplate>                  
                    <asp:LinkButton ID="lnkedit" runat="server" CommandName="Edit">Edit</asp:LinkButton>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:LinkButton ID="lnkupdate" runat="server" CommandName="Update">Update</asp:LinkButton>
                    <asp:LinkButton ID="lnkcancel" runat="server" CommandName="Cancel">Cancel</asp:LinkButton>
                </EditItemTemplate>               
                </asp:TemplateField>
             </Columns>


        </cc1:CoolGridView>

 

what am I doing wrong?

when i am clicking on editlink,  the event _RowEditing is not working...

can any one suggest me the solution for this problem...

 

 

 

shashi