Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
This is my code of footer template in grid view.when i click the image button it should validate the text box in the same grid which is as item template as "Please enter data" in that text box.
I am trying to use "j query" validation, but i am not finding the id of image button.
Please help me.......
ASP.NET
<FooterTemplate>
                                        <asp:ImageButton ID="imgbtnAdd" runat="server" CommandName="AddNew" Height="30px"
                                      CssClass="imageButtonFinderClass" OnClientClick="showDialog('editPerson');" ImageUrl="~/Images/AddNewitem.jpg" onblur="focused(this);" onfocus="onfocused(this);"
                                            TabIndex="21" ToolTip="Add New" ValidationGroup="validaiton" Width="30px" />
                                    </FooterTemplate>
Posted
Updated 2-Jun-13 23:59pm
v2

1 solution

Check out following thread:
Find control inside Asp.net GridView using jQuery[^]. Hope it helps.
 
Share this answer
 
Comments
Member 8388026 3-Jun-13 6:11am    
That really didnt help me..

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



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