473,396 Members | 1,861 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,396 software developers and data experts.

wizard control, and javascript

I have a textbox within a wizard control on form1. The textbox is to be
populated with a value user selects in form2.

In form1, the link to popup form2 is placed inside a label since I need to
make the link available or not available depending on some conditions:

lblSel.Text = "<a
href=""javascript:xyz_window=window.open('form2.as px?formname=form1.Wizard1_txtProduct','xyz_window' ,'width=720,height=800,scrollbars=1');xyz_window.f ocus()"">Select
Product</a "

In form2, I have the following code within a gridview's SelectedIndexChanged
event :
Dim strjscript As String = "<script language=""javascript"">"

strjscript &= "window.opener." & _

HttpContext.Current.Request.QueryString("formname" ) & ".value = '" & _

grd1.SelectedValue & "';window.close();"

strjscript = strjscript & "</" & "script>"
The problem is, the forms work perfectly in IE, but not Firefox. In FF,
when a value is selected in form2, nothing happens; and it seems like it's
unable to identify the textbox control to pass the value back.

Any insight on solving this problem greatly appreciated.

I'm using VB2005, .Net 2.0

Thanks
Oct 27 '08 #1
0 933

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

Similar topics

2
by: YARG | last post by:
I've got a load of client side javascript that I want to use with the wizard control. The idea being that when the user clicks on the "Next" button then it will validate just that page. I don't...
0
by: YARG | last post by:
I've got a load of client side javascript that I want to use with the wizard control. The idea being that when the user clicks on the "Next" button then it will validate just that page. I don't...
2
by: Nick | last post by:
Is there anyway to get a javascript confirm button on the wizard control so that when a user clicks "cancel" it can prompt something like... "Are you sure you want to cancel? Your changes will...
0
by: Seok Bee | last post by:
Dear Experts, I am having a wizard control in my web app. I have some textbox controls within the wizard control. At the same time, I have a hyperlink to run a pop-up window for calendar. The...
2
by: BJ | last post by:
I had this crazy idea. We have an existing application that could use some rework. I was going to redo the application (currently ASP.Net 1.1) using ASP.Net 2.0: Master page with Header,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.