how to set textbox control is editable and non editable in the page load
for example::
if txtname.text.trim().length >0
{
txtname.readonly=false;
}
else
{
txtname.readonly=true;
}
Plz Help me as early as possiable .... urgent guyss help me
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Khargesh RajputPosted Feb 6, 2015, 4:12 AM
{
txtname.readonly=false;
}
else
{
txtname.readonly=true;
}
or
if (txtname.text!="")
{
txtname.enabled=true;
}
else
{
txtname.enabled=false;
}
krishna angirekulaPosted Feb 6, 2015, 3:39 AM
krishna angirekulaPosted Feb 6, 2015, 3:39 AM
krishna angirekulaPosted Feb 6, 2015, 3:39 AM
Khargesh RajputPosted Feb 6, 2015, 3:15 AM
now what is the question ,i am not getting you.