[CLOSED] [2.0] Tools

  1. #1

    [CLOSED] [2.0] Tools

    Hello,

    Was wondering how one would add a tool to a GridPanel in Razor. I'm using the following:

    
    @(Model.X().GridPanel()
        ....
        .Tools(tools =>
        {
            tools.Add(Html.X().Tool()
                ....
            );
        } )
    )
    I don't know the parameter to use to show the help tool icon, or the refresh? I thought maybe ToolTipType but it only has Qtip and Title.

    Any suggestions?

    Cheers,
    Timothy
    Last edited by Daniil; Sep 28, 2012 at 2:33 PM. Reason: [CLOSED]
  2. #2
    Please use Tool class instead Tool.Builder
    tools.Add(new Tool{Type = ToolType.Refresh});
    We will fix Tool builder class and include all missed properties
  3. #3
    Quote Originally Posted by Vladimir View Post
    Please use Tool class instead Tool.Builder
    tools.Add(new Tool{Type = ToolType.Refresh});
    We will fix Tool builder class and include all missed properties
    Thanks, let me know when resolved and I'll check again.

    Cheers
  4. #4
    We will include a fix to 2.1 only (2.0 development is freezed because 2.0 is in prerelease state, only important bug fixes will be added)
    Using Tool instead Tool.Builder is absolutely correct and you can use it safely (it will not be obsolete in the future)
  5. #5
    The Razor builder for the Tool class has been added.

Similar Threads

  1. [CLOSED] EXT.NET GUI testing tools?
    By agonzalez in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 27, 2012, 8:56 AM
  2. [CLOSED] Graph tools
    By FpNetWorth in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Dec 20, 2010, 6:22 PM
  3. [CLOSED] Tab Tools
    By moth1 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 15, 2010, 9:16 AM
  4. [CLOSED] [1.0] ButtonGroup tools
    By danielg in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Mar 01, 2010, 12:48 PM
  5. Panel.Tools property
    By agha in forum 1.x Help
    Replies: 3
    Last Post: Mar 03, 2009, 5:48 PM

Posting Permissions