Author: mech55 | Posted on: 4/6/2010 5:06:39 PM | Views : 300

Hi, basically i've built a rounded panel control based on the normal panel control with the help of a bit of CSS and javascript and it works pretty well.  The problem is, when I put it inside of an update panel, the corners dissapear after a partial postback.  I've run into this problem before and have used the scriptmanager.RegisterClientScriptInclude to solve it, but it's not working this time!  Please help!



Public Class RoundedPanel Inherits Panel Public Property BottomRightRadius() As Integer Get If IsNothing(ViewState("BottomRightRadius")) Then Return 20 Else Return ViewState("BottomRightRadius") End If End Get Set(ByVal value As Integer) ViewState("BottomRightRadius") = value End Set End Property Public Property TopLeftRadi ...

Go to the complete details ...