Click here to Skip to main content
15,900,431 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Problem with controls collection exporting data Pin
Abhishek Sur24-Nov-09 21:33
professionalAbhishek Sur24-Nov-09 21:33 
QuestionJavaScript and Print Pin
AndyASPVB23-Nov-09 8:50
AndyASPVB23-Nov-09 8:50 
AnswerRe: JavaScript and Print Pin
Christian Graus23-Nov-09 9:32
protectorChristian Graus23-Nov-09 9:32 
AnswerRe: JavaScript and Print Pin
Abhishek Sur23-Nov-09 10:48
professionalAbhishek Sur23-Nov-09 10:48 
QuestionTreeView Relative Width Pin
W4Rl0CK4723-Nov-09 7:09
W4Rl0CK4723-Nov-09 7:09 
AnswerRe: TreeView Relative Width Pin
ToddHileHoffer23-Nov-09 7:15
ToddHileHoffer23-Nov-09 7:15 
GeneralRe: TreeView Relative Width Pin
W4Rl0CK4724-Nov-09 6:26
W4Rl0CK4724-Nov-09 6:26 
AnswerRe: TreeView Relative Width Pin
Abhishek Sur23-Nov-09 8:11
professionalAbhishek Sur23-Nov-09 8:11 
Yes.. this is really a problem. Actually Treeview has a min-height specified. So if you resize, it wont go after a certain width.

So you want the scrollbar to appear after it reaches a certain size. As it always holds its min width, you can set the width of the container to show the scrollbar of the container.

Just place the treeview inside of a <div> with overflow:auto for width. For example
<div style="width:128px;overflow:auto">
<asp:TreeView runat=... </div>

Hope it solves your problem.

You can use
<asp:TreeView ID="TreeView1" runat="server" Width="178" ...

to define width of the Treeview.

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

GeneralRe: TreeView Relative Width Pin
W4Rl0CK4724-Nov-09 6:30
W4Rl0CK4724-Nov-09 6:30 
GeneralRe: TreeView Relative Width Pin
Abhishek Sur24-Nov-09 21:31
professionalAbhishek Sur24-Nov-09 21:31 
GeneralRe: TreeView Relative Width Pin
W4Rl0CK4724-Nov-09 23:27
W4Rl0CK4724-Nov-09 23:27 
QuestionCheckboxlist checked values Pin
Paul McGann23-Nov-09 6:15
professionalPaul McGann23-Nov-09 6:15 
AnswerRe: Checkboxlist checked values Pin
ToddHileHoffer23-Nov-09 7:12
ToddHileHoffer23-Nov-09 7:12 
GeneralRe: Checkboxlist checked values Pin
Paul McGann23-Nov-09 11:48
professionalPaul McGann23-Nov-09 11:48 
AnswerRe: Checkboxlist checked values Pin
Abhishek Sur23-Nov-09 8:31
professionalAbhishek Sur23-Nov-09 8:31 
Questionuser control [modified] Pin
samir8023-Nov-09 5:10
samir8023-Nov-09 5:10 
AnswerRe: user control Pin
Richard MacCutchan23-Nov-09 5:28
mveRichard MacCutchan23-Nov-09 5:28 
AnswerRe: user control Pin
Abhishek Sur23-Nov-09 8:35
professionalAbhishek Sur23-Nov-09 8:35 
QuestionDataReader in the code behind. Pin
ToddHileHoffer23-Nov-09 5:00
ToddHileHoffer23-Nov-09 5:00 
AnswerRe: DataReader in the code behind. Pin
David Mujica23-Nov-09 5:19
David Mujica23-Nov-09 5:19 
GeneralRe: DataReader in the code behind. Pin
ToddHileHoffer23-Nov-09 5:42
ToddHileHoffer23-Nov-09 5:42 
QuestionVersion of Unicode in use for asp.net 3.5 Pin
bracketsfox23-Nov-09 2:24
bracketsfox23-Nov-09 2:24 
AnswerRe: Version of Unicode in use for asp.net 3.5 Pin
Abhishek Sur23-Nov-09 3:47
professionalAbhishek Sur23-Nov-09 3:47 
QuestionAbout Dropdownlist in ASp:content page Pin
Rajeshwar Code- Developer23-Nov-09 1:15
Rajeshwar Code- Developer23-Nov-09 1:15 
AnswerRe: About Dropdownlist in ASp:content page Pin
Amit Patel198523-Nov-09 1:27
Amit Patel198523-Nov-09 1:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.