Click here to Skip to main content
15,916,846 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Radio Button in a Repeater Question... Pin
minhpc_bk12-Oct-06 15:11
minhpc_bk12-Oct-06 15:11 
What you need to do is to compare the radio's value with the selected answer and depending on the result you should set the Checked property of the control accrodingly. Basically, there are two options to do what you want:
+ You can use the data binding expression to set the Checked property in the web page aspx, in the expression you can use the ? : operator to compare the values. You can see more about this in MSDN.
+ You can use the ItemDataBound event of the Repeater control to do the checking and setting for the radio button of each RepeaterItem.
GeneralRe: Radio Button in a Repeater Question... Pin
just3ala213-Oct-06 6:36
just3ala213-Oct-06 6:36 
QuestionEnum Problem Pin
shapper10-Oct-06 7:12
shapper10-Oct-06 7:12 
AnswerRe: Enum Problem Pin
minhpc_bk10-Oct-06 15:26
minhpc_bk10-Oct-06 15:26 
Questionhelp with simple regex expressions Pin
ThePlagueIsBack10-Oct-06 6:26
ThePlagueIsBack10-Oct-06 6:26 
AnswerRe: help with simple regex expressions Pin
minhpc_bk10-Oct-06 15:29
minhpc_bk10-Oct-06 15:29 
QuestionColour (color) picker selectors, is this doable? Pin
Member 9610-Oct-06 6:19
Member 9610-Oct-06 6:19 
AnswerRe: Colour (color) picker selectors, is this doable? Pin
Mike Ellison10-Oct-06 7:01
Mike Ellison10-Oct-06 7:01 
GeneralRe: Colour (color) picker selectors, is this doable? Pin
Member 9610-Oct-06 7:17
Member 9610-Oct-06 7:17 
QuestionProblems with SQL Pin
Britney S. Morales10-Oct-06 6:04
Britney S. Morales10-Oct-06 6:04 
AnswerRe: Problems with SQL Pin
Member 9610-Oct-06 7:19
Member 9610-Oct-06 7:19 
AnswerRe: Problems with SQL Pin
just3ala210-Oct-06 8:38
just3ala210-Oct-06 8:38 
AnswerRe: Problems with SQL Pin
ednrgc17-Oct-06 7:17
ednrgc17-Oct-06 7:17 
GeneralRe: Problems with SQL Pin
Britney S. Morales18-Oct-06 2:27
Britney S. Morales18-Oct-06 2:27 
GeneralRe: Problems with SQL Pin
ednrgc18-Oct-06 2:37
ednrgc18-Oct-06 2:37 
GeneralRe: Problems with SQL Pin
ednrgc18-Oct-06 2:43
ednrgc18-Oct-06 2:43 
GeneralRe: Problems with SQL Pin
ednrgc18-Oct-06 5:05
ednrgc18-Oct-06 5:05 
Questionvalidation problem !! Pin
vijay258310-Oct-06 4:54
vijay258310-Oct-06 4:54 
AnswerRe: validation problem !! Pin
minhpc_bk10-Oct-06 15:35
minhpc_bk10-Oct-06 15:35 
QuestionMagicAjax Problem Pin
mahammadhusen10-Oct-06 4:33
mahammadhusen10-Oct-06 4:33 
AnswerRe: MagicAjax Problem Pin
minhpc_bk10-Oct-06 15:38
minhpc_bk10-Oct-06 15:38 
Questiondate validation in javascript Pin
sudheerkonda10-Oct-06 3:59
sudheerkonda10-Oct-06 3:59 
AnswerRe: date validation in javascript Pin
minhpc_bk10-Oct-06 15:43
minhpc_bk10-Oct-06 15:43 
QuestionSolution for File Upload Problem “Can not access closed file” Pin
vprai_k10-Oct-06 3:59
vprai_k10-Oct-06 3:59 
QuestionPass array from asp.net c# to javascript Pin
DGtech10-Oct-06 3:18
DGtech10-Oct-06 3:18 

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.