Combobox disabled after the first click

14 posts, 0 answers
  1. El
    El avatar
    130 posts
    Member since:
    Dec 2008

    Posted 07 Jan 2009 Link to this post

    When i click the ComboBox for the very first time it works just as expected. Then it collapses and gets disabled.
    Am i missing some setting? Btw, i populate the Combo using DataBind call.

    cmb.DataTextField = "fieldname" 
    cmb.DataValueField = "ID" 
    cmb.DataSource = table 
    cmb.DataBind()

    Thanks


  2. Serrin
    Serrin avatar
    286 posts
    Member since:
    Sep 2008

    Posted 08 Jan 2009 Link to this post

    Hi El,

    Out of curiosity, where are you placing the code you pasted?  Just trying to get a better picture for how your project looks to help troubleshoot what may be going wrong.  :)
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. El
    El avatar
    130 posts
    Member since:
    Dec 2008

    Posted 08 Jan 2009 Link to this post

    It is a class placed in Add_Code folder.
    Means it does populate the ComboBox control and everything seems fine except when you select an item from the list it stops be responsive. It becomes simply locked. This is the asp.net code of the radcombobox:

    <telerik:RadComboBox ID="cmbTypes" Runat="server" Skin="WebBlue"  
            MarkFirstMatch="true" AllowCustomText="True" CloseDropDownOnBlur="False"  
            EnableLoadOnDemand="True" EnableVirtualScrolling="True"
    <CollapseAnimation Type="InOutQuart" Duration="200"></CollapseAnimation> 
    <ExpandAnimation Type="InOutQuad"></ExpandAnimation> 
    </telerik:RadComboBox> 

    I am really confused by those collapse/expand animation tags ... is it possible that those duration attributes can cause this issue?

    Thanks

    EDIT: i just noticed that this only happens in Firefox 3.0.5 .. i haven't tested it in Firefox 2.0 and below.
    In IE7 it works very good.
  5. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 08 Jan 2009 Link to this post

    Hello El,

    Did you receive any JavaScript errors?

    Could you provide more details about any JavaScript code related to the ComboBox control?

    All the best,
    Simon
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. El
    El avatar
    130 posts
    Member since:
    Dec 2008

    Posted 08 Jan 2009 Link to this post

    Hello Simon,

    Well there is not errors .. either on server side and on client-side. All is rendered is this"


    <div id="ctl00_ContentPlaceHolder1_couponsCtrl_cmbTypes" class="RadComboBox RadComboBox_WebBlue" style="width: 160px; display: -moz-inline-stack;"
        <table class="" style="border-width: 0pt;" border="0" cellpadding="0" cellspacing="0"
            <tbody><tr
                <td class="rcbInputCell rcbInputCellLeft" style="width: 100%;"><input autocomplete="off" class="rcbInput" id="ctl00_ContentPlaceHolder1_typesCtrl_cmbTypes_Input" name="ctl00$ContentPlaceHolder1$typesCtrl$cmbTypes_Input" value="" type="text"></td><td class="rcbArrowCell rcbArrowCellRight"><id="ctl00_ContentPlaceHolder1_typesCtrl_cmbTypes_Arrow" style="overflow: hidden; display: block; position: relative; outline-color: -moz-use-text-color; outline-style: none; outline-width: medium;">select</a></td
            </tr> 
        </tbody></table><div></div><input value="{&quot;logEntries&quot;:[],&quot;value&quot;:&quot;2&quot;,&quot;text&quot;:&quot;Specified Item&quot;,&quot;enabled&quot;:true}" id="ctl00_ContentPlaceHolder1_typesCtrl_cmbTypes_ClientState" name="ctl00_ContentPlaceHolder1_typesCtrl_cmbTypes_ClientState" type="hidden"
    </div> 




  7. Kelsey
    Kelsey avatar
    7 posts
    Member since:
    Jan 2007

    Posted 14 Jan 2009 Link to this post

    I'm seeing the same behavior in FF 3.0.5 with the Combobox stops responding after the first click.  It will dropdown exactly once, regardless of whether I make a selection or just click off (give focus to something else in the page).  There are no JavaScript errors, and calling get_enabled() returns true.  There is no visual change to the Combobox (other than the text displayed if a different selection other than the default is made).

    If I execute the following JavaScript taken from the demos, the Combobox will dropdown:
         var combo = GetComboBox();
            combo.set_closeDropDownOnBlur(false);
            combo.toggleDropDown();

    Again, however, the dropdown is unresponsive to clicks.  I cannot even edit the textbox that is displayed when it is not expanded.

    Here is the HTML.  When I turn on DOM logging in Firebug for the parent div tag, I see mousemove and click events being fired.  Let me know what other information I can provide.

                                    <div id="MainContentComponent_ctl00_RadToolbar1_ctl14_ctl00_fontFaceComboBox" class="RadComboBox RadComboBox_Office2007" expandeffect="Fade" style="width: 160px; display: -moz-inline-stack;">
         <table class="rcbFocused" style="border-width: 0pt;" border="0" cellpadding="0" cellspacing="0">
          <tbody><tr>
           <td class="rcbInputCell rcbInputCellLeft" style="width: 100%;"><input autocomplete="off" class="rcbInput" id="MainContentComponent_ctl00_RadToolbar1_ctl14_ctl00_fontFaceComboBox_Input" name="MainContentComponent$ctl00$RadToolbar1$ctl14$ctl00$fontFaceComboBox_Input" value="Arial" type="text"></td><td class="rcbArrowCell rcbArrowCellRight"><a id="MainContentComponent_ctl00_RadToolbar1_ctl14_ctl00_fontFaceComboBox_Arrow" style="overflow: hidden; display: block; position: relative; outline-color: -moz-use-text-color; outline-style: none; outline-width: medium;">select</a></td>
          </tr>
         </tbody></table><div></div><input value="{&quot;logEntries&quot;:[],&quot;value&quot;:&quot;&quot;,&quot;text&quot;:&quot;CommercialScript BT&quot;,&quot;enabled&quot;:true}" id="MainContentComponent_ctl00_RadToolbar1_ctl14_ctl00_fontFaceComboBox_ClientState" name="MainContentComponent_ctl00_RadToolbar1_ctl14_ctl00_fontFaceComboBox_ClientState" type="hidden">
        </div>
                               
  8. El
    El avatar
    130 posts
    Member since:
    Dec 2008

    Posted 14 Jan 2009 Link to this post

    Hello Kesley,

    May i know which version of Telerik radcontrols you are using?
    I got the version 2007.3.1425.35 and my client doesn't want to pay for renewing.
    However i asked a friend of mine to test it on his server. Well, it works just fine in FF 3.x.x but, he's got the latest version 2008 Q3.
    So this ODD behavior seems to be a bug as when it has been developed couldn't be tested on FF 3.0.x.

    Regards
    El
  9. Kelsey
    Kelsey avatar
    7 posts
    Member since:
    Jan 2007

    Posted 14 Jan 2009 Link to this post

    We are also using 2007.3.1425.35.  Thanks for the heads-up on Q3 2008.
  10. Kris Nobels
    Kris Nobels avatar
    15 posts
    Member since:
    Aug 2009

    Posted 04 Sep 2009 Link to this post

    Hello,

    I have the same problem with combo's that won't work after first Click.

    On my page I have 3 Radcombo's and 2 grids.

    the problem occurs when:
    • Selecting 1 item from any radcombo
    • Delete button from grid.

    I use RadControls for ASP.NET Q2 2009

    In my code behind the combo is getting filed with data.

    In the javascript i can find my items that (normaly) should be showed in the radcombo.

    Can somebody tell me how to solve the problem.

    Thanks.
    Kris
  11. rod
    rod avatar
    10 posts
    Member since:
    Nov 2006

    Posted 20 Oct 2009 Link to this post

    Hello,

    Did anybody find a solution? I´m having the same problem... but on ie6

    Thanks,

    Rod
  12. Rudi
    Rudi avatar
    2 posts
    Member since:
    Dec 2009

    Posted 15 Apr 2010 Link to this post

    Hi El,

    Did you already find a solution? We have exactly the same problem: using that version of the Radcontrols and having problems in Firefox. IE7/IE8 are working correctly.

    Thanks for your reply.

    Kind regards,
    Rudi
  13. El
    El avatar
    130 posts
    Member since:
    Dec 2008

    Posted 15 Apr 2010 Link to this post

    There isn't solution for that.  I guess you will have to get a newer version of this suite :(
  14. Rudi
    Rudi avatar
    2 posts
    Member since:
    Dec 2009

    Posted 16 Apr 2010 Link to this post

    Hi El,

    Thank you for your quick reply. It seems (one of your replies above) it is solved in the Q3 2008 release. That (upgrade) could be a possibility, but our customer may decide.

    Thanks,
    Rudi
  15. neebs
    neebs avatar
    106 posts
    Member since:
    Apr 2007

    Posted 23 Apr 2013 Link to this post

    Hi, I have encountered this same problem recently and have found what I think is the cause of it. I had a RadGrid on the form, and I had a client-side method specified for OnRowSelected, however that method did not exist. This would cause my form to be displayed in an uninitialized state I guess, leaving some of the controls (tabstrip, combobox) unresponsive. The strange thing is that I could invoke the combo-box post back methods using the keyboard. After removing the OnRowSelected specification the combo-box works as expected on subsequent postbacks.

    I would look for any client-side method specifications that do not exist. Or better yet, run it in IE with the script debugger.

    Steve
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017