Ask a questionAsk a question
 

AnswerBDC Not paging

  • Sunday, August 09, 2009 12:06 AMAnonymousToday Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    BDC List part doesn't appear to be paging. When clicking on the little link that is suppose to go to the next bits of data nothing happens; well something does but it's not something expected. It just does the postback and the page has not changed for the list web part.

    Anybody else having this problem or is it working for you?

    As a side note, anybody know where to file bugs for things?

Answers

  • Tuesday, October 20, 2009 6:51 PMNitin Sablok Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi AnonymousToday

    - Goto your BDC webpart.
    - Click on Modify shared webpart.
    - Under Data View Properties tooltip, click on parameters editor button.
    - Then paste <ParameterBinding Name="dvt_firstrow" Location="Postback;Connection" DefaultValue="1"/>
    <ParameterBinding Name="dvt_sortdir" Location="Postback;Connection" />
    <ParameterBinding Name="dvt_sortfield" Location="Postback;Connection" />
    <ParameterBinding Name="dvt_partguid" Location="Postback;Connection" />
    - Apply and Ok

    Hope this helps.

    enjoy!!!

All Replies

  • Thursday, October 15, 2009 8:53 PMNitin Sablok Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi AnonymousToday

    I am also facing this issue and this is the only post I found about it. But unanswered. :-(

    Please share where do you stand on this.

    -Nitin
  • Thursday, October 15, 2009 8:55 PMAnonymousToday Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Found nothing, but hopefully the next version of sharepoint will be better debugged.
  • Thursday, October 15, 2009 8:55 PMNitin Sablok Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    My sharepoint version is 12.0.0.6421. Just trying to avoid one question.
  • Friday, October 16, 2009 1:22 PMNitin Sablok Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    But there should be a reason for this behaviour at first place. Not sure if this is a bug in sharepoint for this particular version because there are no posts complaining about similar stuff. if its some sort of config issue on my server, what can that be.

    Paging uses dopostback('ctlXXXXX','dvt_firstrow={11}') which is not responding to BDC. The strange part over here is that the similar javascript postback occurs if I try to implement paging in my custom webpart. The only difference in that is in the paramters I pass. The one in custom webpart looks like _doposdtback('ctlXXXXXXX','Page$2')

    What could be the seeting that made _doposdtback('ctlXXXXXXX','Page$2') work but prevents _dopostback('ctlXXXXX','dvt_firstrow={11}')

    Any suggestions?
  • Friday, October 16, 2009 4:04 PMNitin Sablok Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    The solution is to add the parameter in parameter editor.

    <ParameterBinding Name="dvt_firstrow" Location="Postback;Connection" DefaultValue="1"/>

    It started working for me now.
    • Proposed As Answer byNitin Sablok Friday, October 16, 2009 4:04 PM
    •  
  • Friday, October 16, 2009 4:16 PMNitin Sablok Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Similarly sorting will also not work. To solve that add the following.

    <ParameterBinding Name="dvt_firstrow" Location="Postback;Connection" DefaultValue="1"/>
    <ParameterBinding Name="dvt_sortdir" Location="Postback;Connection" />
    <ParameterBinding Name="dvt_sortfield" Location="Postback;Connection" />
    <ParameterBinding Name="dvt_partguid" Location="Postback;Connection" />
  • Friday, October 16, 2009 7:45 PMAnonymousToday Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Where does this information get applied at?

    Thanks!
  • Tuesday, October 20, 2009 6:51 PMNitin Sablok Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi AnonymousToday

    - Goto your BDC webpart.
    - Click on Modify shared webpart.
    - Under Data View Properties tooltip, click on parameters editor button.
    - Then paste <ParameterBinding Name="dvt_firstrow" Location="Postback;Connection" DefaultValue="1"/>
    <ParameterBinding Name="dvt_sortdir" Location="Postback;Connection" />
    <ParameterBinding Name="dvt_sortfield" Location="Postback;Connection" />
    <ParameterBinding Name="dvt_partguid" Location="Postback;Connection" />
    - Apply and Ok

    Hope this helps.

    enjoy!!!
  • Friday, October 23, 2009 10:11 PMAnonymousToday Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    OMG! It works!
    Now if I can just figure out how to get the BDC to display images in the nifty XSL I created.

    Thanks!
  • Monday, October 26, 2009 1:35 AMAnonymousToday Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Actually, I did get the BDC to display images. It just suddenly started working. Go figure

    I'll see if I posted on a board here about the question and supply the answer. :)