Last post Apr 14, 2010 06:54 AM by Kitesolutions
Mar 23, 2010 07:49 PM|Kitesolutions|LINK
I have a strange problem with a control I made.
I made a custom templated control with 4 editable region, I did also a designer that inherits from System.Web.UI.Design.WebControls.CompositeControlDesigner.
For the development of the designer I based on this article: http://msdn.microsoft.com/en-us/library/system.web.ui.design.editabledesignerregion.aspx
The designer works correctly but when I add a control inside a region VS does not create the correct variable declaration in the code behind (actually it does not create any declaration)
I tried also the code of the article and the behaviour was the same.
If I remove the designer and add controls directly in the markup the variables are generated correctly.
Following you can find the code of my control.
I use VS2008 Version 9.0.30729.1 SP.
What am I doing wrong?
Thanks in advance for your support.
Apr 14, 2010 06:54 AM|Kitesolutions|LINK
No one can help me