By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,088 Members | 1,512 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,088 IT Pros & Developers. It's quick & easy.

GridView and HyperLinkField

P: n/a
I have a GridView that is displaying a field as a hyperlink. I would like
to add an onclick event to open another browser window using javascript.
How can I accomplish this? I can do this successfully with just a simple
HyperLink control. The HyperlinkField for a GridView doesn't compile with
trying to set this attribute.

As always, any help would be greatly appreciated.


Feb 23 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
set the navigateurl as "javascript:openmywin();" where openmywin is the
function that opens the window.

HTH,
Darren Kopp
http://blog.secudocs.com/

Feb 23 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.