Re: How to get value of selected checkboxes in...



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
<zoneal@xxxxxxxxx> wrote in message
news:1129469656.111184.280660@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> 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.
>


.



Relevant Pages

  • RE: Dynamic control creation.
    ... "Phillip Williams" wrote: ... Once i have created these checkboxes dynamically then what i have on the ... controls) recreates the 3 checkboxes. ... created depending on the option the user has selected in the Dropdown. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • RE: Dynamic control creation.
    ... Once i have created these checkboxes dynamically then what i have on the ... controls) recreates the 3 checkboxes. ... created depending on the option the user has selected in the Dropdown. ... when i try dong this in this event i dont see the SelectedValue of the ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • RE: Dynamic control creation.
    ... of a check box that the value of the label is updated), ... javascript on the checkboxes to update the value of this label, ... When i looked in the source code i found out that the server side label ... controls) recreates the 3 checkboxes. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • RE: Unbound Checkboxes need to trigger event
    ... The event doesn't happen because the checkboxes aren't ... Now look for the option 'Tag'. ... an Option Group can only have one thing selected in it. ... the controls by checking the tag of the controls. ...
    (microsoft.public.access.formscoding)
  • Re: TV Tuning with MSVidCtl? Other ActiveX Controls?
    ... This posting is provided AS IS with no warranties, and confers no rights. ... >> MSVidCtl. ... >> to communicate this feature-request. ... We currently use these controls that I mentioned in the XP ...
    (microsoft.public.windowsce.embedded)