|
Rank: Newbie Groups: Member
Joined: 4/1/2009 Posts: 5
|
Hi,
i've used the vertical splitter for my website. my next step was to insert a treeview to the left splitter pane. splitter pane has no width and 550px height. is there a possibility to set the width of this left splitter pane to "auto"- resize if all nodes of the treeview are expanded to avoid horizontal scrolling?
Thanks,
best regards,
Richard
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I do not believe you can do that. A vertical splitter can only automatically resize vertically. Horizontal resizing is always manual.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 4/1/2009 Posts: 5
|
´My idea was to catch the Click on my treeview, read the actual width and then i would start a callback to releoad my splitter pane with new width.
would that be possible? but i think if its possible, it could be too slow...
mybe a simple callback would do the job? when i start my page, the splitter has his exactly size for collapsed treeview. i should be the same when i callback this part of my site...
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Richard wrote:mybe a simple callback would do the job? when i start my page, the splitter has his exactly size for collapsed treeview. i should be the same when i callback this part of my site... This may work for you. You would place the whole splitter inside a CallbackPanel, set the TreeView's RaisesServerEvent to true, and then set the CallbackPanel's Triggers to include the TreeView. Thanks
|
|