473,404 Members | 2,187 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,404 software developers and data experts.

CheckBoxList Clear - client side?

Is there anyway to clear a checkbox list (uncheck all items) on the client
side without causing a trip to the server?

If so, could someone show me how?
Thanks,
T
Nov 19 '05 #1
2 2470
Depends on what you mean by "clear". You can certainly use DHTML to delete
all the elements that represent the checkboxes (afterall it is only HTML).
But the information that the server uses may exist in the viewstate and
therefore cannot be manipulated on the client.

"Tina" <ti**********@removespamexcite.com> wrote in message
news:#Q**************@TK2MSFTNGP09.phx.gbl...
Is there anyway to clear a checkbox list (uncheck all items) on the client side without causing a trip to the server?

If so, could someone show me how?
Thanks,
T

Nov 19 '05 #2
Depends on what you mean by "clear". You can certainly use DHTML to delete
all the elements that represent the checkboxes (afterall it is only HTML).
But the information that the server uses may exist in the viewstate and
therefore cannot be manipulated on the client.

"Tina" <ti**********@removespamexcite.com> wrote in message
news:#Q**************@TK2MSFTNGP09.phx.gbl...
Is there anyway to clear a checkbox list (uncheck all items) on the client side without causing a trip to the server?

If so, could someone show me how?
Thanks,
T

Nov 19 '05 #3

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

Similar topics

1
by: charliewest | last post by:
The MSDN documentation states that it is not possible to validate the CheckBoxList server control in ASP.NET using the RequiredFieldValidator. Is it possible to do this via the CustomValidator...
5
by: Eirik Eldorsen | last post by:
I'm trying to code a reapter that for each listelement show a checkboxlist. I'm almost there. The only thing I can't figure out is how to set the ID of the checkboxlists. This is my code:...
0
by: Tina | last post by:
Is there anyway to clear a checkbox list (uncheck all items) on the client side without causing a trip to the server? If so, could someone show me how? Thanks, T
3
by: Dune | last post by:
Hi, Is there anyway to get the datavaluefield from a databound checkboxlist using javascript? If not, is there any way to associate a custom attribute with the databound checkboxlist items so...
0
by: Sandy | last post by:
Hello! I need client side script to verify that at least one checkbox is checked in a checkboxlist. Any suggestions? -- Sandy
14
by: Satheesh Babu B | last post by:
hai.. am having a checkboxlist..now how do i get the value of the checkbox that is checked in checkboxlist using javascript? Thanks in advance.... Regards,
2
by: rishabhshrivastava | last post by:
Hi All, I am using CallBack feature in ASP.NET 2.0 and I am running into a problem with checkboxlist control. I have to find out which checkboxes are checked and get their values at...
2
by: Bart Van Hemelen | last post by:
The situation: I have a CheckBoxList cblTest, the items are disabled in cblTest_DataBound in a foreach (ListItem oItem in cblTest.Items) loop. I provide a link that calls a client-side JavaScript...
0
by: sdoerfli | last post by:
hi, i have a website with a checkboxlist where onclick of a special item of it a highlighting of an object in a map should be performed. my problem is that i could call a javascript on client...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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,...
0
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...

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.