Solved

Get controls from IFrame using vb.net

Posted on 2014-11-07
5
112 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 27

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 27

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 27

Accepted Solution

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

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now