摘要:
System.InvalidOperationException: 对象的当前状态使该操作无效。 在 Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) 在 Microsoft.SharePoint.WebControls.SPControl.GetContextWeb(HttpC... 阅读全文
posted @ 2008-09-25 20:38
Bruce Lee
阅读(2202)
评论(3)
推荐(0)
摘要:
1。写Provider2。扩展SSP站点 区域:Extranet3。修改SSP原站点的web.config<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings,Microsoft.Practices.Enterprise... 阅读全文
posted @ 2008-09-25 01:57
Bruce Lee
阅读(513)
评论(0)
推荐(0)
摘要:
开始以为要构建WindowsIdentity windowsIdentity = WindowsIdentity.GetCurrent();GenericPrincipal genericPrincipal =new GenericPrincipal(genericIdentity, roles);然后把HttpContext.Current.User 置成上面构造的。但发现在打开个人站点时出错。... 阅读全文
posted @ 2008-09-25 01:51
Bruce Lee
阅读(663)
评论(0)
推荐(0)
摘要:
IE->工具->Internet 选项->高级->浏览->禁止脚本调试(Internet Explorer 其它) 不选中 如果需要在Javascript的某处断开,在脚本里输入语句 debugger; 阅读全文
posted @ 2008-09-25 01:51
Bruce Lee
阅读(182)
评论(0)
推荐(0)
摘要:
使用模态窗口时,还得注意三个问题: 1、要弹出的页面中,一定要保证<head></head>标签间有<base target=“_self”>,否则会弹出的模态窗口上,点击按钮时,会再次弹出一个新页面。 2、被弹出页面的按钮的事件处理中,应该有Response.Write(new Function().ClosePage());语句,用以... 阅读全文
posted @ 2008-09-25 01:50
Bruce Lee
阅读(236)
评论(0)
推荐(0)
浙公网安备 33010602011771号