Click here to Skip to main content
12,455,917 members (54,232 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET
How can i make databound item of gridview a clickable link, so that when user clicks on that databound item, all details of that user item will be displayed.

but i want, how can i make databound item a clickable link.
Posted 22-Nov-12 23:59pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

<asp:templatefied xmlns:asp="#unknown">
     <itemtemplate>
         <asp:linkbutton id="lnkRedirect" runat="server" postbackurl="your url" />
     </itemtemplate>
 </asp:templatefied>
 
you can also take <asp:hyperlink xmlns:asp="#unknown"> by setting the property NevegateUrl you can move to your details page, or u can display model popup to display details on click of your link button</asp:hyperlink>
  Permalink  
Comments
Jasbeer Singh 23-Nov-12 6:12am
   
i want to make a bounded item linkable.

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


Advertise | Privacy | Mobile
Web01 | 2.8.160826.1 | Last Updated 23 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100