Posts Tagged ‘SharePoint’

SharePoint 2007 Maximum Limitations »

Entity Max permissible size Site Name 128 characters Site URL 255 characters Display name 128 characters Connection string 384 characters Email address 128 characters Version numbers 064 characters Virtual Server Friendly Name 064 characters SQL Database Name

Handler the UnauthorizedAccessException in SharePoint »

bool AccessDeniedflag = SPSecurity.CatchAccessDeniedException; SPSecurity.CatchAccessDeniedException = false; try { SPList list = web.GetList(web.ServerRelativeUrl+"/Lists/ListName"); SPListItem item = list.Items; item = "ayman-elhattab.blogspot.com"; item.Update(); } catch(UnauthorizedAccessException ex) { // Redirect to your custom p

The features of MOSS 2007 »

Enterprise Portal Web Form Web Part                                Use for Web Content of Type Display ( Web Form) Web Report Web Part                              Use for Web Content of Type Output ( Report and Web Report) Generic Web Part                                    Use for Web Let Web Menu Web Part                                Use f

SharePoint FREE Training site: http://goo.gl/driC »

Point8020 Learning Solutions from SharePoint: http://www.point8020.com/Training.aspx

Trying to report error to Sharepoint ToolPane »

/// <summary> /// A custom editor part for picking data fields for a table web part /// </summary> class CustomEditorPart:EditorPart { #region Declarations // In addition to other controls, etc, declare an error variable string _errorText = string.Empty; #endregion Declarations #region Apply Changes /// <summary&g

读取SharePoint的SMTP设置, 发送邮件 »

private static String GetSmtpHost() { SPOutboundMailServiceInstance instance = SPContext.Current.Site.WebApplication.OutboundMailServiceInstance; if (instance != null) { return instance.Server.Address; } instance = SPAdministrationWebApplication.Local.OutboundMailServiceInstance; if (instance != null) { return instance.Server.Addres

判断是否一个SharePoint Publishing页处于编辑模式 »

… 并且避免 ASP.NET 验证控件错误: This page contains content or formatting that is not valid. You can find more information in the affected sections. or Input string was not in a correct format. 当创建一个WebPart来显示包含验证控件的表单时, ASP.NET 验证控件会阻止你签入和发布当前的Publishing页面. 解决方案: Check if the web part is in edit or design mode and only add the validator i

How to get SharePoint 2007 SPList Forms Url »

String formUrl = String.Format(CultureInfo.InvariantCulture, "{0}/{1}?id={2}", SPContext.Current.Web.Url, SPContext.Current.Web.Lists.Forms.Url, item.Id); 来源: http://www.myrocode.com/post/2009/03/20/How-get-SharePoint-2007-SpListItem-DispForm-Url.aspx

Export to Excel in SharePoint Application Page doesn »

The cause for this behavior is that there is a flag (named _spFormOnSubmitCalled) in SharePoint which prevents double form submition. This flag is set when the form is submitted and clear when the response is received. However when exporting the response is redirected and the page is not updated, thus the flag is not cleared and page's postbacks

 Page 1 of 2  1  2 »