Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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.