Question : Adding EVAL to asp:HyperLink NavigateUrl Tag

I want to do this

                                NavigateUrl="javascript:var w=window.open('fbtro.aspx?doff= <%# Eval("lngDoffID") %>','', 'width=625,height=500,scrollbars=0,resizeable=0')"
                                ID="Hyperlink1">
                                <%# Eval("lngDoffID") %>
                           


and NavigateUrl doesn't like the embedded <%# Eval("lngDoffID") %>

If I do this...

 NavigateUrl="javascript:var w=window.open('fbtro.aspx','', 'width=625,height=500,scrollbars=0,resizeable=0')"

it will open fbtro.aspx just like I want but with the Eval in there I get a 'server tag not well formed'

I can't figure out how to "form" it ?

Thanks in advance.

Answer : Adding EVAL to asp:HyperLink NavigateUrl Tag

Random Solutions  
 
programming4us programming4us