[FIXED] [#82] - Bug Report - CheckBox.InputWidth (Code Sample in Razor)

  1. #1

    [FIXED] [#82] - Bug Report - CheckBox.InputWidth (Code Sample in Razor)

    Hi,

    If you set the CheckBox.InputWidth > 13 (i.e. 90), you will 4 checkboxes.
    I discovered this when I was setting the FormPanel.FieldDefaults.InputWidth to 90.
    (Currently work around is to manually set the InputWidth for the Checkbox back to 13).

    For Example:
    Html.X().FormPanel()
                    .FieldDefaults(fd =>
                                    {
                                        fd.LabelWidth = 105;
                                        fd.InputWidth = 90;
                                        fd.LabelAlign = LabelAlign.Right;
                                    })
                    .Border(false)
                    .AnimCollapse(false)
                    .ID("myform")
                    .BodyPadding(10)
                            .Items(
                                Html.X().FieldContainer().Layout(LayoutType.HBox).Items(
                                    Html.X().NumberFieldFor(m => m.BuyingPower),
                                    Html.X().NumberFieldFor(m => m.Qty),
                                    Html.X().CheckboxFor(m => m.LimitLegs))
                            )
    Last edited by Daniil; Dec 24, 2012 at 11:27 AM. Reason: [OPEN] [#82]
  2. #2
    Thank you!

    We are investigating.
  3. #3
    Hi,

    Thank you for the report.

    We fixed it in SVN.

    Also I re-reported to Sencha.
    http://www.sencha.com/forum/showthread.php?252354

    Opened an Issue to track this defect.
    https://github.com/extnet/Ext.NET/issues/82

    We will just remove our fix if Sencha will fix it itself.
    Last edited by Daniil; Dec 24, 2012 at 11:27 AM.
  4. #4
    OK, Thanks!
  5. #5
    Both the Sencha team and the Ext.NET team can no longer reproduce this issue as of Ext.NET 4.x.

    Please let us know if you run into the same problem with Ext.NET 4.x (or higher) and we will reopen this Issue for investigation. Going forward, support for this issue can only be provided for Ext.NET 4.x (or higher).
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 1
    Last Post: May 08, 2013, 1:00 AM
  2. [CLOSED] Sample code for RadioFor and MultiComboFor in MVC Razor
    By MTSI in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 06, 2013, 6:03 AM
  3. [Razor] Porting the Bar Chart Sample
    By Stijn in forum 2.x Help
    Replies: 1
    Last Post: Nov 26, 2012, 11:48 AM
  4. EXT.NET 2.0 RAZOR and ASP.NET MVC 3 Sample Demo App
    By michael_aj in forum Open Discussions
    Replies: 2
    Last Post: Jul 31, 2012, 12:06 PM
  5. [FIXED] [V0.7] Bugs report at 870
    By methode in forum Bugs
    Replies: 1
    Last Post: Dec 01, 2008, 1:48 PM

Posting Permissions