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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:08:09+00:00 2026-06-13T02:08:09+00:00

SCENARIO: In windows Phone 7, I am using a list box. Assume there are

  • 0

SCENARIO:

  • In windows Phone 7, I am using a list box.
  • Assume there are 200 items.
  • Now I select 150th item of the list
  • I want the list to load and select (and show) the 150th item on the top of the list after loading.

PROBLEM:

  • I am using the HookScrollViewer() as mentioned on this page(ListBox offset in WP7)
  • The first time the item is loaded the list doesn’t show the right item (say it shows 148th item).
  • I get out of that page and click the item 150th again
  • Now the list index is correct and it shows 150th item exactly on the top.

QUESTION:

  • Am I using right solution?
  • What is wrong I am doing, I have tried to identify the solution but failed!

HINT:

  • If you have a windows phone, please download the app
  • Open any chapter and bookmark something (by Long-pressing) in the middle of the chapter.
  • Close the application, and open the application again.
  • Click on the bookmark to open it.
  • The first time it won’t go to the exact location.
  • Now DON’T close the app, just press back button and click the bookmark again.
  • This time the location is correct!
  • The question is, what’s wrong with the first time?

THE CODE OF THE READING PAGE:

  • To make it even easier, the code can be downloaded: https://docs.google.com/file/d/0B8xOhdKHzbkyaWFLRHN0WjRoajg/edit

Thanks very much!

  • 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-13T02:08:10+00:00Added an answer on June 13, 2026 at 2:08 am

    After struggling, I have found the actual problem and its solution.

    Actual Problem:

    • I am using external fonts, other than those which are included in the WP by default.
    • The external fonts need some time to get loaded into the memory and then the text is displayed.
    • In the mean time the list is loaded already, while the font is being loaded.
    • Finally the text is displayed, and (could be because of expansion), the selected index location is moved down.
    • Without closing the app, the font seems to stay in the memory, and the next time it doesn’t take long time, and the pointer id displayed correctly.

    My Solution:

    • I loaded the (external) fonts while the main page is being loaded. It takes negligible amount of time and hence, doesn’t affect the efficiency of the app (in terms of loading time)

    I wish if any architect can explain in better way that what has been happening, or in other words, I am interested to know the technical background of the “actual problem”.

    Thanks very much to all those who gave suggestions.

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

Sidebar

Related Questions

Scenario I have a Windows Forms Application. Inside the main form there is a
Scenario I have a windows forms application. I want to use two different WCF
My scenario is I have two laptops with fresh installation of windows . Now
I am sending gps coordinates from a windows mobile phone to a webserver using
I don't have much knowledge about Windows Phone 7 development. I know there exist
In a Windows Phone project I have the following scenario: The user types some
I am working on porting a Windows Phone application to Windows 8 Metro, using
Scenario: Windows server in a AD domain hosting a Subversion repository using SVNSERVE only
Let me explain you the scenario I am developing for Windows Phone 7 and
I'm starting developer a app for windows phone 7.5. So this is the scenario:

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.