Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Asp.net read only control
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01565909
Message ID:
01565945
Views:
35
>>>>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..
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform