English 中文(简体)
AJAX Control Toolkit Collapsible Panel in SharePoint
原标题:

I am trying to use the AJAX collapsible panel inside a user control which is loaded onto a Webpart in an AJAX enabled SharePoint site. I don t have any issues with using AJAX overal but I am having issues with this control. When the page loads, it does not collapse and when I click on the link to collapse/expand it just blinks and won t collapse. After a bit of reseach, I found that others have the same issue and a couple of people suggested to enclose the content panel in:

<div style="height:0px;position:absolute;" >
<asp:Panel> content </asp:Panel>
</div>

Doing that would fix the collapse issue but I think it defeats the purpose since you can t put anything underneath the panel or else it loads on top. Any suggestions?

最佳回答

SharePoint 2007 runs in "Quirks Mode" due to the specific DocType that is implements, which causes the AJAX control toolkit to behave erratically. (If you think you can update the sharepoint master page to have the "Transitional" doctype which causes the AJAX control toolkit to behave correctly, then various SharePoint pages will start breaking)

See below:

Implementing AJAX in Sharepoint

Some AJAX Control Toolkit controls will work correctly. Some of them will only work after hacking some of the AJAX Control Toolkit source code for the controls you are interested in and compiling a new binary. I ve done this before but not without headaches. It s better to just use JQuery were possible I think.

问题回答

暂无回答




相关问题
SharePoint - Approaching Website Storage Limit Email

How can i go about changing the distribution list as well as the email text for the email that goes out to site collection admin when a site collection approaches it s size limit? Thanks for your ...

UI automated testing within SharePoint

I m looking for automated Functional Testing tools that can manipulate SharePoint sites, libraries, and documents thought the web interface. It needs to be extensible enough to handle any custom ...

Enable authorization on sitemap provider

I want to enable Authorization on the Site map provider. We have enabled anonymous access to the site and we want the Site map provider to be visible only to authorized users. I tried ...

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...

Sharepoint 2007 Data view Webpart custom parameters

I m sort of new to the custom parameters that can be setup on a DataView Webpart. There are 6 options: - None - Control - Cookie - Form - QueryString - Server Variable I think that None, Cookie and ...

热门标签