hyperlink on template header

L

Lucas Hernandez

Hi.. I am trying to put a <a > (anchor) on a <asp:TemplateField
HeaderText="<a onClik='functionname('parameter')>click</a>">

but it doesn't take the parameter... any idea?
 
K

kan

Hi lucas..
since u r using function..R u using any java script bcoz ur function
will be openend there only not on the script side.
 
L

Lucas Hernandez

Thanks kan
I have the function written and is seen on the client but as well as the
link but I have problem with the quotes.. the parameter is supposed to
be between double quotes and I don't know how to do that without
breaking asp.net sintaxis

thanks again
lucas
 
K

kan

Hi lucas..
Thanks for the reply..U r supposed to write the function on the
html side script..using java script..Any query regarding this u can ask
me..
 

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,085
Messages
2,570,597
Members
47,219
Latest member
Geraldine7

Latest Threads

Top