473,663 Members | 2,694 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

checkbox weird Problem

Hi,

I have a weird problem in checkbox.In my page, When i move mouse from
one textbox to other suddenly the chechbox's text is selected and the
typed chracters are attached to the checkbox text.For example, if the
checkbox text is "Others" and if i typed "test" then the checkboxes
text changed to "Otherstest ".

Here is the complete scenoria.

In my .aspx web page, i have number of checkboxes and textboxes.For
one check box i have added a onclick attribute to call a javascript,
which will show two textboxes.The texboxes has a Required Field
validators.When i check the checkbox,it is opening two textbox and the
mandatory validators are fired,The problem is , when i move focus from
one text box to other, suddenly the Checkbox text is selected and the
text typed are attached to the Checkbox's text.

Please help me..

Jun 10 '06 #1
2 1238
really sounds like something in your code , can u send a quick snippet of
your code ??
Jun 11 '06 #2

KeyboardSurfer wrote:
really sounds like something in your code , can u send a quick snippet of
your code ??


Thanks for your reply.

The actual problem is, i am having a numeric validator for the
textboxes. The validators are having dynamic display property.When i
enter some text in the first textbox and move focus to the second
textbox, the numeric validator is fired.So the second text box and
other controls are pushed down and i got the focus on the checkbox
text.

I don't know how to handle this.Please help me.

Jun 12 '06 #3

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

Similar topics

1
6209
by: David Wake | last post by:
I have two radio buttons and two checkboxes in a form. I'm trying to write some code so that when a radio button is selected, its corresponding checkbox is disabled. My code looks like this: function radioClicked(index) { document.table_config_form.my_checkbox.disabled = true;
2
2082
by: Alan Silver | last post by:
Hello, I have a repeater with a list of products in it. Each item in the repeater has a checkbox, allowing the product to be selected. When a link button is clicked, I want to loop through the repeater and handle each product whose checkbox is checked. The repeater looks (greatly chopped down) like this... <asp:Repeater ID="rptProducts" RunAt="Server">
1
274
by: James | last post by:
I've added a template column to a DataGrid that contains a checkbox control. The default value for this checked. All items are checked on page load. I add a column to my dataset that contains a default value as well. If a record is unchecked in the grid, I need an event handler that can update the dataset based on the ID or row. Right now I can add a OnCheckedChanged handler on the HTML side of things and get that event to fire...which...
4
3944
by: SJ | last post by:
Hi all, I have come across a weird problem when attempting to automatically set the focus in a vb.net form to a checkbox control... In my form I have (on a tab page in a tab control) several textboxes and a checkbox. The behaviour I want from my app is as follows:- When the textbox (which is prior in tab order to the tab control) has been filled with a certain length of text by the user, the focus is
8
16593
by: Alan Silver | last post by:
Hello, I have a repeater that has code like this... <ItemTemplate> <asp:CheckBox ID="chkDelete" Text="" RunAt="server"/> .... other stuff goes here </ItemTemplate> There is a button below the repeater. When clicked, it is supposed to
0
1077
by: M.Selvakumar | last post by:
Hi, I have a weird problem in checkbox.In my page, When i move mouse from one textbox to other suddenly the chechbox's text is selected and the typed chracters are attached to the checkbox text.For example, if the checkbox text is "Others" and if i typed "test" then the checkboxes text changed to "Otherstest". Here is the complete scenoria.
10
18925
by: Bishman | last post by:
Hi, I need to programmatically allow or disallow the selection of multiple checkboxes on a form . At certain times I only want to allow a single selection, at other times I may wish to allow multiple. Is there a way of doing this ? I dont want to use Radio buttons..... Thanks,
0
1350
by: admlangford | last post by:
Hi, I have a WYSIWYG editor which allows people to build their own forms on the fly (HTML controls only). I am going through each of the controls in the Request.Form.AllKeys collection and validating them. However, checkboxes only appear if they are checked and if they are not checked then they do not appear in the above collection... Given that I need to know if a checkbox is checked or not, how am I
0
8435
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
8345
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
8547
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,...
0
7368
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
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
5655
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4181
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...
1
2763
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
1754
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.