DataGrid Question - asp:Hyperlink

M

mgonzales3

I need to do the following in my DataGrid
Have a hyperlink column - no problem
Create two parameters - no problem
Have the column execute a jscript with each of those params - problem.

I thought i needed to use the ItemCreated event to bind the values there?

please help...

thanks
 
B

Brock Allen

You could handle the ItemDataBound event on the server to then "fixup" any
controls that were created in the row after it's been databound. This is
probabaly what you should be doing.
 

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

No members online now.

Forum statistics

Threads
474,263
Messages
2,571,064
Members
48,769
Latest member
Clifft

Latest Threads

Top