Jump to content
  • Advertisement
Sign in to follow this  

[.net] TextBox Databinding refresh issue.

This topic is 4113 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Has anybody seen this and/or know the solution? I have a TextBox that has its DataBindings property set within a DataTable within a DataSet. Here is the weird issue: - The TextBox is disabled and not-visisble. But once i apply text to it (via another form) and click OK, the textBox gets visible, which then causes the DataBind to occur. The visisble = true seems to cause this in addition to causing it to appear to the user. - Any time after this the TextBox does not get updated even though it DataBinded to the new updated text. I am calling AcceptChanges. I tried calling Invalidate followed by Update on the TextBox I tried calling Refresh on the TextBox None of the above steps seems to work. The only thing I didnt try was disabling and re-enabling the Visisble property. What is the cause of this weird issue?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!