Click here to Skip to main content
15,897,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am adding a TemplateField like this

XML
<asp:TemplateField>
    <ItemTemplate>
        <asp:LinkButton id="Delete" CommandName="Delete"  Text="Delete" runat="server" />
    </ItemTemplate>
</asp:TemplateField>



When Delete Button clicked, RowCommand Event Not Firing. I do not understand the problem.

Once the Application is closed and opened again, the first time the event firing and then it is not firing.

Please give a solution.
Posted
Updated 29-Dec-10 22:57pm
v2
Comments
vivekse 30-Dec-10 4:53am    
What is this :- "Please Reply a Corrrect answer ". All are trying to post best answer form their knowledge. :)
Venkatesh Mookkan 30-Dec-10 4:58am    
Made some changes to make it readable.

1 solution

Is there any validation control on form
 
Share this answer
 
Comments
Jameel VM 30-Dec-10 5:15am    
Yes
TejuKrishna 30-Dec-10 5:41am    
check the validation causing the firing of rowcommand. if it is the cause then take validation in group.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900