Hi, panel help please

Hi, panel help please

Post by Raghu Rama » Tue, 14 Dec 2004 13:09:21



Dear friends,

Is it possiable to make the scroll bars in the panel control.


With THANKS
Raghu

*** Sent via Developersdex http://www.yqcomputer.com/ ***
Don't just participate in USENET...get rewarded for it!
 
 
 

Hi, panel help please

Post by Ken Cox [M » Thu, 16 Dec 2004 08:52:35

Hi Raghu,

You can do that by adding a style to the panel control:

Private Sub Page_Load _
(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
Panel1.Attributes.Add("style", "overflow: scroll")
End Sub

<asp:panel id="Panel1" runat="server" Width="250px"
Height="250px">Panel</asp:panel>

Ken
Microsoft MVP [ASP.NET]

 
 
 

Hi, panel help please

Post by Raghu Rama » Thu, 16 Dec 2004 12:59:23

Thanks ken,

i ll try that.


Regards
Raghu



*** Sent via Developersdex http://www.yqcomputer.com/ ***
Don't just participate in USENET...get rewarded for it!