Showing posts with label address. Show all posts
Showing posts with label address. Show all posts

Thursday, March 22, 2012

Taking off the Address Bar and..

hi

I'Dont know to much about JavaScript, anyway
I'm using JavaScript (NewWin = open('" + UML + "','null')) to open a new
windows , and it works fine, but now, I dont want to show in the new window
neither Address Bar nor Standard Buttons Bar.

I think there is a parameter to do it, also I′m using IE 6.0

Any Sugg
Thks

Kendo a google on it, there are a series of params and that is indeed an
option. It's not an ASP.NET issue but rather a clientside/javascript one.
I'd start there.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Ken" <Ken@.discussions.microsoft.com> wrote in message
news:64F77FE9-9B17-4F6C-B0F3-8D69B86E238C@.microsoft.com...
> hi
> I'Dont know to much about JavaScript, anyway
> I'm using JavaScript (NewWin = open('" + UML + "','null')) to open a new
> windows , and it works fine, but now, I dont want to show in the new
> window
> neither Address Bar nor Standard Buttons Bar.
> I think there is a parameter to do it, also Im using IE 6.0
> Any Sugg
> Thks
> Ken
NewWin = window.open (<url>, <windowName>, 'location=no,toolbar=no');

HTH

"Ken" <Ken@.discussions.microsoft.com> wrote in message
news:64F77FE9-9B17-4F6C-B0F3-8D69B86E238C@.microsoft.com...
hi

I'Dont know to much about JavaScript, anyway
I'm using JavaScript (NewWin = open('" + UML + "','null')) to open a new
windows , and it works fine, but now, I dont want to show in the new window
neither Address Bar nor Standard Buttons Bar.

I think there is a parameter to do it, also Im using IE 6.0

Any Sugg
Thks

Ken

Taking off the Address Bar and..

hi
I'Dont know to much about JavaScript, anyway
I'm using JavaScript (NewWin = open('" + UML + "','null')) to open a new
windows , and it works fine, but now, I dont want to show in the new window
neither Address Bar nor Standard Buttons Bar.
I think there is a parameter to do it, also I′m using IE 6.0
Any Sugg
Thks
Kendo a google on it, there are a series of params and that is indeed an
option. It's not an ASP.NET issue but rather a clientside/javascript one.
I'd start there.
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Ken" <Ken@.discussions.microsoft.com> wrote in message
news:64F77FE9-9B17-4F6C-B0F3-8D69B86E238C@.microsoft.com...
> hi
> I'Dont know to much about JavaScript, anyway
> I'm using JavaScript (NewWin = open('" + UML + "','null')) to open a new
> windows , and it works fine, but now, I dont want to show in the new
> window
> neither Address Bar nor Standard Buttons Bar.
> I think there is a parameter to do it, also Im using IE 6.0
> Any Sugg
> Thks
> Ken
NewWin = window.open (<url>, <windowName>, 'location=no,toolbar=no');
HTH
"Ken" <Ken@.discussions.microsoft.com> wrote in message
news:64F77FE9-9B17-4F6C-B0F3-8D69B86E238C@.microsoft.com...
hi
I'Dont know to much about JavaScript, anyway
I'm using JavaScript (NewWin = open('" + UML + "','null')) to open a new
windows , and it works fine, but now, I dont want to show in the new window
neither Address Bar nor Standard Buttons Bar.
I think there is a parameter to do it, also Im using IE 6.0
Any Sugg
Thks
Ken

Tuesday, March 13, 2012

Targetting the frameset from the address bar

Hello fellows,
I have a Web application using frameset and frames. When I click in a
hyperlink button I can send the selected aspx page using the "target"
attribute into the selected frame. However when the aspx page is called from
IE address bar the page is loaded into the entire browser and not into the
frame I would like to. I tried to use the target attribute of the attribute
form but it does not work.
I noticed that when the page is called from the address bar the content of
"Request.UrlReferrer" is null but I do not find how to send this page into
the desired frame programmatically.
It would be appreciated if anybody knows how to redirect the page into the
frame.
Thanks in advance
PetePut this in the HEAD section of the subframe pages that people could try to
load without the main frameset page:

<SCRIPT LANGUAGE="JavaScript">
<!--

if (top.location.href.indexOf("frameset.aspx") == -1)
top.location.href = "frameset.aspx";

// -->
</SCRIPT>

Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
"Pierre" wrote:

Quote:

Originally Posted by

