Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox visible property
Message
De
11/11/2002 18:06:49
 
 
À
11/11/2002 17:06:02
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00720847
Message ID:
00721330
Vues:
8
Roland,

Visible = false should *not* make it read-only, AFAIK (but haven't actually tested it). Is this the *only* thing you changed (just the Visible property)? If the textbox is not visible, how are you determining whether or not it's being saved (are you going to the backend and checking it?) How are you changing it if it's not visible ... programmatically? Have you changed text in other textboxes at the same time that *do* get saved? What is your back-end database?

~~Bonnie



>Hi Bonnie,
>
>The values do not get updated in these textboxes when the visible is set to false. Is it possible that visible = False makes them read only?
>
>Thanks
>Roland
>===========================================================================
>>Roland,
>>
>>How about a little explanation about what you mean by "does not seem to work" ... what exactly is it doing or not doing?
>>
>>Setting an object's visibility does not change anything about how the data binding works.
>>
>>~~Bonnie
>>
>>
>>>Hi Randy,
>>>
>>>It does not seem to work when I set the property to visble=false.
>>>But it works when I set the property to visible=true. I setting the property in code rather than in the design time mode.
>>>Does that may a difference?
>>>
>>>Thanks
>>>Roland
>>>=================================
>>>
>>>
>>>>I know you can edit the .Text property. So make sure your dataset is filled.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform