>>>>>>Hi
>>>>>>I have an asp.net page with Text Box Controls
>>>>>>
>>>>>>From within C#, I want to make some of these Readonly, and then Read-write
>>>>>>
>>>>>>So default on the form is that they are Read-only, but if user presses abutton (Go Into Edit Mode) I want to make them ReadOnly = false so
>>>>>> thay can be edited
>>>>>>
>>>>>>Tia
>>>>>>Gerard
>>>>>
>>>>>Can you handle that using Javascript on the client side ?
>>>>
>>>>Handle the Click event of the button and you can set TextBox controls to ReadOnly=true in server side code.
>>>
>>>Seems a little clunky to have to round-trip to the server to do this ?
>>
>>Depends on what he is doing. This is pretty much a black hole so far..
>
>No help from Javascript?
Not required depending on what he is doing.
If he is dealing with data and wants to be able to switch from edit to readonly modes, then use a formview and no explicit javascript is required.
____________________________________
Don't Tread on Me
Overthrow the federal government NOW!
____________________________________