New window from LinkButton?

  • Thread starter Thread starter Frank Oquendo
  • Start date Start date
F

Frank Oquendo

I need to be call up a new page from a hyperlink in a DataGrid.
Unfortunately, I'm not allowed to pass any querystring values so I
decided to use a TemplateColumn containing a LinkButton instead of using
a HyperLinkColumn.

Using the LinkButton, I can set session variables that the new page will
use at startup. What I can't figure out is to open a new window.

Any ideas?
 
David said:
for the linkbutton, add an attribute to the onclick event, calling a
Javascript Open Window function
LinkButton.attributes("Onclick")="WindowOpenFunctiongoesHere();"

I've got that in my code now but it doesn't seem to be working. I think
the postback is interfering somehow. The original page reloads but the
new one never opens.
 
Back
Top