Databinding not working for invisible controls

  • Thread starter Thread starter PGP
  • Start date Start date
P

PGP

I have a windows form where i bind data to an invisible text box and it
doesnt seem to work. I tried with an invalid datamember name and it doesnt
even generate an exception till i make the control visible. Is this by
design?
 
Asp.Net disregards invisible controls. and It wont store their
viewstate information either

You may want to try using hidden fields instead
 
I have a windows form where i bind data
I was asking this question for a windows form though.
 

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

Back
Top