J
jm
<asp:HyperLinkColumn runat="server" HeaderText="To"
DataNavigateUrlField="calTo"
DataNavigateUrlFormatString="JavaScript:varwin=window.open('/MoreInfo.aspx?ID={0}',null,'width=400,height=400,location=no');"
DataTextField="calTo" DataTextFormatString="{0}" />
gives the popup desired, but it also gives a blank page; taking the
target out(like above) navigates to a blank window; taking out the
varwin above gives a blank page with [object].
All the variations give the page desired, it just gives an extra page.
Any ideas?
I added a function:
function testlink(temp)
{
window.open("MoreInfo.aspx?ID=" + temp) //+
",null,'width=400,height=400,location=no");
}
But had to comment the last half off because it kept putting the
width, etc., in the address line; The first part works, it just
doesn't allow me to size the windows.
Thanks again.
DataNavigateUrlField="calTo"
DataNavigateUrlFormatString="JavaScript:varwin=window.open('/MoreInfo.aspx?ID={0}',null,'width=400,height=400,location=no');"
DataTextField="calTo" DataTextFormatString="{0}" />
gives the popup desired, but it also gives a blank page; taking the
target out(like above) navigates to a blank window; taking out the
varwin above gives a blank page with [object].
All the variations give the page desired, it just gives an extra page.
Any ideas?
I added a function:
function testlink(temp)
{
window.open("MoreInfo.aspx?ID=" + temp) //+
",null,'width=400,height=400,location=no");
}
But had to comment the last half off because it kept putting the
width, etc., in the address line; The first part works, it just
doesn't allow me to size the windows.
Thanks again.