Administrator

Administrator

  • Tech Writer
  • 2.2k
  • 1.5m

Positioning custom web control

Mar 27 2003 10:06 AM
While I was trying to make a custom web control in ASP.NET, I encountered the following problem: I can't get it to position on the web form in the browser on the same place where it was positioned in the design view of Visual Studio. It always positions in the top left corner. Even when I (desperately) put it in a table in the asp code, it doesn't change place. Another problem is that it doesn't show properly in the design view. Either it shows an error message that I can move around with the mouse, or it shows a very small box. I tried to make a special ControlDesigner-derived class, but I can't get it to work properly. Does anybody have an idea how to fix this? All input really appreciated!