[OPEN] [#136] ComboBox ForceSelection problem

Page 2 of 2 FirstFirst 12
  1. #11
    Quote Originally Posted by ltctech View Post
    There is an additional side effect to setting ComboBox Value from Page_Load in 2.1.1.

    If the Value set at Page_Load is not changed before postback, it will only postback the ComboBox's text (verified with FireBug).
    In result, the server side Value will be populated with the text instead of the value.
    Hi itctech,

    I had the same problem you talk about.
    It was a bug and it's fixed.
    Please refer to the following link:http://forums.ext.net/showthread.php...Box-load-value
  2. #12
    Any update on this bug from Sencha?
    Kind of weird that it's still not been fixed now that Ext JS 4.2 is RTM.

    Have you guys considered using this workaround internally in Ext.NET, when ForceSelection is set to true?
    <Listeners>
       <AfterRender Handler="this.forceSelection = true;" />
    </Listeners>
  3. #13
    No news from Sencha, it is still opened.

    Yes, we will consider fixing it direct in Ext.NET. Thanks.
  4. #14
    We are reluctant to commit such a fix
    <AfterRender Handler="this.forceSelection = true;" />
    and would prefer to wait a fix from Sencha.

    Moreover, the issue doesn't look critical since you can use the SelectedItems property instead of the Value one.
    this.ComboBox2.SelectedItems.Add(new Ext.Net.ListItem(2));
    We would recommend to always use the SelectedItems property to set up initially selected items.
  5. #15
    Hi All,

    I am just wondering if is there any success with the issue?

    Thank you.
  6. #16
    Sencha has not fixed it. We neither. Please use a workaround.
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Combobox with forceselection and loadRecord
    By nukarsoft in forum 2.x Help
    Replies: 0
    Last Post: Jan 07, 2013, 2:38 PM
  2. [0.8.1] Combo with ForceSelection
    By sidinwillis in forum 1.x Help
    Replies: 6
    Last Post: Dec 22, 2009, 10:25 AM
  3. [CLOSED] ComboBox ForceSelection=False and Change Event
    By Steve in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: May 13, 2009, 2:48 AM
  4. [CLOSED] What does ForceSelection do in ComboBox?
    By harafeh in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 16, 2009, 1:48 PM
  5. ForceSelection on Combo not working
    By jeybonnet in forum Bugs
    Replies: 2
    Last Post: Feb 01, 2009, 12:24 PM

Posting Permissions