[CLOSED] [2.0] Razor and Panel TopBar

  1. #1

    [CLOSED] [2.0] Razor and Panel TopBar

    Hello,

    How would one add a toolbar to a topbar in a panel using MVC 3 razor?

    Cheers,
    Timothy
    Last edited by Daniil; Feb 20, 2012 at 10:13 AM. Reason: [CLOSED]
  2. #2
    Hi Timothy,

    There does appear to be an "Ambiguous Reference" exception thrown. We are looking into a fix right now.
    Geoffrey McGill
    Founder
  3. #3
    Thanks, I was worried it was just me.

    Quote Originally Posted by geoffrey.mcgill View Post
    Hi Timothy,

    There does appear to be an "Ambiguous Reference" exception thrown. We are looking into a fix right now.
  4. #4
    Hi,

    Vladimir has fixed it.

    The fix should appear in the next release which is imminent.
  5. #5
    Any work around until the release? Or can I get the latest version from the trunk?

    Cheers
  6. #6
    Hi,

    You can cast a delegate to avoid ambiguous error
    .TopBar((System.Action<Ext.Net.ToolbarCollection>)(items => {
                items.Add(Html.X().Toolbar().Items(buttons => {
                    buttons.Add(Html.X().Button()
                        .Text("Button1")
                        .Icon(Icon.Add)
                    );
                }));
            }))
  7. #7
    Thanks vladsch.

    Cheers,
    Timothy

Similar Threads

  1. [CLOSED] [Razor] Setup Auto load panel in razor
    By UnifyEducation in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 27, 2012, 10:54 AM
  2. [CLOSED] Problem with Panel into grid's topbar
    By John_Writers in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: May 20, 2011, 10:08 AM
  3. [CLOSED] topbar bottombar panel
    By pdcase in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Aug 24, 2010, 8:54 PM
  4. [CLOSED] TreePanel does not show with TopBar on Panel in a TabPanel
    By SFritsche in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Aug 24, 2010, 6:19 PM
  5. Replies: 0
    Last Post: May 28, 2009, 2:33 PM

Posting Permissions