How to get value of selected checkboxes in...

Z

zoneal

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.
 
S

S. Justin Gengo

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top