Hiden Feild

T

TARUN

Hello All

Please help me for understanding of use of Hidden Feild in Programming,
I am a beginner of C#.NET, can anyone give me the idea about hidden
feild like hidden textBox, hidden textArea etc... and in which secaniro
this progrmmaing technique is used for with example.


with regards
Tarun Sinha
 
B

Bala

Hi,

Hidden fields can be used to hold "state"-information for a specific
form or for other controls. For example, it is possible to use a hidden
field to specify if a Windows Form is in an "edit-state" or a
"view-state". However, there are way better ways to accomplish this
than to use "hidden fields" for this kind of functionality.

Usage of a hidden field can be useful for performance reasons. I know
of an example application which uses a hidden listbox which is filled
during startup of the application. To not totally overwhelme the user
with information, the listbox is kept invisible until the user
specifically asks (by clicking a button) to see the information
contained in this hidden field. This kind of behavior too can be
accomplished without using hidden fields.

Hope this helps,

Alke Wiebenga
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top