B
boevermann
I prototyped an html table that has a hyperlink that pops a window
showing a map of the entry from the that table. The link looks like
this:
<a href="authenticate.asp" onClick="window.open('authenticate.asp?
code=COUNTRYSIDEESTATES','gismap','toolbar=no,menubar=no,location=no,directories=no,status=yes,scrollbars=yes,resizable=yes,copyhistory=no,height=600,width=800');return
false">Map</a>
Now that the department has settled on the fields they want in the
database I have converted the page to a gridview bound to a
sqldatasource. The 'code' attribute in the link above is a field in
the table.
In my aspx page, I have bound the 'code' and havesuccessfully gotten a
pop up window that zooms the map to the proper entry in the table, but
the window contains the toolbar, menu, etc., which I want removed from
the pop up.
Currently the hyperlinkfield code looks like this:
<asp:HyperLinkField
Text="Map" DataNavigateUrlFields="SUB_CODE"
DataNavigateUrlFormatString="authenticate.asp?code={0}" Target=_blank<ItemStyle Width="28px" />
</asp:HyperLinkField>
How do I get the toolbar, menu, etc. removed within the hyperlinkfield
code? Any tips on re-using the window if the user hasn't closed it
would be appreciated. Thanks.
showing a map of the entry from the that table. The link looks like
this:
<a href="authenticate.asp" onClick="window.open('authenticate.asp?
code=COUNTRYSIDEESTATES','gismap','toolbar=no,menubar=no,location=no,directories=no,status=yes,scrollbars=yes,resizable=yes,copyhistory=no,height=600,width=800');return
false">Map</a>
Now that the department has settled on the fields they want in the
database I have converted the page to a gridview bound to a
sqldatasource. The 'code' attribute in the link above is a field in
the table.
In my aspx page, I have bound the 'code' and havesuccessfully gotten a
pop up window that zooms the map to the proper entry in the table, but
the window contains the toolbar, menu, etc., which I want removed from
the pop up.
Currently the hyperlinkfield code looks like this:
<asp:HyperLinkField
Text="Map" DataNavigateUrlFields="SUB_CODE"
DataNavigateUrlFormatString="authenticate.asp?code={0}" Target=_blank<ItemStyle Width="28px" />
</asp:HyperLinkField>
How do I get the toolbar, menu, etc. removed within the hyperlinkfield
code? Any tips on re-using the window if the user hasn't closed it
would be appreciated. Thanks.