Home Search Member List Faq Register Login  
UltimatePanel
MultiGroupOpen and GroupHeight

Thread Starter: jthompson   Started: 10-15-2009 6:31 AM   Replies: 8
 Karamasoft Support Forums » General Discussions » UltimatePanel » MultiGroupOpen and GroupHeight
 Printable Version    « Previous Thread   Next Thread »
  15 Oct 2009, 6:31 AM
jthompson is not online. Last active: 12/30/2009 10:26:26 AM jthompson

Top 10 Posts
Joined on 04-03-2009
Posts 17
MultiGroupOpen and GroupHeight
Is there any way to get MultiGroupOpen to work without specifying the GroupHeight?  My groups are different sizes and I do not want scroll bars or spaces in between the groups.
  
  16 Oct 2009, 10:59 AM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: MultiGroupOpen and GroupHeight
You normally don't need to set the GroupHeight property of each group as can be seen at http://www.karamasoft.com/Samples.aspx?component=UltimatePanel&sample=AutoGroupHeight. When you leave it blank the control will automatically adjust its height based on the items in it.

If you reply with your sample code and let us know what exactly you are trying to achieve we can help you better. Thanks.

  
  19 Oct 2009, 2:15 PM
jthompson is not online. Last active: 12/30/2009 10:26:26 AM jthompson

Top 10 Posts
Joined on 04-03-2009
Posts 17
Re: MultiGroupOpen and GroupHeight
I am trying to get the xml below to work without specifying the groupheight.

<?xml version="1.0" encoding="utf-8"?>

<Panel xmlns="http://schemas.karamasoft.com/WebControls/UltimatePanel"

CssFile="http://localhost/imageserver/cox/HR/private/img/CoxmyHR.css" ScriptPath="~/Scripts"

SubgroupIndentLeft="0"

PanelCssClass="coxmyHRCFMenuBG" GroupHeaderCssClass="coxmyHRCFHeader" GroupHeaderOpenCssClass="coxmyHRCFHeader"

DefaultGroupCssClass="" DefaultItemCssClass="coxmyHRCFRowLight" DefaultItemOverCssClass="coxmyHRCFRowDark"

PanelWidth="261" DefaultLeftIconWidth="15" SubgroupInitiallyOpen="False" DefaultItemHeight="28"

DefaultLeftIconClosed="/imageserver/cox/HR/private/img/bullet_plus.gif"

DefaultLeftIcon="/imageserver/cox/HR/private/img/bullet_black_dot.gif"

DefaultLeftIconOver="/imageserver/cox/HR/private/img/bullet_black_dot.gif"

DefaultLeftIconOpen="/imageserver/cox/HR/private/img/bullet_minus.gif"

GroupHeaderLeftIcon="/imageserver/cox/HR/private/img/bullet_plus.gif"

GroupHeaderLeftIconOpen="/imageserver/cox/HR/private/img/bullet_minus.gif"

DefaultItemWidth="100%"

MultiGroupOpen="False"

GroupHeight="100"

GroupSlip="True"

>

<Group xmlns="">

<Item ID="Item2" Caption="ASP.NET Web Forms" ItemCssClass="coxmyHRCFHeaderLight" ItemOverCssClass="coxmyHRCFHeaderLight" >

<Group DefaultItemCssClass="coxmyHRCFRowLight" DefaultItemOverCssClass="coxmyHRCFRowLight" Display="InitiallyClosed">

<Item ID="Item3" Caption="Introducing Web Forms" />

<Item ID="Item4" Caption="Working with Server Controls" />

<Item ID="Item5" Caption="Server Control Form Validation" />

<Item ID="Item6" Caption="Applying Styles to Controls" />

<Item ID="Item7" Caption="Web Forms User Controls" />

<Item ID="Item8" Caption="Data Binding Server Controls" />

<Item ID="Item9" Caption="Server-Side Data Access" />

<Item ID="Item10" Caption="Data Access and Customization" />

<Item ID="Item11" Caption="Working with Business Objects" />

<Item ID="Item12" Caption="Authoring Custom Controls" />

