Hi All
Have done a page for questionaire.
It works fine.
There are 10 questions with YES or NO option.
Have a scenario: If 9th question answer is NO. Then the two radio button near by 10th question should be enabled false.
Have done it. But the whole page blinks and the scroll bar again goes to the top.
javascript
Is there any option to rectify this
Thanking You
-Anto
                                Have done a page for questionaire.
It works fine.
There are 10 questions with YES or NO option.
Have a scenario: If 9th question answer is NO. Then the two radio button near by 10th question should be enabled false.
Have done it. But the whole page blinks and the scroll bar again goes to the top.
<table style="width: 100%;">                                                                 <tr>                                                                     <td>                                                                         <table cellpadding="0" cellspacing="0">                                                                             <tr>                                                                                 <td>                                                                                     <asp:RadioButton ID="rbtnq9_2_Y" GroupName="Group9_2" runat="server" Text="Y" />                                                                                 </td>                                                                                 <td>                                                                                     <asp:RadioButton ID="rbtnq9_2_N" GroupName="Group9_2" runat="server" Text="N" />                                                                                 </td>                                                                             </tr>                                                                         </table>                                                                     </td>                                                                     <td>                                                                     </td>                                                                 </tr>                                                             </table>protected void btnqfollowup_Click(object sender, EventArgs e)         {             UDFCheckFollowUp(rbtnq9_1_Y, rbtnq9_1_N);                       }         public void UDFCheckFollowUp(RadioButton rbtnq9_1_Y, RadioButton rbtnq9_1_N)         {             if (rbtnq9_1_Y.Checked == true)             {                 rbtnq9_2_Y.Enabled = true;                 rbtnq9_2_N.Enabled = true;                 rbtnq9_3_Y.Enabled = true;                 rbtnq9_3_N.Enabled = true;                 DropDownListRating9_3.Enabled = true;               }             else if (rbtnq9_1_N.Checked == true)             {                 rbtnq9_2_Y.Enabled = false;                 rbtnq9_2_N.Enabled = false;                 rbtnq9_3_Y.Enabled = false;                 rbtnq9_3_N.Enabled = false;                 DropDownListRating9_3.Enabled = false;                              }             else            {                 rbtnq9_2_Y.Enabled = false;                 rbtnq9_2_N.Enabled = false;                 rbtnq9_3_Y.Enabled = false;                 rbtnq9_3_N.Enabled = false;                 DropDownListRating9_3.Enabled = false;             }           }javascript
function RadioClickFollowUp(radioButton)        {             document.getElementById('btnqfollowup').click();        }Is there any option to rectify this
Thanking You
-Anto

