[OPEN] [#399] Plugin BoxSelect

Page 1 of 2 12 LastLast
  1. #1

    [OPEN] [#399] Plugin BoxSelect

    Hi,

    Is there something like this in ext.net?

    http://kveeiv.github.io/extjs-boxsel...cConfiguration

    Thanks!
    Last edited by Daniil; Dec 10, 2013 at 8:49 AM. Reason: [OPEN] [#399]
  2. #2
    Hi @luiz,

    Unfortunately, no.

    You could try to use that UX with Ext.NET together.
  3. #3
    Hi Daniil,

    Could you help me get started? With a sample with Ext.Net and UX plugin?

    Thanks!
  4. #4
    Will you need a C# control? Or a JavaScript class will be enough for you?
  5. #5
    Hi,

    Javascript class solves my problem.

    What is faster to do. ;)

    Thanks!
  6. #6
    Then you should attach the BoxSelect's resources:
    <!-- BoxSelect Source -->
    <link rel="stylesheet" type="text/css" href="../src/BoxSelect.css" />
    <script type="text/javascript" src="../src/BoxSelect.js"></script>
    and instantiate a BoxSelect like this:
    Ext.create('Ext.ux.form.field.BoxSelect', {
        renderTo: Ext.getBody(),
        // other config options
    });
    The main problem I foresee is: BoxSelect uses ExtJS 4.1, but the Ext.NET is currently (v2.2 and the SVN trunk) based on ExtJS 4.2. There is a possibility that a BoxSelect is not going to work with ExtJS 4.2, but it might. By the way, Ext.NET v2.1 is based on ExtJS 4.1.
  7. #7
  8. #8
    BoxSelect is not a plugin. It is an individual component. Unfortunately, it cannot be used as a plugin to ComboBox.
  9. #9
    Hum..

    Ok. Please, close this thread.

    Thank you.
  10. #10

    C# Extension

    Hi,

    The javascript approach works for me but it doesn't quite fit my needs. I'm trying to get the C# extension to work but am having some difficulties. For simplicity sake my view looks like this:

    [Layout]
    <script src="@Url.Content("~/Scripts/BoxSelect.js")" type="text/javascript"></script>
    
    [View]
    @(Html.X().FormPanel()
        .ID("CreateCallForm")
        .Layout(LayoutType.Form)
        .Items(
            Html.X().FieldSet()
            .Items(i => i.Add(new GenericComponent<ComboBox> { GenericInstanceOf = "Ext.ux.form.field.BoxSelect", GenericXType = "boxselect", Component = { FieldLabel = "test" } }))
        )
    )
    I followed the code from here: http://forums.ext.net/showthread.php...ll=1#post53043, but instead of seeing the box select control, I'm just seeing the standard combobox. Any ideas? I've tried a variety of GenericXType values include Ext.ux.form.field.BoxSelect, ext.ux.form.field.boxselect, widget.boxselect, BoxSelect. I am using the box select code from here: https://github.com/kveeiv/extjs-boxselect
Page 1 of 2 12 LastLast

Similar Threads

  1. BoxSelect or TagControl
    By PetrSnobelt in forum 2.x Help
    Replies: 0
    Last Post: Feb 14, 2013, 8:52 AM
  2. [CLOSED] Ext.ux.TabReorderer plugin?
    By jchau in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Dec 04, 2012, 4:16 PM
  3. [CLOSED] Plugin
    By boris in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Nov 23, 2011, 1:10 PM
  4. 1.0 generic plugin
    By [WP]joju in forum 1.x Help
    Replies: 7
    Last Post: Dec 07, 2009, 12:37 PM
  5. New Plugin
    By Maia in forum User Extensions and Plugins
    Replies: 4
    Last Post: Jun 16, 2009, 12:24 AM

Tags for this Thread

Posting Permissions