Hi, panel help please

R

Raghu Raman

Dear friends,

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


With THANKS
Raghu
 
K

Ken Cox [Microsoft MVP]

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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top