-1

hi,
how do u make a text box uneditable at runtime, the value is shown in the textbox but the value cannot be changed,
how can i do this,??

thanxxxxxxxx

2
Contributors
5
Replies
8
Views
7 Years
Discussion Span
Last Post by Szpilona
0

TextBox class has the property ReadOnly... set it to true... you can do that in the properties window or in the code...

0

if it comes to combo box there is no ReadOnly property... so depending on what you want to do you can f.ex. use DropDownStyle property (if you select DropDownList there's no way to put values other than from list) or Enable..

0

u have describe to select values only from the combo box with out allowing the user to enter the details.how can i make the user to not to select items in the combo box and allow a value entered earlier to display, the user cannot enter or select details from the combo box

thanx

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.