Hello fellows,
I have a Web application using frameset and frames. When I click in a
hyperlink button I can send the selected aspx page using the "target"
attribute into the selected frame. However when the aspx page is called from
IE address bar the page is loaded into the entire browser and not into the
frame I would like to. I tried to use the target attribute of the attribute
form but it does not work.
I noticed that when the page is called from the address bar the content of
"Request.UrlReferrer" is null but I do not find how to send this page into
the desired frame programmatically.
It would be appreciated if anybody knows how to redirect the page into the
frame.
Thanks in advance
Pete


Thanks a lot Peter

After a dummy test with frameset I finally got what I need with your answer.

Regards,

Pete

"Peter Bromberg [C# MVP]" wrote:

Quote:

Originally Posted by

Put this in the HEAD section of the subframe pages that people could try to
load without the main frameset page:
>
<SCRIPT LANGUAGE="JavaScript">
<!--
>
if (top.location.href.indexOf("frameset.aspx") == -1)
top.location.href = "frameset.aspx";
>
// -->
</SCRIPT>
>
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
>
>
>
>
"Pierre" wrote:
>

Quote:

Originally Posted by

Hello fellows,
I have a Web application using frameset and frames. When I click in a
hyperlink button I can send the selected aspx page using the "target"
attribute into the selected frame. However when the aspx page is called from
IE address bar the page is loaded into the entire browser and not into the
frame I would like to. I tried to use the target attribute of the attribute
form but it does not work.
I noticed that when the page is called from the address bar the content of
"Request.UrlReferrer" is null but I do not find how to send this page into
the desired frame programmatically.
It would be appreciated if anybody knows how to redirect the page into the
frame.
Thanks in advance
Pete

tcp/ip

I need to connect to a server via my web page using an IP address and Port
number, this is not a web server, it is a file share server. Can anyone poin
t
me to an example on how this works?connect to it for what? But basically you will have to use the standard File
Access ports without some major working.
Curt Christianson
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Mike" <Mike@.discussions.microsoft.com> wrote in message
news:513127E1-F87B-43D9-8F1E-516FF47AA979@.microsoft.com...
>I need to connect to a server via my web page using an IP address and Port
> number, this is not a web server, it is a file share server. Can anyone
> point
> me to an example on how this works?
>
Oh, forgot to add, just add a virtual DIR in the IIS manager to point to
that server\folder, that would be easiest
Curt Christianson
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Mike" <Mike@.discussions.microsoft.com> wrote in message
news:513127E1-F87B-43D9-8F1E-516FF47AA979@.microsoft.com...
>I need to connect to a server via my web page using an IP address and Port
> number, this is not a web server, it is a file share server. Can anyone
> point
> me to an example on how this works?
>
you need to know what protocol the file share server is using.
-- bruce (sqlwork.com)
"Mike" <Mike@.discussions.microsoft.com> wrote in message
news:513127E1-F87B-43D9-8F1E-516FF47AA979@.microsoft.com...
| I need to connect to a server via my web page using an IP address and Port
| number, this is not a web server, it is a file share server. Can anyone
point
| me to an example on how this works?
|

tcp/ip

I need to connect to a server via my web page using an IP address and Port
number, this is not a web server, it is a file share server. Can anyone point
me to an example on how this works?connect to it for what? But basically you will have to use the standard File
Access ports without some major working.

--
Curt Christianson
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Mike" <Mike@.discussions.microsoft.com> wrote in message
news:513127E1-F87B-43D9-8F1E-516FF47AA979@.microsoft.com...
>I need to connect to a server via my web page using an IP address and Port
> number, this is not a web server, it is a file share server. Can anyone
> point
> me to an example on how this works?
Oh, forgot to add, just add a virtual DIR in the IIS manager to point to
that server\folder, that would be easiest

--
Curt Christianson
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"Mike" <Mike@.discussions.microsoft.com> wrote in message
news:513127E1-F87B-43D9-8F1E-516FF47AA979@.microsoft.com...
>I need to connect to a server via my web page using an IP address and Port
> number, this is not a web server, it is a file share server. Can anyone
> point
> me to an example on how this works?
you need to know what protocol the file share server is using.

-- bruce (sqlwork.com)

"Mike" <Mike@.discussions.microsoft.com> wrote in message
news:513127E1-F87B-43D9-8F1E-516FF47AA979@.microsoft.com...
| I need to connect to a server via my web page using an IP address and Port
| number, this is not a web server, it is a file share server. Can anyone
point
| me to an example on how this works?
|