C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Splitter Expand

rated by 0 users
This post has 2 Replies | 1 Follower

Top 500 Contributor
Posts 17
saketh Posted: Tue, Apr 22 2008 2:14 PM

I have a update splitter that I want to expand on the clientside based on textchanged event of a textbox. I don't want to toggle it, but I want to expand the splitter. Is it possible to do this?

 - Saketh.

Top 500 Contributor
Posts 17
saketh replied on Thu, Apr 24 2008 11:08 AM

Here is how I did it at the client side. My update splitter name is ItemsSplitter and it is in a content page.

if (ctl00_ContentPlaceHolder1_ItemsSplitter_SplitContainer.Panel1Collapsed == true){ctl00_ContentPlaceHolder1_ItemsSplitter_SplitContainer.ToggleExpand();}

I put this in a javascript function (SpliiterExpand) and called the javascript function like this in the TextBox control OnChange="SplitterExpand()"

Hope this helps somebody. - Saketh.

 
Top 25 Contributor
Posts 486
Hello Saketh,
 
You may try this code:
C1WebSplitter1_SplitContainer.ChangeToSize(120)
 
Regards,
Andrew
<saketh> wrote in message news:204240@10.0.1.98...

Here is how I did it at the client side. My update splitter name is ItemsSplitter and it is in a content page.

if (ctl00_ContentPlaceHolder1_ItemsSplitter_SplitContainer.Panel1Collapsed == true){ctl00_ContentPlaceHolder1_ItemsSplitter_SplitContainer.ToggleExpand();}

I put this in a javascript function (SpliiterExpand) and called the javascript function like this in the TextBox control OnChange="SplitterExpand()"

Hope this helps somebody. - Saketh.

 

http://helpcentral.componentone.com/cs/forums/p/75038/204240.aspx#204240

Page 1 of 1 (3 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.