TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
zulu delta
NA
3
3k
GetElementById() not working
Jul 29 2010 3:22 PM
I'm having trouble receiving a value from GetElementById(); using C#
I have a C++ header file with a webControl on it with an HTML file (Google maps).
What I want to do is store the reverse geocode into a <label> tag with a text attribute and retrieve that address as a string.
I instantiated the map object and the webBrowser and document, but the element is null. When I debug it all the other values (Document, DocumentText) show up but not the HtmlElement element = document.GetElementById("addr");
When I return the DocumentText property, it shows up the HTML markup, but not all of it (is there a string type limit?)
Any suggestions are appreciated.
Thanks.
Reply
Answers (
3
)
how to rotate a polygon along any axis
I am having problem closing Excel in C#