HyperLink Column and Button Column in a DataGrid

G

Guest

Hi,

In a datagrid I am displaying 2 columns. One is a Hyperlink Colum and the
other is a Button Column. The values for the hyperlink columns are fetched
from the database and its a url. When I click the Download button I am taking
the URL value from the Hyperlink column (using
CType(E.Item.Cells(0).Controls(0), HyperLink).NavigateUrl ).I am doing some
validations on this Button Click event.Its working fine. Now I need to
perform the same function while clicking the Hyperlink Column.

Let me know how to do this.? Is there any way to achieve this without a
hyperlink.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top