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 8951761
In Process

The Archive Base Latest Questions

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

I am using Web browser Control in Windows phone 7 and I want to

  • 0

I am using Web browser Control in Windows phone 7 and I want to navigate within page as

<ul>
 <li>
    <a href="#chapter-1_xhtml">Section 1</a>
 </li>
 <li>
    <a href="#chapter-2_xhtml">Section 2</a>
 </li>
</ul>

then i use

<a name="chapter-1_xhtml" id="chapter-1_xhtml"></a>
...............The Div and other code..............
<a name="chapter-2_xhtml" id="chapter-2_xhtml"></a>
...............The Div and other code..............

It works perfectly in Desktop browsers but when i run the same code in Windows phone emulator its not working and after a jerk it stays there.

Thanx in advance.

  • 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-15T13:44:18+00:00Added an answer on June 15, 2026 at 1:44 pm

    By Adding the Function to Html

    function ScrollTo(Id) {
            document.getElementById(Id).scrollIntoView();
        }
    

    and Calling the Following code on button click achieved my Goal.

    this.webBrowser.InvokeScript("ScrollTo", "chapter-1_xhtml");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a web browser app for windows phone 7 using web browser
I can authenticate Facebook for desktop application using web browser control. But I want
I'm using webBrowser.Navigate(url) control to display page. I noticed this action steals focus from
I am using the WebBrowser control in Windows Phone to invoke a javascript call.
I am using System.Windows.Forms.WebBrowser control in C# for displaying some pages. I want to
I am creating a new Web Browser control in my windows forms project to
For my newest windows-application I want to create an interface that is web-based using
I am using a webbrowser control in windows phone 7 application (7.1 OS), but
Im making a windows phone app which uses a WebBrowser. Im using this web
I am currently building an application on Windows Phone 7 using the WebBrowser control.

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.