Tag Archives: Webpart

Webpart and AJAX – do not forget the web.config

To enabled Ajax on your SharePoint site, you have to modify the web.config file as instructed here http://asp.net/AJAX/Documentation/Live/ConfiguringASPNETAJAX.aspx. The last 2 parts can be skipped if that doesn’t apply to your case. The good news is that this web.config file … Continue reading

Posted in Webpart | Tagged , | Leave a comment

Webpart and AJAX – second postback not working in UpdatePanel?

I successfully add a webpart with UpdatePanel. However the second post back doesn’t seem to trigger? Why? Excerpt from Mike Ammerlaan’s Blog Windows SharePoint Services JavaScript has a “form onSubmit wrapper” which is used to override the default form action. … Continue reading

Posted in Webpart | Tagged , | 5 Comments

Webpart and AJAX – tricks on creating ScriptManager

ScriptManager object is required if you want to use AJAX (Microsoft Atlas) in your webpart. In a ASPX page, there should only be one instance of ScriptManager object. However as just a component of a frame work/page, your webpart has … Continue reading

Posted in Webpart | Tagged , | 7 Comments

Webpart security

If the webpart need to access Sharepoint server info, there are 3 options when deploying the webpart in security context: Deploy to GAC, and no other settings need to be changed. Downside: need to recycle application pool when upgrade; webpart … Continue reading

Posted in Security, Webpart | Tagged , | Leave a comment