שאלה Partial Page Updates in DataFormWebPart

  • Friday, April 13, 2012 3:58 PM
     
     

    I have a custom DataFormWebPart I'm building that shows a list of comments for a page and allows the user to edit their own comments within the same web part. I've got it up and running to the point where I post the data back using DDWRT, but that always seems to cause a full postback, when I just really want the <div> container that holds the comment's body to update.

    Is there a good way to implement this? I was thinking of using jQuery + the SP JS to do all of the editing, but it seems like if I could get DDWRT to work so that __commit doesn't cause a full postback all the time.

    Any guidance is appreciated.

All Replies

  • Thursday, May 03, 2012 3:28 PM
     
     

    Consider using an UpdatePanel with the updatemode to conditional and simply update it on user click or submit.