在Sharepoint Designer 2010或VS 2010中编辑CSDefaultSite.master时,在设计模式下创建控件时出错 [英] Error Creating Control in Design mode when editing CSDefaultSite.master in Sharepoint Designer 2010 or VS 2010

查看:48
本文介绍了在Sharepoint Designer 2010或VS 2010中编辑CSDefaultSite.master时,在设计模式下创建控件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用适用于Sharepoint 2010的CS 2009模板包来提供默认网站,但总是会出现"错误创建控件"。在设计模式下。


创建控件时出错 – XXX。对象引用未设置为对象的实例”,其中xxx是CSDefaultSite.master中的控件。


我知道,Sharepoint Designer 2010不是实际编辑的推荐工具但是在尝试编辑VS 2010中的默认站点时,我也无法在设计模式下看到任何内容。


这是一种设计行为,或者我做错了什么?


 

解决方案

我猜大多数控件都是自定义控件(没有设计支持)。


I am trying to skin the default site coming with CS 2009 Template Pack for Sharepoint 2010 but always getting a "Error Creating Control" in Design mode.

Error Creating Control – xxx. Object reference not set to an instance of an object”, where xxx is a control in CSDefaultSite.master.

I know, Sharepoint Designer 2010 is not a recommended tool for a real-life editing but I also can't see anything in Design mode when trying to edit the default site in VS 2010.

This is a by-design behavior or I am doing something wrong?

 

解决方案

I guess most of the controls are custom controls (without design support).


这篇关于在Sharepoint Designer 2010或VS 2010中编辑CSDefaultSite.master时,在设计模式下创建控件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