Click here to Skip to main content
15,896,502 members
Please Sign up or sign in to vote.
1.33/5 (2 votes)
See more:
I Implemented for some logic in Java script and i getting some value, that value i kept in one textbox directly but code behind i did't get that value


i kept TextBox property as Read Only = True
Posted

1 solution

Try making the field readonly from code behind:

TextBoxName.Attributes.Add("readonly", "readonly");
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900