How to contruct the web custom control using ? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

How to contruct the web custom control using ?

thchee26thchee26 Posts: 1Member
Hi! Is there anyone who is good on ASP.NET? I am currently doing a web custom control using the . This is the code below:
----------------------------------------------------------------------
Imports System.ComponentModel
Imports System.Web.UI

</{0}:WebControlFieldset>")> Public Class WebControlFieldset
Inherits System.Web.UI.WebControls.WebControl

Dim strTitle As String
Dim strHeight As String
Dim strWidth As String

Property [Title]() As String
Get
Return strTitle
End Get

Set(ByVal Value As String)
strTitle = Value
End Set
End Property

Protected Overrides Sub Render(ByVal output As System.Web.UI.HtmlTextWriter)
Dim strHTML As String = ""
strHTML += ""
strHTML += "" & strTitle & ""
strHTML += ""
output.Write(strHTML)

End Sub

End Class
-----------------------------------------------------------------------
The problem here is that I cannot do the resize on the runtime. Can anyone of u kind to help me here, please.=)
Sign In or Register to comment.