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

ASP.NET

 
GeneralRe: Radio Button in a Repeater Question... Pin
minhpc_bk10-Oct-06 20:04
minhpc_bk10-Oct-06 20:04 
GeneralRe: Radio Button in a Repeater Question... Pin
just3ala210-Oct-06 20:32
just3ala210-Oct-06 20:32 
GeneralRe: Radio Button in a Repeater Question... Pin
minhpc_bk10-Oct-06 21:53
minhpc_bk10-Oct-06 21:53 
GeneralRe: Radio Button in a Repeater Question... Pin
just3ala211-Oct-06 0:15
just3ala211-Oct-06 0:15 
GeneralRe: Radio Button in a Repeater Question... Pin
minhpc_bk11-Oct-06 2:00
minhpc_bk11-Oct-06 2:00 
GeneralRe: Radio Button in a Repeater Question... [modified] Pin
just3ala211-Oct-06 2:26
just3ala211-Oct-06 2:26 
GeneralRe: Radio Button in a Repeater Question... Pin
minhpc_bk11-Oct-06 2:46
minhpc_bk11-Oct-06 2:46 
GeneralRe: Radio Button in a Repeater Question... Pin
just3ala211-Oct-06 3:02
just3ala211-Oct-06 3:02 
Yeah sure man...

<asp:repeater id="rptrPA" runat="server" EnableViewState="False">
<ItemTemplate>
<table style="FONT-WEIGHT: normal; FONT-SIZE: x-small; COLOR:003399; BORDER-TOP-STYLE: none; FONT-FAMILY: Tahoma; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-COLLAPSE: collapse; BACKGROUND-COLOR: whitesmoke; BORDER-BOTTOM-STYLE: none" width="100%" border="1">
<tr align="center">
<td width="30%" rowspan="2" valign="top">
<asp:Label ID="lblEF" Font-Name="Tahoma" Runat="server" ForeColor="003399">
<%#DataBinder.Eval(Container.DataItem,"FACTOR_DESC")%></asp:Label></td>

<td width="12%" valign="top">
<asp:radiobutton id="rdNA" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"NA")%>' GroupName="rdGroup"></asp:radiobutton></td>

<td width="12%" valign="top"><asp:radiobutton id="rdBelow" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"BELOW_AVERAGE")%>' GroupName="rdGroup"></asp:radiobutton></td>

<td width="12%" valign="top"><asp:radiobutton id="rdAverage" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"AVERAGE_PERFORMANCE")%>' GroupName="rdGroup"></asp:radiobutton></td>

<td width="12%" valign="top"><asp:radiobutton id="rdAbove" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"ABOVE_AERAGE")%>' GroupName="rdGroup"></asp:radiobutton></td>

<td width="12%" valign="top"><asp:radiobutton id="rdExceeds" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"EXCEEDS_REQUIREMENTS")%>' GroupName="rdGroup"></asp:radiobutton></td>

<tr align="center">
<td width="100%" colspan="6">
<div id="ddd">
<%#DataBinder.Eval(Container.DataItem,"GRADES_DESC")%>
</div>
</td>
tr>
</table>
</ItemTemplate>
<HeaderTemplate>
<table style="FONT-WEIGHT: bold; FONT-SIZE: x-small; COLOR: white; BORDER-TOP-STYLE: none; FONT-FAMILY: Tahoma; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-COLLAPSE: collapse; BACKGROUND-COLOR: #003399; BORDER-BOTTOM-STYLE: none" width="100%" border="1">
<tr align="center">
<td width="30%">Evaluation Factor</td>
<td width="12%">NA</td>
<td width="12%">Below Average</td>
<td width="12%">Average Performance</td>
<td width="12%">Above Average</td>
<td width="12%">Exceeds Requirements</td>

</tr>
</table>
</HeaderTemplate>
<FooterTemplate>
<table border="0" align="center" width="100%">
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td align="center">
<asp:Button ID="btnFill" Text="Go" Runat="server" CommandName="Go"></asp:Button></td>
</tr>
</table>
</FooterTemplate>
</asp:repeater>

And in the code behind i made a class to get the questions and options values for the radio buttons from the database.

Now what i need is the code that loops through "all" the repeater and fills anything "array" for example with the results that were made so that i can insert them in the database again. (Guess it should be put in the reapeater item command)

U seem very helpful ... I'm really thankful for u




Best Regards
3ala2 Smile | :)
GeneralRe: Radio Button in a Repeater Question... Pin
minhpc_bk11-Oct-06 16:56
minhpc_bk11-Oct-06 16:56 
GeneralRe: Radio Button in a Repeater Question... Pin
just3ala211-Oct-06 20:52
just3ala211-Oct-06 20:52 
GeneralRe: Radio Button in a Repeater Question... Pin
minhpc_bk12-Oct-06 0:51
minhpc_bk12-Oct-06 0:51 
GeneralRe: Radio Button in a Repeater Question... Pin
just3ala212-Oct-06 4:29
just3ala212-Oct-06 4:29 
GeneralRe: Radio Button in a Repeater Question... Pin
minhpc_bk12-Oct-06 15:11
minhpc_bk12-Oct-06 15:11 
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 

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.