Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

Positioning dockedColumn and dockedRow not responding

Last post 09-15-2008 12:12 by [Infragistics] Mike Dour. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-03-2008 6:02

    • stevonix
    • Top 200 Contributor
    • Joined on 06-23-2008
    • Points 580

    Positioning dockedColumn and dockedRow not responding

    Hi,

    when  using the AddRange Method of the toolbarmanager the row and colomn positioning works fine. But when I programmatically use the AddToolbar Method the toolbars just appear next to each other.

    Can anyone tell me what I am doing wrong?

    Thanx

    Stefan

     

    ultraToolbar1.DockedColumn = 0;

    ultraToolbar1.DockedRow = 0;

    ultraToolbar1.IsMainMenuBar =
    true;ultraToolbar1.NonInheritedTools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[ {

    popupMenuTool5});

    ultraToolbar1.Text =
    "UltraToolbar1";

    ultraToolbar2.DockedColumn = 0;

    ultraToolbar2.DockedRow = 1;

    ultraToolbar2.Text =
    "UltraToolbar2";

    // this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[ {

    // ultraToolbar1,

    // ultraToolbar2});

    this.ultraToolbarsManager1.Toolbars.AddToolbar("UltraToolbar1");

    this.ultraToolbarsManager1.Toolbars.AddToolbar("UltraToolbar2");

    • Post Points: 20
  • 09-15-2008 12:12 In reply to

    Re: Positioning dockedColumn and dockedRow not responding

    The AddToolbar method creates a new toolbar internally, assigns it the key passed into the method, adds it to the manager, and returns it. Instead, use the Add method, which will take an existing toolbar and add it to the manager.

    • Post Points: 5
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems