I'm trying to desig a control for the 1st time & have this code:
When I add this to a webform at design time, the control is locked to the right of the screen & only resizes left or vertically - I can't move it around freely or alter it's height or width like the default MS web controls (like a label or checkbox for example). How can I add this functionality please????Code:Imports System.ComponentModel Imports System.Web.UI Public Class WebCustomControl1 Inherits System.Web.UI.WebControls.WebControl Protected Overrides Sub Render(ByVal output As System.Web.UI.HtmlTextWriter) output.Write("<Table height=100% width=100% border=5><TR><TD> </TD></TR></TABLE>") End Sub End Class




Reply With Quote