473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Simple Newby Question


I'm new to vb.net web developer 2005. I assume that this is the correct web site for this question, but please let me know if there
is another that is better.

I'm having difficulty finding the syntax to open a new/second browser window (from an existing one) and how to subsequently close it
via a control button.

Would someone please set me on the right path?

Thanks


--
Posted via a free Usenet account from http://www.teranews.com

Aug 4 '06 #1
2 907
Jeff,

I am not a .net web developer but its past 1 am here ...so if ur still
looking for your answer right now, i might be able to help
you and let you know how its done with vb.net
If it was a form, ( with vb.net ) i would have code like this:
Dim newFormScreen As Form = New FormCreatedInVB()
newFormScreen.ShowDialog()

Im new to it too..but the way i understand it so far is that you create an
instance of the "document" you have developed
and then show it.

I hope web is very simillar and u get ur answer from this... otherwise..
everyone please ignore my post and help us newbies out ;)

Thanks to everyone who has helped me out so far.

Miro
"Jeff" <no**@none.comwrote in message
news:44**********************@free.teranews.com...
>
I'm new to vb.net web developer 2005. I assume that this is the correct
web site for this question, but please let me know if there
is another that is better.

I'm having difficulty finding the syntax to open a new/second browser
window (from an existing one) and how to subsequently close it
via a control button.

Would someone please set me on the right path?

Thanks


--
Posted via a free Usenet account from http://www.teranews.com

Aug 4 '06 #2
Jeff, Miro -

ASP.NET is a server side construct and has no (or very very limited) concept
of client side constructs. Since it runs on the server, ASP.NET would have
no way of directly opening a new browser window on the client. To accomplish
this you need to use javascript (see window.open on MSDN). Once you have
your js you have two methods of getting it to function client side. One
(recommended), write the js directly into the HTML code at design time.
Then call the js via some element's onclick attribute. Two, inject the js
into the page from the server side at runtime using (If I remember correctly)
Page.RegisterClientScriptBlock.

Enjoy,

-Boo

Jeff,

I am not a .net web developer but its past 1 am here ...so if ur still
looking for your answer right now, i might be able to help
you and let you know how its done with vb.net
If it was a form, ( with vb.net ) i would have code like this:
Dim newFormScreen As Form = New FormCreatedInVB()
newFormScreen.ShowDialog()
Im new to it too..but the way i understand it so far is that you
create an
instance of the "document" you have developed
and then show it.
I hope web is very simillar and u get ur answer from this...
otherwise.. everyone please ignore my post and help us newbies out ;)

Thanks to everyone who has helped me out so far.

Miro

"Jeff" <no**@none.comwrote in message
news:44**********************@free.teranews.com...
>I'm new to vb.net web developer 2005. I assume that this is the
correct
web site for this question, but please let me know if there
is another that is better.
I'm having difficulty finding the syntax to open a new/second browser
window (from an existing one) and how to subsequently close it
via a control button.
Would someone please set me on the right path?

Thanks

-- Posted via a free Usenet account from http://www.teranews.com

Aug 4 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Pete | last post by:
Hi All, A total Newby with, possibly, a daft question? However, until I can get a reasonable explanation I am disinclined towards going further. Here goes: I recently downloaded the latest...
9
by: robbie.carlton | last post by:
Hello! I've programmed in c a bit, but nothing very complicated. I've just come back to it after a long sojourn in the lands of functional programming and am completely stumped on a very simple...
10
by: Fred Nelson | last post by:
Hi: I have programmed in VB.NET for about a year and I'm in the process of learing C#. I'm really stuck on this question - and I know it's a "newby" question: In VB.NET I have several...
0
by: Pietje puk | last post by:
Hello, Since im quite new to ASP.NET i wanted to ask you folks what the best way is to create a WebForm for modifying 1 field from a record. The manipulation of this field can be done by using...
3
by: John Baker | last post by:
Hi:7 Newby here to ASP, and using the ASP.NET Web Matrix development tool. While that tool looks great for a Newby, I have run into a snag. I have an HTML Text Box which I have named HireInput,...
4
by: Fred Nelson | last post by:
Hi: I'm developing a web application that needs to have five values, each retrieved from cookies on many pages. If I have five "Request.Cookies" commands together does this cause five "round...
2
by: Fred Nelson | last post by:
Hi: I'm working on a VS2005 web application and I have what is probabably a "newby" question. In VS2003 I could drag a textbox/button/etc on to a form and position it with the mouse. I...
2
by: johnnyG | last post by:
Greetings, I'm studying for the 70-330 Exam using the MS Press book by Tony Northrup and there are 2 side-by-side examples of using the SHA1CryptoServiceProvider to create a hash value from a...
10
by: Charles Russell | last post by:
Why does this work from the python prompt, but fail from a script? How does one make it work from a script? #! /usr/bin/python import glob # following line works from python prompt; why not in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.