Click here to Skip to main content
15,895,827 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: counting a checkbox within a datalist and submitting Pin
uglyeyes13-Jul-06 3:31
uglyeyes13-Jul-06 3:31 
GeneralRe: counting a checkbox within a datalist and submitting Pin
minhpc_bk13-Jul-06 15:27
minhpc_bk13-Jul-06 15:27 
GeneralRe: counting a checkbox within a datalist and submitting Pin
uglyeyes13-Jul-06 16:01
uglyeyes13-Jul-06 16:01 
GeneralRe: counting a checkbox within a datalist and submitting Pin
uglyeyes13-Jul-06 18:28
uglyeyes13-Jul-06 18:28 
GeneralRe: counting a checkbox within a datalist and submitting Pin
uglyeyes13-Jul-06 20:11
uglyeyes13-Jul-06 20:11 
GeneralRe: counting a checkbox within a datalist and submitting Pin
minhpc_bk13-Jul-06 20:32
minhpc_bk13-Jul-06 20:32 
GeneralRe: counting a checkbox within a datalist and submitting Pin
uglyeyes16-Jul-06 15:45
uglyeyes16-Jul-06 15:45 
GeneralRe: counting a checkbox within a datalist and submitting Pin
minhpc_bk16-Jul-06 23:54
minhpc_bk16-Jul-06 23: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 3:03
venkatasivaramaprasad11-Jul-06 3:03 
AnswerRe: Threading Pin
Not Active11-Jul-06 3:38
mentorNot Active11-Jul-06 3:38 
QuestionHow to Pass multiple arugumnets Pin
VenkataRamana.Gali11-Jul-06 2:35
VenkataRamana.Gali11-Jul-06 2:35 
AnswerRe: How to Pass multiple arugumnets Pin
dwatkins@dirq.net11-Jul-06 4:31
dwatkins@dirq.net11-Jul-06 4:31 
QuestionTwo Way Sorting with Up/Down Arrow Pin
wEb GuRu...11-Jul-06 1:35
wEb GuRu...11-Jul-06 1:35 
AnswerRe: Two Way Sorting with Up/Down Arrow Pin
Saifi Hasan11-Jul-06 2:28
Saifi Hasan11-Jul-06 2:28 
GeneralRe: Two Way Sorting with Up/Down Arrow Pin
wEb GuRu...11-Jul-06 22:21
wEb GuRu...11-Jul-06 22:21 
QuestionConvert aspx pages to html Pin
Vipin Venugopal11-Jul-06 0:34
Vipin Venugopal11-Jul-06 0:34 
AnswerRe: Convert aspx pages to html Pin
Paddy Boyd11-Jul-06 0:57
Paddy Boyd11-Jul-06 0:57 
GeneralRe: Convert aspx pages to html Pin
dwatkins@dirq.net11-Jul-06 3:57
dwatkins@dirq.net11-Jul-06 3:57 
QuestionHow to provide method level security for Webservice methods Pin
IamMohan11-Jul-06 0:30
IamMohan11-Jul-06 0:30 
QuestionOutproc session mgt in ASP . Net Pin
ankushmn11-Jul-06 0:08
ankushmn11-Jul-06 0:08 
AnswerRe: Outproc session mgt in ASP . Net Pin
Saifi Hasan11-Jul-06 2:38
Saifi Hasan11-Jul-06 2:38 
GeneralRe: Outproc session mgt in ASP . Net Pin
ankushmn11-Jul-06 3:28
ankushmn11-Jul-06 3:28 
QuestionDropDownList databinding error Pin
For_IT10-Jul-06 23:45
For_IT10-Jul-06 23:45 
AnswerRe: DropDownList databinding error Pin
Not Active11-Jul-06 2:30
mentorNot Active11-Jul-06 2:30 
GeneralRe: DropDownList databinding error Pin
For_IT11-Jul-06 2:35
For_IT11-Jul-06 2: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.