ReorderList Demonstration not working properly

Last post 09-26-2007 3:44 AM by Jonathan Shen – MSFT. 5 replies.

Sort Posts:

  • ReorderList Demonstration not working properly

    09-20-2007, 5:02 AM
    • Loading...
    • DGPunkt
    • Joined on 09-19-2007, 2:25 PM
    • Berlin GER
    • Posts 3

    Hello everybody,



    I´m using Reorderlist control in my webapplication and I´m dissapointed by it´s perfomance when the list contains a lot of items (hundreds).

    While surfing the forums looking for some alternative I stopped at the ReorderList Demonstration website ( http://www.asp.net/AJAX/Control-Toolkit/Live/ReorderList/ReorderList.aspx ) and found some strange behaviour (IE6 & Firefox 2.0.0.7):


    I added an item and the item showed up in the reorderlist.

    I added another item, the first item dissapeared and the second item was shown.

    Adding more items causes some of the items added before to appear / disappear.



    Also pressing F5 / Ctrl + F5 (Refresh) causes some items to appear / disappear.

    But this behaviour only concers items added manually. Items being already in the list when loading the page the first time are not concerned.

     

    Greetings

    Daniel 

  • Re: ReorderList Demonstration not working properly

    09-20-2007, 8:32 AM
    • Loading...
    • dwhite
    • Joined on 02-08-2007, 2:25 PM
    • Bristol, CT
    • Posts 1,210

    DGPunkt:
    I´m dissapointed by it´s perfomance when the list contains a lot of items (hundreds).

    This is a poor design on your app's part.  When your pushing that much data to a client at once there is of course going to be performance issues.  If you think about it, each item contains JavaScript and events that needs to be handled by the brower. 

    DGPunkt:
    I added another item, the first item dissapeared and the second item was shown...

    I tried in both IE7 and FireFox 2.0.0.7 and I don't see these issues.

    -Damien

    ** Remember to mark posts as the answer to help future users. **
    Visoft, Inc - Web Site | Blogs
  • Re: ReorderList Demonstration not working properly

    09-20-2007, 9:21 AM
    • Loading...
    • DGPunkt
    • Joined on 09-19-2007, 2:25 PM
    • Berlin GER
    • Posts 3

    dwhite:
    This is a poor design on your app's part.  When your pushing that much data to a client at once there is of course going to be performance issues.  If you think about it, each item contains JavaScript and events that needs to be handled by the brower.

    Normally the reorderlist contains just about 10 items, but for about 10 - 20% of all cases itemcount increases up to several hundreds. We decided to use reorderlist because we need Insert/Update/Delete and reordering is appreciated. Drag&Drop from a treeview is used to.

     

    dwhite:
    I tried in both IE7 and FireFox 2.0.0.7 and I don't see these issues.
     

    I just tried it on another machine (win2003 + IE6 / WinXP + IE6 + FireFox 2.0.0.7). Same problem again. Just play a bit - sometimes it does not occur on first trial.

     
    Daniel

  • Re: ReorderList Demonstration not working properly

    09-25-2007, 11:46 PM
    Answer

    Hi DGPunkt,

    I have done the test on IE7 and Firefox2.0.0.7 and your problem was not shown.  But it doesn't matter.   I suggest that you should have a glance at the sample's source code.You will benefit from it.  The sample(http://www.asp.net/AJAX/Control-Toolkit/Live/ReorderList/ReorderList.aspx) is contained inside the Ajax Control Toolkit. 

    Please pay attention to the data process part that located in App_Code under the SampleWebSite directory with the name "TodoXmlDataObject.cs".

    It shows how to get and update datas and the session issues.You can add breakpoints and debug it step-by-step.

    I hope this help.

    Best regards,

    Jonathan

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • Re: ReorderList Demonstration not working properly

    09-26-2007, 3:10 AM
    • Loading...
    • renemt
    • Joined on 11-02-2006, 2:11 PM
    • Berlin, Germany
    • Posts 31

    Just want to say that I'm also able to reproduce this just on the official toolkit sample page (FireFox 2.0.0.7 and IE 6). If you add the items "to fast" the first one disappears.

    Furthermore I think DGPunkt doesn't want to find the reason for this error by himself but just give a hint that there's something strange on the official web site Wink 

    Regards,
    ReneMT

     

  • Re: ReorderList Demonstration not working properly

    09-26-2007, 3:44 AM

    Hi Renemt,

    As far as I know, I think it is caused by the ScriptManager.  When we add an item , it will send an asynchronous postback.  If we send another asynchronous postback before the former one is not finished,  then the first one will be cancelled.

    Best regards,

    Jonathan

     

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (6 items)
Microsoft Communities
Page view counter