Click here to Skip to main content
15,902,299 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
GeneralRe: DropDownList databinding error Pin
sudharsong11-Jul-06 19:57
sudharsong11-Jul-06 19:57 
QuestionStatic Variable Vs. Application Object stored variable Pin
Abhinav Nigam10-Jul-06 23:42
Abhinav Nigam10-Jul-06 23:42 
AnswerRe: Static Variable Vs. Application Object stored variable Pin
IamMohan11-Jul-06 0:49
IamMohan11-Jul-06 0:49 
QuestionCreate run time asp.net page Pin
Parwej Ahamad10-Jul-06 23:36
professionalParwej Ahamad10-Jul-06 23:36 
AnswerRe: Create run time asp.net page Pin
Guffa11-Jul-06 0:03
Guffa11-Jul-06 0:03 
AnswerRe: Create run time asp.net page Pin
Saifi Hasan11-Jul-06 2:35
Saifi Hasan11-Jul-06 2:35 
Questionhow to restrict row and column size in Excelsheet Pin
Bridzet10-Jul-06 23:09
Bridzet10-Jul-06 23:09 

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.