SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a panel in our custom webpart & its size is set as equal to the webparts size on the createchildcontrol method...however the panel is coming up with scrollbars..

how we can display the panel on the webpart without the scrollbars..?

share|improve this question

U should specify the content width and height which is inside the panel, that should not greater then the panel hight and width. Other wise it will show the scroll bar for panel.u dont have any contrain in webaprt hight and width then u can use auto , use 100% height and width to panel.

share|improve this answer

May be, you should set height and width by zone in the web part properties in browser.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.