Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Controls - bug? rendering issues?

Status
Not open for further replies.

chewza

MIS
Feb 15, 2003
22
ZA
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top