Home All Groups Group Topic Archive Search About

DataGrid Question - asp:Hyperlink

Author
18 Apr 2005 9:45 PM
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

Author
19 Apr 2005 9:27 AM
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.

-Brock
DevelopMentor
http://staff.develop.com/ballen



Show quoteHide quote
> 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
>