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

How to get value of selected checkboxes in...

Hello there,

Currently I am working with the project which needs dynamically
generated checkboxes and i have

generated dynamic checkboxes but i am facing problem with getting the
value of selected checkboxes.

Problem is described below to understand easily, so please let me know
if you come to know the

soln...

I am creating a form to assign rights to administrator of site for
managing rights of different

modules from backend system. Please have a look at attached file to
better understand the structure

of "admin rights" form which i have used.

Desciption:
There are four rights for each module and I want to set the rights will
be allocated to selected

user based on the checked checkboxs. This data has to be send to
database and that user will get

rights based on the rights given to him.
Plz tell me how (by which property or method) can I fetch the value of
checkbox from this form.

Any help, advice or pointers on this matter would be highly
appreciated.

Nov 19 '05 #1
1 1877
zoneal,

When placing controls onto a page dynamically you need to recreate the
controls on postback in order to access their values.

I have sample code for working with dynamic controls on my website that you
may view here: http://www.aboutfortunate.com?page=codelibrary

Type "Dynamic Control" into the search text box on the page and you'll have
a list of all the sample code I have for working with dynamic controls. I
think it will help.

Feel free to email me if you have any other questions.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
<zo****@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hello there,

Currently I am working with the project which needs dynamically
generated checkboxes and i have

generated dynamic checkboxes but i am facing problem with getting the
value of selected checkboxes.

Problem is described below to understand easily, so please let me know
if you come to know the

soln...

I am creating a form to assign rights to administrator of site for
managing rights of different

modules from backend system. Please have a look at attached file to
better understand the structure

of "admin rights" form which i have used.

Desciption:
There are four rights for each module and I want to set the rights will
be allocated to selected

user based on the checked checkboxs. This data has to be send to
database and that user will get

rights based on the rights given to him.
Plz tell me how (by which property or method) can I fetch the value of
checkbox from this form.

Any help, advice or pointers on this matter would be highly
appreciated.

Nov 19 '05 #2

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

Similar topics

6
by: LRW | last post by:
I have no idea if this is more a PHP question or Javascript question, because my problem hinges equally on both. I have a PHP script that queries a database and creates a list of rows for each...
4
by: Shufen | last post by:
Hi, I'm a newbie that just started to learn python, html and etc. I have some questions to ask and hope that someone can help me on. I'm trying to code a python script (with HTML) to get...
3
by: juststarter | last post by:
Hello, I have an aspx file where i've put a placeholder element. On load i create dynamically a table which contains a checkbox and a radiobuttonlist in each tablerow . The radiobuttonlist...
3
by: Amy Snyder | last post by:
For what I thought would be a very simple task is turning out to be very frustrating. I have been trying for a day now to extract checkbox values from my form and nothing is working. On my form...
4
by: Patrick.O.Ige | last post by:
I'm DataBinding a CheckBoxList and i want to get the checkboxes selected when the page is loaded depending on a Boolean value from the Database.. chkDebtor.DataSource = objDR...
7
by: deepagulati | last post by:
Hi, I need an urgent help from you. When we dynamically genrate any list box (Select Box) it shows one default value as selected. Is there any way that we can deselect that value. I...
4
by: Brett Wesoloski | last post by:
I am having a bit of a problem getting the current value of the checkbox list. I have tried using the selected value as I thought that would give me the current value of the check box but it...
4
by: jeet | last post by:
Plz help me.Problem is that On the first page I display all other user with checkbox and give user option to select only two user which he wants to send message. Tell me please how I'll get those...
9
by: magix | last post by:
If I have <form action="process.asp" method="get" name="form1"> .... .... <input TYPE=checkbox name=sports VALUE=Cricket> <input TYPE=checkbox name=sports VALUE=Swimming> <input...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.