Welcome Guest Search | Active Topics | Sign In | Register

Splitter Autosize Options
Richard
Posted: Wednesday, April 1, 2009 6:12:01 AM
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
eo_support
Posted: Wednesday, April 1, 2009 8:59:50 AM
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!
Richard
Posted: Thursday, April 2, 2009 2:53:57 AM
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...
eo_support
Posted: Thursday, April 2, 2009 8:53:12 AM
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.