Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Asp.net read only control
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01565909
Message ID:
01565951
Vues:
43
>>>>>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform