Forum guidelines
  • Home
  • »
  • C# Language
  • »
  • Adding scrollbars in groupbox which is inside a panel
AuthorQuestion
Adding scrollbars in groupbox which is inside a panel
Posted By Kriti on 10 Jun 2010
In the panel ,I have 2 groupboxes.

These 2 groupboxes contain dynamically generated textbox and checkbox.

If I add more than 6 textbox in one groupbox,It is not able to show the textbox as the textbox goes down..so to avoid this I thought of adding vertical scroll bar.But i dont know how to add vertical scrollbar in the groupbox..
Any help will be highly appreciated.

Kriti
AuthorReply
Re: Adding scrollbars in groupbox which is inside a panel
Posted By Crish on 10 Jun 2010  
hi

<div id="bar" style="overflow: auto; height: 150px; width: 100px;">

thanks



<a href="http://axistechnolabs.com/technology/ecommerce-development.aspx">ecommerce-development company</a>
Re: Adding scrollbars in groupbox which is inside a panel
Posted By Kriti on 10 Jun 2010  

Hey were to write these...In c sharp side?
I dont think it takes this syntax..

Kriti
Re: Adding scrollbars in groupbox which is inside a panel
Posted By Crish on 10 Jun 2010  
write this code in aspx page

<div id="bar" style="overflow: auto; height: 150px; width: 100px;">
----- your groupboxes or table
</div>

<a href="http://axistechnolabs.com/technology/ecommerce-development.aspx">ecommerce-development company</a>
Re: Adding scrollbars in groupbox which is inside a panel
Posted By Dipa Ahuja on 10 Jun 2010  
hi...

in groupbox there may be not property for scorllbar..

but you can set the panel's property AutoScroll=true becoz its on the groupbox..

We can't help everyone, but everyone can help someone.
Download Free eBooks

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.