better solution to make textbox "read-only"