Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

is there an option how to enable ajax functionality in listview web part type added by code? Iam facing problem where we added 2 list view web parts on the page and they behave really strange. I read article where enabling ajax should fix this behavior however i dont know how to enable the ajax. In public members of list view web part there is not such properties for ajax enabled.

Can you help me please?

Thanks

share|improve this question
add comment

1 Answer

Enable async refresh: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.dataformwebpart.asyncrefresh.aspx

You can also set auto refresh and refresh interval to get actual data without page reloading: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.dataformwebpart.autorefresh.aspx http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.dataformwebpart.autorefreshinterval.aspx

share|improve this answer
    
well actualy what you wrote down is true, however ListViewWebPart does not subclass DataFormWebPart –  Ivan Mar 6 '13 at 6:31
    
I thought you tell about XsltListViewWebPart that is derived from DataFormWebPart. You can convert old ListViewWebPart into XsltListViewWebPart: sharepoint.stackexchange.com/questions/21951/… –  Tim York Mar 6 '13 at 11:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.