We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Treeview Scrollbars

Thread ID:

Created:

Updated:

Platform:

Replies:

70388 Dec 10,2007 10:32 AM Dec 27,2007 04:57 AM ASP.NET Web Forms (Classic) 3
loading
Tags: Tools
Kathy Gray
Asked On December 10, 2007 10:32 AM

Is there a way to turn off the scrollbars on the treeview?


Suresh Sekarean [Syncfusion]
Replied On December 11, 2007 10:59 PM

Hi Kathy,

By setting the style attribute of TreeView control , 'Overflow' to 'hidden' , TreeView control scrollbars can be hidden.
Please refer the below code snippet.

[C#]

TreeView1.Attributes.CssStyle.Add(HtmlTextWriterStyle.Overflow, "hidden");

[VB]

TreeView1.Attributes.CssStyle.Add(HtmlTextWriterStyle.Overflow, "hidden")

Please try this and let us know if this helps.

Thanks for using Syncfusion products.

Regards,
Sureshsekaran.


Kathy Gray
Replied On December 24, 2007 03:26 PM

I tried your suggestion, but the scrollbars still appear when the tree is expanded.

>Hi Kathy,

By setting the style attribute of TreeView control , 'Overflow' to 'hidden' , TreeView control scrollbars can be hidden.
Please refer the below code snippet.

[C#]

TreeView1.Attributes.CssStyle.Add(HtmlTextWriterStyle.Overflow, "hidden");

[VB]

TreeView1.Attributes.CssStyle.Add(HtmlTextWriterStyle.Overflow, "hidden")

Please try this and let us know if this helps.

Thanks for using Syncfusion products.

Regards,
Sureshsekaran.




Yavanaarasi G [Syncfusion]
Replied On December 27, 2007 04:57 AM

Hi Kathy,

Sorry for the delay in responding.

I am afraid that i was not able to reproduce the issue. Also I have created a simple sample to test this issue and it is available in the following link:

http://websamples.syncfusion.com/samples/Tools.Web/6.1.0.34/F-70388/main.htm

Please try the above code and if still tha issue exists,could you please try to reproducing it in the above sample and send us the modified sample so that we could sort out the cause of the issue and provide you a solution?

Regards,
Yavana.G



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;