Solved

Get controls from IFrame using vb.net

Posted on 2014-11-07
5
114 Views
Last Modified: 2015-02-16
I have a vb.net app that loads a web page from a remote site. I want to populate the text boxes in the the iframe with test from my code. I  am not using a webbrowseer control because it is not a windows form. how do I find the controls in the remote page and populate them.

Thanks
0
Comment
Question by:whiwex
  • 3
  • 2
5 Comments
 
LVL 28

Expert Comment

by:Ark
ID: 40429796
How do you "load" web page?
0
 

Author Comment

by:whiwex
ID: 40429807
I change the src of the iframe
0
 
LVL 28

Expert Comment

by:Ark
ID: 40429859
via javascript and JQuery:
$("#myiframe").contents().find("#myFieldId").html("Hello");
0
 

Author Comment

by:whiwex
ID: 40429881
I would like to do this from code behind
0
 
LVL 28

Accepted Solution

by:
Ark earned 500 total points
ID: 40429978
You cannot
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question