Solved

Get controls from IFrame using vb.net

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

757 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

22 Experts available now in Live!

Get 1:1 Help Now