2012年7月24日 下午 08:51I have a jQuery plugin for a multi-select drop-down list. I have other web parts on my page that I would like to filter on the drop-down list. How can I filter the list without doing a postback and losing all of my selections in the dropdown. I did look and there is an updatepanel, is there any way to hook into the updatepanel of the list. i was looking and trying to see how the list filter works with no postback and there is an updatepanel. This is a pure client-side solution (js). Is there a way to replicate the way SharePoint does the list filtering on the pages? Any help is greatly appreciated.
- 已編輯 RyanVan 2012年7月24日 下午 08:51
2012年7月24日 下午 09:06You should try using providers and consumer web parts, this link should guide you http://msdn.microsoft.com/en-us/library/ms469765.aspx.
2012年7月24日 下午 09:34I was hoping to be able to do this via an all client side solution.
2012年7月30日 上午 10:26版主
If you want to achieve make the page partial refresh, you have to write the server-side code.
Here is a cookie example about this(Emir Liu'reply, need add cookie accept for you browser), the querystring method is the same as cookie, it save parameter in the url: