J
Joey Martin
I am just trying to populate a HYPERLINK section and instead and it
linking to another window, I want to use javascript to open a window and
set a window size.
The first one just shows Click here and opens a windows. Perfect, except
I want to write some database results.
THIS WORKS
NavigateUrl="javascript:window.open('123.html',null, 'height=200,
width=400, status=yes, toolbar=no, menubar=no, location=no');
void('');"> click here</asp:HyperLink>
THIS DOES WORK ALSO-Note that I know have real text populating using
EVAL (KEYWORD LABEL).
NavigateUrl="javascript:window.open('123.html?catKeywords=',null,
'height=200, width=400, status=yes, toolbar=no, menubar=no,
location=no'); void('');"><%# Eval("KeywordLabel") %></asp:HyperLink>
THIS DOES NOT WORK. I want to write more variables that are passed into
the popup window.<%# Eval("KeywordLabel") %>
NavigateUrl="javascript:window.open('popsearch.asp?catKeywords=<%#
Eval("KeywordLabel") %>' height=200, width=400, status=yes, toolbar=no,
menubar=no, location=no'); void('');"> click here</asp:HyperLink>
Any ideas as to what I can do here???
THANK YOU SO MUCH IN ADVANCE!!!
linking to another window, I want to use javascript to open a window and
set a window size.
The first one just shows Click here and opens a windows. Perfect, except
I want to write some database results.
THIS WORKS
NavigateUrl="javascript:window.open('123.html',null, 'height=200,
width=400, status=yes, toolbar=no, menubar=no, location=no');
void('');"> click here</asp:HyperLink>
THIS DOES WORK ALSO-Note that I know have real text populating using
EVAL (KEYWORD LABEL).
NavigateUrl="javascript:window.open('123.html?catKeywords=',null,
'height=200, width=400, status=yes, toolbar=no, menubar=no,
location=no'); void('');"><%# Eval("KeywordLabel") %></asp:HyperLink>
THIS DOES NOT WORK. I want to write more variables that are passed into
the popup window.<%# Eval("KeywordLabel") %>
NavigateUrl="javascript:window.open('popsearch.asp?catKeywords=<%#
Eval("KeywordLabel") %>' height=200, width=400, status=yes, toolbar=no,
menubar=no, location=no'); void('');"> click here</asp:HyperLink>
Any ideas as to what I can do here???
THANK YOU SO MUCH IN ADVANCE!!!