Ask a Question related to ASP.NET General, Design and Development.
-
Ravikanth[MVP] #1
setting properties of new window
Hi
Put anchor tag href as #.
Add onclick event for anchor.
In onclick event call a javascript method, which will
open a new with specified width and height.
HTH
Ravikanth
width and height>-----Original Message-----
>How do I add to this anchor tag so that I can set the***>etc of the new window?
>
><a href='<%# "oli_display.aspx?OLI=" +
>DataBinder.Eval(Container.DataItem, "OLI") + "&OS=" +
>DataBinder.Eval(Container.DataItem, "Incoming Route") %>'
>target="_blank">
>
>
>Any advice would be much appreciated.
>
>
>Cheers,
>
>Mike
>
>
>*** Sent via Developersdex [url]http://www.developersdex.com[/url]>Don't just participate in USENET...get rewarded for it!
>.
>Ravikanth[MVP] Guest
-
Exception during setting of properties
I am finishing up work on a custom treeview control that has a Nodes property. Each TreeNode in the collection also has a Nodes property. If I... -
setting properties - what am I doing wrong?
Hell I'm trying to set the properties of a shape on my stage. Here's my script on (release) setProperty("_level0.circle", _x, 50) I... -
Setting Properties Dynamically?
Ok, I have an action script that dynamically creates multiple buttons, using the duplicate movie action. Within each object is a dynamic text layer... -
properties not showing in properties window at design time
I created a usercontrol using vb but the properties will not show in the properties pane however the properties show up in the intellisence list.... -
Setting Window Title On New Window
Why will the following code not change the window title of the new window? window.open "Default.htm" ,"YO" -
S. Justin Gengo #2
Re: setting properties of new window
Mike,
You can find sample javascript to open a new window pretty easily on the
web. If you want a .net object that opens a new window to set sizes I have
built one and have it available for free on my web site. (Actually
everything on the site is free.) I also have some raw javascript examples to
open windows. Both are available in the code library on my site:
[url]www.aboutfortunate.com[/url]. Just click the "Javascript" button in the left menu
if you want to use the .net object. Otherwise search the code library for
"open window" and you'll get a couple of examples.
Good luck!
--
S. Justin Gengo, MCP
Web Developer
Free code library at:
[url]www.aboutfortunate.com[/url]
"Out of chaos comes order."
Nietzche
"Mike P" <mrp@telcoelectronics.co.uk> wrote in message
news:uhDqBQpWDHA.1748@TK2MSFTNGP12.phx.gbl...> How do I add to this anchor tag so that I can set the width and height
> etc of the new window?
>
> <a href='<%# "oli_display.aspx?OLI=" +
> DataBinder.Eval(Container.DataItem, "OLI") + "&OS=" +
> DataBinder.Eval(Container.DataItem, "Incoming Route") %>'
> target="_blank">
>
>
> Any advice would be much appreciated.
>
>
> Cheers,
>
> Mike
>
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
S. Justin Gengo Guest



Reply With Quote

