Datagrid Cell

J

Joey

Hi guys,

How can I put an image in a datagrid cell and databind
it to navigate to a url.

Thanks
 
J

Jos

Joey said:
Hi guys,

How can I put an image in a datagrid cell and databind
it to navigate to a url.

Thanks

1) use a TemplateColumn
2) add the image to the template in the form of a HyperLink control
use the ImageURL and NavigateURL properties with a databinding
<%# %> syntax.
 

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

Top