开发者

Use the MSChart in the Web Part

开发者 https://www.devze.com 2022-12-17 06:58 出处:网络
I use the MSChart in the web part, it works fine. But there is a problem. I add some controls in the Web Part Editor to configure the MSChart\'s color. Everytime after I change the color of the Chart

I use the MSChart in the web part, it works fine. But there is a problem.

I add some controls in the Web Part Editor to configure the MSChart's color. Everytime after I change the color of the Chart, then click the Apply button, it does not show the change. You nee开发者_JS百科d click twice or refresh the page again. Does anyone meet the same problem?

Best Regard,


As the changes are only applied after a refresh of the page or multiple button clicks, you might have some problems with the WebPart life cycle. You should solve the problem by debugging you WebPart step by step.

For more information about the WebPart life cycle have a look at the following links:

  • http://msdn.microsoft.com/en-us/library/ms366536.aspx
  • http://www.moss2007.be/blogs/vandest/archive/2007/07/24/asp-net-webpart-life-cycle-reminder.aspx
  • http://www.codeproject.com/KB/sharepoint/WebPartLifeCycle.aspx
  • http://nishantrana.wordpress.com/2009/02/14/understanding-web-part-life-cycle/
0

精彩评论

暂无评论...
验证码 换一张
取 消