Click here to Skip to main content
15,848,264 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: counting a checkbox within a datalist and submitting Pin
uglyeyes13-Jul-06 4:31
uglyeyes13-Jul-06 4:31 
GeneralRe: counting a checkbox within a datalist and submitting Pin
minhpc_bk13-Jul-06 16:27
minhpc_bk13-Jul-06 16:27 
GeneralRe: counting a checkbox within a datalist and submitting Pin
uglyeyes13-Jul-06 17:01
uglyeyes13-Jul-06 17:01 
GeneralRe: counting a checkbox within a datalist and submitting Pin
uglyeyes13-Jul-06 19:28
uglyeyes13-Jul-06 19:28 
GeneralRe: counting a checkbox within a datalist and submitting Pin
uglyeyes13-Jul-06 21:11
uglyeyes13-Jul-06 21:11 
GeneralRe: counting a checkbox within a datalist and submitting Pin
minhpc_bk13-Jul-06 21:32
minhpc_bk13-Jul-06 21:32 
GeneralRe: counting a checkbox within a datalist and submitting Pin
uglyeyes16-Jul-06 16:45
uglyeyes16-Jul-06 16:45 
GeneralRe: counting a checkbox within a datalist and submitting Pin
minhpc_bk17-Jul-06 0:54
minhpc_bk17-Jul-06 0:54 
You'll have many ways to check if the user select one or more items:

+ Use the server side code to count the number of the selected checkboxes in the Items collection.
+ Use javascript to validate if the user chooses more than 2 items, you can use a custom validator in this case.
+ Simply persist the current number of the selected checkboxes in a hidden textbox using javascript, and use the CompareValidator to validate the textbox.
+ Keep using the radiobuttonlist, but may consider adding another checkbox and place it right at the beggining of the category name to give the user an option to not choose any item.


It's weird when getting voted down with all 1s Unsure | :~

QuestionThreading Pin
venkatasivaramaprasad11-Jul-06 4:03
venkatasivaramaprasad11-Jul-06 4:03 
AnswerRe: Threading Pin
Not Active11-Jul-06 4:38
mentorNot Active11-Jul-06 4:38 
QuestionHow to Pass multiple arugumnets Pin
VenkataRamana.Gali11-Jul-06 3:35
VenkataRamana.Gali11-Jul-06 3:35 
AnswerRe: How to Pass multiple arugumnets Pin
dwatkins@dirq.net11-Jul-06 5:31
dwatkins@dirq.net11-Jul-06 5:31 
QuestionTwo Way Sorting with Up/Down Arrow Pin
wEb GuRu...11-Jul-06 2:35
wEb GuRu...11-Jul-06 2:35 
AnswerRe: Two Way Sorting with Up/Down Arrow Pin
Saifi Hasan11-Jul-06 3:28
Saifi Hasan11-Jul-06 3:28 
GeneralRe: Two Way Sorting with Up/Down Arrow Pin
wEb GuRu...11-Jul-06 23:21
wEb GuRu...11-Jul-06 23:21 
QuestionConvert aspx pages to html Pin
Vipin Venugopal11-Jul-06 1:34
Vipin Venugopal11-Jul-06 1:34 
AnswerRe: Convert aspx pages to html Pin
Paddy Boyd11-Jul-06 1:57
Paddy Boyd11-Jul-06 1:57 
GeneralRe: Convert aspx pages to html Pin
dwatkins@dirq.net11-Jul-06 4:57
dwatkins@dirq.net11-Jul-06 4:57 
QuestionHow to provide method level security for Webservice methods Pin
IamMohan11-Jul-06 1:30
IamMohan11-Jul-06 1:30 
QuestionOutproc session mgt in ASP . Net Pin
ankushmn11-Jul-06 1:08
ankushmn11-Jul-06 1:08 
AnswerRe: Outproc session mgt in ASP . Net Pin
Saifi Hasan11-Jul-06 3:38
Saifi Hasan11-Jul-06 3:38 
GeneralRe: Outproc session mgt in ASP . Net Pin
ankushmn11-Jul-06 4:28
ankushmn11-Jul-06 4:28 
QuestionDropDownList databinding error Pin
For_IT11-Jul-06 0:45
For_IT11-Jul-06 0:45 
AnswerRe: DropDownList databinding error Pin
Not Active11-Jul-06 3:30
mentorNot Active11-Jul-06 3:30 
GeneralRe: DropDownList databinding error Pin
For_IT11-Jul-06 3:35
For_IT11-Jul-06 3:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.