Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > How to validate,save checkboxlist at values selected by user

Reply
Thread Tools

How to validate,save checkboxlist at values selected by user

 
 
Kumar
Guest
Posts: n/a
 
      07-22-2005
Hi ,

I am using the article code shown in below url:

http://www.codeproject.com/aspnet/xm...select=1170328


This article is very cool feature.

I am trying to implement this into my application.

I got struck while doing validation (mandatory answer) and saving user
selected checkbox values for the aspx element checkboxlist (chklist1).

If it is textbox we will say Request.form["tbname1"]

But it's not possible if it is checkboxlist.
we cannot say Request.form[chklist1]

Suppose If I have 4 checkboxes in my checkbox list group, I want to store
some value for each checkbox and while saving get the values for the user
selected checkboxes and save it to database.

Usually if it is html checkbox, if user checks we will get value as "on".

How to solve this kind of problem ???

Any kind of help is greatly appreciated.

Thanks
Anil

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Access selected items' (ListItems) VALUES of dynamically generated CheckBoxList on postBack Boris ASP .Net 1 09-30-2008 11:08 AM
How to get Selected item in a Databinded CheckBoxList when CheckBoxlist is in a DataList? Patrick.O.Ige ASP .Net 5 06-19-2005 06:11 AM
Getting CheckBoxList selected values Patrick Olurotimi Ige ASP .Net 1 06-16-2005 08:52 AM
Access selected items' (ListItems) VALUES of dynamically generated CheckBoxList on postBack Amelyan ASP .Net Web Controls 0 04-17-2005 02:58 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57