views:

247

answers:

1

I have the Ajax working on a custom web part written in Visual Studio and it works fine. Question - I created a task list on the site and added it as a web part to the default page. I would like that web part (task list) to also refresh asynchronously. I have opened it in Sharepoint designer, but I really don't know how to apply Ajax to it. Any suggestions, pointers towards blogs, demos, etc would be really appreciated. I'm going to have to add a refresh button so it has a child control to trigger the refresh, which is fine. i just don't know how to get started.

Thanks.

A: 

This Link should give you a good start on what you are trying to do. Another good article

Kusek
The links are good - I have already done that with my custom web part. Question - if I add a web part already built into Sahrepoint like a list - how do I add Ajax to that? They don't seem to have code behind.
That will be bit though because most of the inbuilt web part has DropDownMenus / Links which will take you to the next page with few Query String Parameters / based on the Item Context. so Ajaxifying them will be tough. Better you need to Create a Custom Control to that.
Kusek
Continued from Previous comment, you need to create a Custom Control that will mimic the behavior of the Task List.
Kusek
I'm game. Do you have any links to sites or blogs that demonstrate how to do that? Thanks again!
You can use the SPGridView refer these links http://sharethispoint.com/archive/2007/02/28/Using-a-SPGridView-inside-an-ASP.net-Ajax-UpdatePanel.aspx http://blogs.msdn.com/powlo/archive/2007/02/25/displaying-custom-data-through-sharepoint-lists-using-spgridview-and-spmenufield.aspx
Kusek