What is wrong with this code? I have a link on my page :
<a href='<%# "oli_display.as px?OLI=" +
DataBinder.Eval (Container.Data Item, "OLI") + "&OS=" +
DataBinder.Eval (Container.Data Item, "Incoming Route") %>'
target="_blank" >
<%#DataBinder.E val(Container.D ataItem, "OLI") %>
</a>
I have changed this so that I can set the properties of my window, but
I'm not sure of the correct syntax :
<a href="#" onClick="window .open('<%# "oli_display.as px?OLI=" +
DataBinder.Eval (Container.Data Item, "OLI") + "&OS=" +
DataBinder.Eval (Container.Data Item, "Incoming Route") %>', 'title of
window goes here', 'toolbar=no, directories=no, location=no, status=yes,
menubar=no, resizable=no, scrollbars=no, width=300, height=200')>
<%#DataBinder.E val(Container.D ataItem, "OLI") %>
</a>
Any assistance would be much appreciated.
Cheers,
Mike
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
<a href='<%# "oli_display.as px?OLI=" +
DataBinder.Eval (Container.Data Item, "OLI") + "&OS=" +
DataBinder.Eval (Container.Data Item, "Incoming Route") %>'
target="_blank" >
<%#DataBinder.E val(Container.D ataItem, "OLI") %>
</a>
I have changed this so that I can set the properties of my window, but
I'm not sure of the correct syntax :
<a href="#" onClick="window .open('<%# "oli_display.as px?OLI=" +
DataBinder.Eval (Container.Data Item, "OLI") + "&OS=" +
DataBinder.Eval (Container.Data Item, "Incoming Route") %>', 'title of
window goes here', 'toolbar=no, directories=no, location=no, status=yes,
menubar=no, resizable=no, scrollbars=no, width=300, height=200')>
<%#DataBinder.E val(Container.D ataItem, "OLI") %>
</a>
Any assistance would be much appreciated.
Cheers,
Mike
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Comment