RDLC 报表项消失

在使用Visual Studio 2008的RDLC报表时,遇到工具箱中的报表项(如文本框、图表、表格等)在设计状态下消失的问题。尝试打补丁和重装VS无效。解决方案是删除隐藏文件夹C:Documents and SettingsMYUSERNAMELocal SettingsApplication DataMicrosoftVisualStudio9.0中的四个隐藏文件(toolbox.tbd、toolbox_reset.tbd、toolboxIndex.tbd、toolboxIndex_reset.tbd),这些文件是工具箱的缓存,删除后会自动生成,问题得到解决。此外,若用户控件也消失,可通过VS菜单:工具 -> 选项 -> Windows Form Designer -> General,将“AutoToolboxPopulate”设置为“True”来修复。

 

今天碰到一件很奇怪的事情,

Visual studio 2008 RDLC报表在设计状态时,工具箱中的报表项(文本框、折线图、表、子报表等)竟然消失了,打补丁,重装VS都没有解决,最后解决办法如下:

 http://stackoverflow.com/questions/799934/toolbox-issue-for-rdlc-in-design-mode-vs2008

 

fixed this by going into my profile as follows:

C:\Documents and Settings\MYUSERNAME\Local Settings\Application Data\Microsoft\VisualStudio\9.0

toolbox.tbd
toolbox_reset.tbd
toolboxIndex.tbd
toolboxIndex_reset.tbd

There are four HIDDEN files in there that make up what is apparently the toolbox cache. If you erase them, they will be re-generated and #13119 will go back to General. As I said, these files appear to be hidden so configure the file explorer accordingly.

Second problem: my User controls disappeared from the toolbox.
I was able to fix it by going into the VS menus:

Visual Studio "Tools" menu

"Options" submenu

"Windows Form Designer" tab "General" tab Set "AutoToolboxPopulate" to "True"

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值