I am trying to create a relatively simple custom control.
I essentially wrote a class to inherit a textbox, and then supply two additonal properties.
I compiled the class with vbc.exe, and then registered the control on my page with <%@ register etc.
All of the above I did outside visual studio, since I am on the standard edition
So far, so good.
The problem is the when I know work in visual studio, and try to set the text property in the design time environment, it subsequently appends loads of blank spaces when the page is compiled & rendered.
However, if I set the text value programatically (page load) - no problems!!
Any ideas? Is this a bug?
I essentially wrote a class to inherit a textbox, and then supply two additonal properties.
I compiled the class with vbc.exe, and then registered the control on my page with <%@ register etc.
All of the above I did outside visual studio, since I am on the standard edition
So far, so good.
The problem is the when I know work in visual studio, and try to set the text property in the design time environment, it subsequently appends loads of blank spaces when the page is compiled & rendered.
However, if I set the text value programatically (page load) - no problems!!
Any ideas? Is this a bug?