Jonathan Smith
Jonathan Smith

Reputation: 2599

How to populate text fields in a browser control

I am programatically creating a web browser and using the documentcompleted event handler to populate some fields. however, one field takes user input and then another (label style) field displays the user input in a formatted way. If i use the SetAttribute method on this input field, the second field is not aware that the first field has been populated, and so it always appears blank.

Any ideas how i can populate the field in a way to get the second field to respond to the change?

Upvotes: 1

Views: 182

Answers (1)

Jonathan Smith
Jonathan Smith

Reputation: 2599

There was more than one DocumentComplete event in the process. I should have waited until all documents had loaded.

Upvotes: 1

Related Questions