Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: 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 23-Nov-12 0:59am

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 at 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
0 Sergey Alexandrovich Kryukov 8,478
1 OriginalGriff 6,516
2 Peter Leow 3,587
3 Zoltán Zörgő 3,406
4 Richard MacCutchan 2,397


Advertise | Privacy | Mobile
Web01 | 2.8.150123.1 | Last Updated 23 Nov 2012
Copyright © CodeProject, 1999-2015
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