Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9138465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:15:36+00:00 2026-06-17T09:15:36+00:00

I wanna get innertext or even better innerhtml from down li class. In normal

  • 0

I wanna get innertext or even better innerhtml from down li class.

In normal desktop version it works.

http://i.imgur.com/Q6Te5.png

but the same code wont work on WP8 because wp8 doesnt have all features.i serch all over the internet and i finde just codes for desktop or codes which doesn’t work soo.

HtmlElement e1 = webBrowser1.Document.GetElementById(textBox2.Text);
string content = e1.InnerText;
textBox1.Text = content; 

There is HTML form which I wanna get the same result like I get it with “desktop” version of c#

<li id="ContentHolderMain_ContentHolderMainContent_ContentHolderMainContent_lstvAlphabet_listRestaurants_0_lstvRestaurant_0_liItem_0" class="restaurantItem" sssp:rs="2;7;8;10;" sssp:rl="Ljubljana" sssp:rn=""Celica hostel"">

    <div class="name">
        <h1>
        <h2>(Metelkova 8, Ljubljana)</h2>
        <span class="blocked"></span>
        <span class="blocked"> </span>
    </div>
    <div class="breaker"></div>
    <div class="prices">
        <p>
            <span>Vrednost doplacila:</span>
            <strong>3,15 EUR</strong>
        </p>
        <p>
            <span>Vrednost obroka:</span>
            <strong>5,78 EUR</strong>
        </p>
    </div>
    <div class="features">
        <img id="ContentHolderMain_ContentHolderMainContent_ContentHolderMainContent_lstvAlphabet_listRestaurants_0_lstvRestaurant_0_lstvFeatures_0_imgFeature_0" title="Celiakiji prijazni obroki" alt="Celiakiji prijazni obroki" src="/App_Themes/SOS/images/icncoeliac.png">
        <img id="ContentHolderMain_ContentHolderMainContent_ContentHolderMainContent_lstvAlphabet_listRestaurants_0_lstvRestaurant_0_lstvFeatures_0_imgFeature_1" title="Solatni bar" alt="Solatni bar" src="/App_Themes/SOS/images/icnsaladbar.png">
        <img id="ContentHolderMain_ContentHolderMainContent_ContentHolderMainContent_lstvAlphabet_listRestaurants_0_lstvRestaurant_0_lstvFeatures_0_imgFeature_2" title="Stalen arhitektonsko prilagojen dostop za invalide in dostop do mize v notranjosti lokala ter do toalete prilagojene za invalide" alt="Stalen arhitektonsko prilagojen dostop za invalide in dostop do mize v notranjosti lokala ter do toalete prilagojene za invalide" src="/App_Themes/SOS/images/icnwheelchairwc.png">
        <img id="ContentHolderMain_ContentHolderMainContent_ContentHolderMainContent_lstvAlphabet_listRestaurants_0_lstvRestaurant_0_lstvFeatures_0_imgFeature_3" title="Kosila" alt="Kosila" src="/App_Themes/SOS/images/icnlunch.png">
    </div>
    <div class="breaker"></div>
</li>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T09:15:37+00:00Added an answer on June 17, 2026 at 9:15 am

    You won’t be able to do that with the WebBrowser control, but if all you need is retrieving the content on an HTML element, you can just retrieve the HTML with a normal WebRequest and then use Html Agility Pack to parse the HTML.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Class CButtonCreate without get & set Methode. But i wanna use
I wanna get selected id from my tabs. I tried anything but but I
i wanna get some field values from database and present them on html. but
I wanna get the title and link from this html page : <div class=gs_r>
I wanna get all input from my pages timeline. so I read graph.facebook.com/pageid/feed with
I want to get print out invoice but also wanna set margins and page
I wanna get the serial number of a scsi harddisk, but it makes an
I'm new in cassandra and I wanna get the values from a column family,
I wanna get stream from camera: DESCRIBE rtsp://192.168.1.200:554/ RTSP/1.0 CSeq: 1 Accept: application/sdpAuthorization: Basic
I wanna get current user from AJAX query. For this obvious I have to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.