摘要: name of any SharePoint project item contains parentheses, its solution fails on deployment with an error. Error MessageError occurred in deployment step 'Add Solution': Failed to extract the cab file in the solution.ResolutionTo work around this problem, remove any parentheses in the names of ShareP 阅读全文
posted @ 2010-12-17 11:15 StarWang 阅读(803) 评论(0) 推荐(0) 编辑
摘要: 问题一:无法显示分页的页码。很多朋友很奇怪明明已经设置如下的代码oGrid.AllowPaging = true; oGrid.PageSize = 2; oGrid.PageIndexChanging +=new GridViewPageEventHandler(oGrid_PageIndexChanging);但是页面上无法显示页码。这个是SharePoint 自己的问题,我们需要加入下面一行代码Controls.Add(oGrid); oGrid.PagerTemplate = null;//这行就是要加的代码,顺序很重要,一定要在Controls.Add之后,DataBind();之前 阅读全文
posted @ 2010-12-17 11:11 StarWang 阅读(255) 评论(0) 推荐(0) 编辑