DataGrid hyperlink field binding?

G

Guest

I am using a DataGrid, and have bound it to some data (not using the quick
design way though -- i hard coded it using sql data adapter, command, etc).
Anyways, I have a column that is a link, and i want it to link to a
javascript function that i've declared in the same page, but in the markup. I
set the field type as Hyperlink, and this is how i set it up:

NavigateUrl: Javascript:showActivityDetails()
DataNavigateUrlField: ActivityID
DataNavigateUrlFormatString: Javascript:showActivityDetails({0})

But when i mouseover that link, in the status bar is only says:

javascript:showActivityDetails()

which i'm assuming is that it's not passing in the activityID...even though
i do in fact have an activityID field in my datagrid.

any suggestions as to what is going on? Any help is appreciated!

Thanks
 

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,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top