Click here to Skip to main content
15,914,014 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
i have a grid view in my webpage in the 3rd column cells of gridview i want to add image button and pdf download icon to that image button.how to do it plz give me suggestion
Posted

 
Share this answer
 
v2
XML
<asp:TemplateField >
                    <HeaderTemplate>DownLoad</HeaderTemplate>
                    <ItemTemplate>
                    <asp:ImageButton ID="img" runat="server" ImageUrl="~/Images/adslink.gif" />
                     
                    </ItemTemplate>
                    </asp:TemplateField>
 
Share this answer
 
Comments
Aristotle Makamure 7-Apr-21 2:08am    
so how does it download you showed us the image only

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