Music    Funny Photos    Global Warming    War in Iraq    Rants    Humor    Odd News    Funny Videos    Illegal Alien Invasion    Politics


>>
Home

>>
Jack's Blog

>>
Dave's Blog

>>
Discuss

>>
Favorite Links

>>
Photo Galleries

>>
Articles

>>
Music

>>
Videos

>>
Downloads

>>
Events

>>
Jokes



Login
Register

Send Email to Jack


Copyright © 2006, 2007 Jack C Johnson, All rights reserved




Community Starter Kit Discussion Forums

Author Thread: Problems with multi page search results
Jack
Problems with multi page search results
Posted: Tuesday, July 04, 2006 4:06 PM (CST)

When ever I use the search utility in the community starter kit and results return more than one page worth of the content, the browser just keeps churning and the page will never  load.  If you were to search this web site for the term "Jack Johnson" the page will not load.  Has anybody got a solution to this problem. It appears to be in the

\CommunityStarterKit\Engine\Framework\ContentPages\Controls\ContentList.cs
file in the
CreateControlHierarchy(bool useDataSource) method. 
When certain number of results are returned from the database this method is called over and over and each time the method is called the value of the NumItems variable DOUBLES!  Just place a breakpoint on line 471 of the above file and watch the fun.

 

470:      // store the number of items created in viewstate for postback scenarios
471:           NumItems = itemCount;

 

 

Does anyony have any thoughts or solutions to this problem with the community starter kit.



 

What are you lookin' at?


Most Popular Posts
  • Kofi Annan you can have my gun!
    Posted by Jack on Thursday, June 29, 2006 (CST)

  • Welcome to the H*A*M*S*T*E*R*s
    Posted by Jack on Wednesday, June 28, 2006 (CST)

  • I finally got the Community Starter Kit up and running!
    Posted by Jack on Saturday, June 24, 2006 (CST)

  •  

    New Photos


    Irish Computer Virus


    The Warn-a-Brother T-Shirt


    KFC's Hillary Special


    Jack Johnson's Web Log
    A personal weblog by Jack Johnson. Read my opinions, thoughts and rants and post some comments of your own.
  • Jack Johnson has joined The Walking Miracles
    I joined a southern gospel singing group about a month a ago called The Walking Miracles and I have been having the time of my life. Just being able to use the gifts the Lord has blessed me wit...


  • How's this for an Inconvenient Truth Algore?
    Now this is an Inconvenient Truth! The ten hottest years on record in the U.S., beginning with the hottest year, are: 1934, 1998, 1921, 2006, 1931, 1999, 1953, 1990, 1938 and 1939. Before the...


  • George Patton Speech on Iraq
    This is one awesome video I found on YouTube last night. I heard the speech the first time on the Mark Levin radio show . 'George' really lays out what he thinks on America, Harry Reid, politic...


  • Will El Presidente Bush and every RINO republican - Please die?
    El Presidente, For all you earnest support for the illegal aliens you have allowed to invade this country and for this amnesty bill that you and the congress are trying to ram down our throats...



    Last Refreshed 10/10/2008 8:35:29 PM
  • Home   |  Jack's Blog   |  Dave's Blog   |  Discuss   |  Favorite Links   |  Photo Galleries   |  Articles   |  Music   |  Videos   |  Downloads   |  Events   |  Jokes