<Item ID="Item13" Caption="Web Forms Controls Reference" />

<Item ID="Item14" Caption="Web Forms Syntax Reference" ItemCssClass="coxmyHRCFHeaderLight" ItemOverCssClass="coxmyHRCFHeaderLight"/>

</Group>

</Item>

<Item ID="Item15" Caption="ASP.NET Web Services" ItemCssClass="coxmyHRCFHeaderDark" ItemOverCssClass="coxmyHRCFHeaderDark">

<Group DefaultItemCssClass="coxmyHRCFRowDark" DefaultItemOverCssClass="coxmyHRCFRowDark" Display="InitiallyClosed">

<Item ID="Item16" Caption="Introducing Web Services" />

<Item ID="Item17" Caption="Writing a Simple Web Service" />

<Item ID="Item18" Caption="Web Service Type Marshalling" />

<Item ID="Item19" Caption="Using Data in Web Services" />

<Item ID="Item20" Caption="Using Objects and Intrinsics" />

<Item ID="Item21" Caption="The WebService Behavior" />

<Item ID="Item22" Caption="HTML Pattern Matching" ItemCssClass="coxmyHRCFHeaderDark" ItemOverCssClass="coxmyHRCFHeaderDark"/>

</Group>

</Item>

<Item ID="Item23" Caption="ASP.NET Web Applications" ItemCssClass="coxmyHRCFHeaderLight" ItemOverCssClass="coxmyHRCFHeaderLight">

<Group DefaultItemCssClass="coxmyHRCFRowLight" DefaultItemOverCssClass="coxmyHRCFRowLight" Display="InitiallyClosed">

<Item ID="Item24" Caption="Application Overview" />

<Item ID="Item25" Caption="Using the Global.asax File" />

<Item ID="Item26" Caption="Managing Application State" />

<Item ID="Item27" Caption="HttpHandlers and Factories" ItemCssClass="coxmyHRCFHeaderLight" ItemOverCssClass="coxmyHRCFHeaderLight"/>

</Group>

</Item>

</Group>

</Panel>


  
  19 Oct 2009, 4:57 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: MultiGroupOpen and GroupHeight
In your original post, it sounded like you wanted to enable the MultiGroupOpen property but your XML seems to be setting it to False. We set it to True and then removed your GroupHeight="100" setting and it stopped showing the vertical scrollbars and each group is displayed based on their heights.
  
  20 Oct 2009, 4:21 AM
jthompson is not online. Last active: 12/30/2009 10:26:26 AM jthompson

Top 10 Posts
Joined on 04-03-2009
Posts 17
Re: MultiGroupOpen and GroupHeight

Sorry if I was unclear before.  I need MultiGroupOpen to be false without any scroll bars.


  
  20 Oct 2009, 12:04 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: MultiGroupOpen and GroupHeight
You will need to set the GroupSlip property to False and remove the GroupHeight setting in your XML file to make the panel groups render without vertical scrollbars.
  
  20 Oct 2009, 12:56 PM
jthompson is not online. Last active: 12/30/2009 10:26:26 AM jthompson

Top 10 Posts
Joined on 04-03-2009
Posts 17
Re: MultiGroupOpen and GroupHeight
Fantastic.  Thanks.  One last question.  I cannot make the group close once it is opened by clicking on the group header that is open.  The users need to be able to close the group by clicking on it after they have opened it.
  
  20 Oct 2009, 1:24 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: MultiGroupOpen and GroupHeight
You cannot close the open panel groups if you set the MultiGroupOpen property to False. In single group open mode, there has to be one group open all the time.
  
  21 Oct 2009, 4:02 AM
jthompson is not online. Last active: 12/30/2009 10:26:26 AM jthompson

Top 10 Posts
Joined on 04-03-2009
Posts 17
Re: MultiGroupOpen and GroupHeight
OK.  Thanks for all your help.
  
 Page 1 of 1 (9 items)
Karamasoft Support Forums » General Discussions » UltimatePanel » MultiGroupOpen and GroupHeight

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2018 Karamasoft LLC. All rights reserved.