473,662 Members | 2,536 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Bug? Strange between Wizard control and client javascript code

nkw
I have two textboxes (tbox1, tbox2) in a step of Wizard control. I use
javascript code to clear tbox2 when onblur occurring on tbox1:

tbox1.Attribute s["onblur"] = "javascript :var tbox2 =
document.getEle mentById('<%=tb ox2.ClientID%>' ); tbox2.value=''; ";

1) I tried to put some non-empty string data in tbox2 and press next button.

2) Then I go back to previous step and leave focus of tbox1 and the screen
showed tbox2 is cleared by the javascript code.

3) I click next button again However, the code in Wizard1_NextBut tonClick
still get the value of tbox2's previous non-empty string value.

However, I did create a simple test page and the step (3) got the expected
empty string.

Anything setting I missed? Or the wizard control's bug?
Nov 15 '06 #1
0 916

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

Similar topics

1
2856
by: David Chan | last post by:
Hi, I'm trying to use python to create GUI wizards, i.e. sequences of dialog boxes with <BACK and NEXT> buttons. Since I want to re-use some of the dialog boxes in different wizards, I want to have a main function which calls each dialog box, much like this: def select_item(): """runs GUI wizard to select item"""
7
2299
by: Aaron Prohaska | last post by:
I have just run into a problem where I have a page that posts back to itself to execute code, except when the page does the post back it somehow executes code that is in our home page for the site. The only reason I know that is happening is because I keep track of the pages executed by the user to see how they have traversed the site. Has anyone every seen anything like this before? Regards, Aaron Prohaska
2
1871
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 want to use the built in control validation as I have a lot of javascript that I'd like to reuse for formatting etc .. One idea was to use the PreRender and do something like this;
2
4344
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 not be saved."
0
1541
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 pop-up window is executed by calling a javascript function. However, when I click on the calendar link for the pop-up, I received an error message stating : Microsoft JScript runtime error: Object required When I use the same script in another...
1
2047
by: clickon | last post by:
For testing purposes i have got a 2 step WizardControl. Eqach step contains a text box, TextBox1 and TextBox2 respectively. If i put the following code in the respective activate event handlers for the two steps, TextBox1.Text ="foo"; and TextBox2.Text = "bar";
4
3852
by: Nate Murray | last post by:
Hey all, I'm having a strange PHP (4.3.10) problem that seems to have something to do with javascript. This is a bit complex, so hold on to your hats. My issue is that a single function is wrongly being called twice. The weird part is that no "print" functions are being repeated, but any "lower" functions, such as fwrite or Pear::Mail::send are repeated twice. It is the strangest
2
6994
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, Footer, Side bar and Body One of the content panels would use a Wizard control stepping the user through submitting an Ergonomic Review Request.
5
9562
AnuSumesh
by: AnuSumesh | last post by:
Hi, I am using asp:wizard control in my application to collect data from user. I want to validate the input data on click of each next button. I want to use clientside script to avoid the wastage of time (taken in posting data to and from server). But i am unable to find the control in c# code file. My code is: <StepNavigationTemplate>
0
8432
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8344
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8546
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1993
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1752
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.