How to make a text disable in ASP.Net?

 Posted by Vivek.Ramapuram on 6/9/2015 | Category: ASP.NET Interview questions | Views: 393 | Points: 40
Answer:

If we want to make a text disabled we use disabled option, Then the written text is hidden in the text box that cannot be modified.Make sure that Enable option is in false,then disabled function runs.

For example
<asp:TextBox ID="TextBox4" runnat="server" Enabled="false" Text="Disabled"/>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response