Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Get controls from IFrame using vb.net

Posted on 2014-11-07
5
Medium Priority
?
124 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 2000 total points
ID: 40429978
You cannot
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased riskā€¦

926 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