Hi Guys
>
> I have a problem as stated below.Hope You can help\me.
>
> I create a Web Server Control which inherits from
> WebControl and overrides property for Width of the
> WebControl as
>
>
>
> Public Overrides Property Width() As Unit
>
> Get
>
> Return MyBase.Width()
>
> End Get
>
> Set(ByVal Value As Unit)
>
> MyBase.Width = Value
>
> _Button.Width = Unit.Pixel(20)
>
> Dim nWidth As Integer
>
> Me.Width.Pixel(nWidth)
>
> _Textbox.Width = New Unit(100,
UnitType.Pixel)
>
> _Textbox.Width = Unit.Pixel((CType
> (Me.Width.Value.ToString(), Integer) - 20))
>
> End Set
>
> End Property
>
>
>
> And then,
>
>
>
> In design mode when I change Width of the Control, Close
> the Web Form, and Re-open the Web Form again then it
> gives me error as "Ambiguous match found".
>
>
> Thanks
> Vishal