This is a migrated thread and some comments may be shown as answers.
Combobox disabled after the first click
13 Answers 141 Views
This is a migrated thread and some comments may be shown as answers.
El
Top achievements
Rank 1
El asked on 07 Jan 2009, 10:39 PM
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


13 Answers, 1 is accepted

Sort by
0
Serrin
Top achievements
Rank 1
answered on 08 Jan 2009, 03:05 PM
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.  :)
0
El
Top achievements
Rank 1
answered on 08 Jan 2009, 03:47 PM
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.
0
Simon
Telerik team
answered on 08 Jan 2009, 05:21 PM
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.
0
El
Top achievements
Rank 1
answered on 08 Jan 2009, 05:33 PM
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> 




0
Kelsey
Top achievements
Rank 1
answered on 14 Jan 2009, 06:31 PM
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>
                           
0
El
Top achievements
Rank 1
answered on 14 Jan 2009, 07:47 PM
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
0
Kelsey
Top achievements
Rank 1
answered on 14 Jan 2009, 07:56 PM
We are also using 2007.3.1425.35.  Thanks for the heads-up on Q3 2008.
0
Kris Nobels
Top achievements
Rank 2
answered on 04 Sep 2009, 08:08 AM
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
0
rod
Top achievements
Rank 1
answered on 20 Oct 2009, 08:13 PM
Hello,

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

Thanks,

Rod
0
Rudi
Top achievements
Rank 1
answered on 15 Apr 2010, 03:27 PM
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
0
El
Top achievements
Rank 1
answered on 15 Apr 2010, 03:52 PM
There isn't solution for that.  I guess you will have to get a newer version of this suite :(
0
Rudi
Top achievements
Rank 1
answered on 16 Apr 2010, 08:20 AM
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
0
neebs
Top achievements
Rank 2
answered on 23 Apr 2013, 03:13 PM
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
Asked by
El
Top achievements
Rank 1
Answers by
Serrin
Top achievements
Rank 1
El
Top achievements
Rank 1
Simon
Telerik team
Kelsey
Top achievements
Rank 1
Kris Nobels
Top achievements
Rank 2
rod
Top achievements
Rank 1
Rudi
Top achievements
Rank 1
neebs
Top achievements
Rank 2
Share this question
or