Click here to Skip to main content
15,914,419 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Done but with errors Pin
BalasubramanianK26-Jun-08 19:21
BalasubramanianK26-Jun-08 19:21 
GeneralRe: Done but with errors Pin
Member 387988126-Jun-08 19:23
Member 387988126-Jun-08 19:23 
GeneralRe: Done but with errors Pin
BalasubramanianK26-Jun-08 19:36
BalasubramanianK26-Jun-08 19:36 
GeneralRe: Done but with errors Pin
Imran Khan Pathan26-Jun-08 19:49
Imran Khan Pathan26-Jun-08 19:49 
GeneralRe: Done but with errors Pin
BalasubramanianK26-Jun-08 19:56
BalasubramanianK26-Jun-08 19:56 
GeneralRe: Done but with errors Pin
Imran Khan Pathan26-Jun-08 19:58
Imran Khan Pathan26-Jun-08 19:58 
GeneralRe: Done but with errors Pin
BalasubramanianK26-Jun-08 19:50
BalasubramanianK26-Jun-08 19:50 
GeneralRe: Done but with errors [modified] Pin
Imran Khan Pathan26-Jun-08 20:07
Imran Khan Pathan26-Jun-08 20:07 
Take RadioButtonList and call javascript onclick event and check Poor item is checked or not and make disabled true or false.

<asp:radiobuttonlist id="rbtn" runat="server" repeatdirection="horizontal" onclick="chk();" >
<asp:listitem text="Poor" value="0"></asp:listitem>
<asp:listitem text="Exc" value="1"></asp:listitem>
<asp:listitem text="Good" value="2"></asp:listitem>
<asp:listitem text="Avg" value="3"></asp:listitem>
</asp:radiobuttonlist>
<asp:textbox id="txt" runat="server" ></asp:textbox>

javascript function

function chk()
{
if(document.getElementById('rbtn_0').checked)
{
document.getElementById('txt').disabled=false;
document.getElementById('txt').focus();
}
else
{
document.getElementById('txt').disabled=true;
document.getElementById('txt').value='';
}
}

please don't forget to vote on the post that helped you.
modified on Friday, June 27, 2008 3:23 AM
QuestionGridview Maintain Selected row after Postback Pin
Member 387988126-Jun-08 18:34
Member 387988126-Jun-08 18:34 
AnswerRe: Gridview Pin
Sherin Iranimose26-Jun-08 19:21
Sherin Iranimose26-Jun-08 19:21 
GeneralRe: Gridview Pin
Karan_TN26-Jun-08 19:27
Karan_TN26-Jun-08 19:27 
GeneralRe: Gridview Pin
Sherin Iranimose26-Jun-08 19:43
Sherin Iranimose26-Jun-08 19:43 
GeneralRe: Gridview Pin
Karan_TN26-Jun-08 20:30
Karan_TN26-Jun-08 20:30 
QuestionJava script function on web form load Pin
BalasubramanianK26-Jun-08 17:39
BalasubramanianK26-Jun-08 17:39 
AnswerRe: Java script function on web form load Pin
Christian Graus26-Jun-08 18:00
protectorChristian Graus26-Jun-08 18:00 
GeneralRe: Java script function on web form load Pin
BalasubramanianK26-Jun-08 18:55
BalasubramanianK26-Jun-08 18:55 
GeneralRe: Java script function on web form load Pin
Christian Graus26-Jun-08 18:58
protectorChristian Graus26-Jun-08 18:58 
GeneralRe: Java script function on web form load Pin
BalasubramanianK26-Jun-08 19:04
BalasubramanianK26-Jun-08 19:04 
AnswerRe: Java script function on web form load Pin
Member 387988126-Jun-08 18:35
Member 387988126-Jun-08 18:35 
GeneralRe: Java script function on web form load Pin
BalasubramanianK26-Jun-08 19:02
BalasubramanianK26-Jun-08 19:02 
Questiontreeview control in asp.net Pin
rameshdontagani26-Jun-08 16:36
rameshdontagani26-Jun-08 16:36 
QuestionProblems Validating with a DetailsView Pin
boy.pockets26-Jun-08 13:59
boy.pockets26-Jun-08 13:59 
QuestionServer Error in '/' Application Pin
rama588426-Jun-08 11:41
rama588426-Jun-08 11:41 
AnswerRe: Server Error in '/' Application Pin
Christian Graus26-Jun-08 13:00
protectorChristian Graus26-Jun-08 13:00 
QuestionAdaptative rendering Pin
AlexeiXX326-Jun-08 11:13
AlexeiXX326-Jun-08 11:13 

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.