This is a migrated thread and some comments may be shown as answers.

Combobox doesnt fire OnClientItemsRequested

1 Answer 98 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Roberto
Top achievements
Rank 1
Roberto asked on 28 Jun 2010, 04:03 PM

I have an application in VS2008, I control the code with Team foundation, I I had to change my equipment and after installing all the components and software necessary and to again put the code in the new computer, the code no longer works of the same form.
the event OnClientItemsRequested= " UpdateItemCountField " no longer goes off. I have put alert and not even that sends, that is to say, it does not happen that way.

<telerik:RadComboBox ID="rcmdProgra" runat="server" Height="120px" Width="250px"
                                                        EmptyMessage="Programas" DataTextField="Nombre" DataValueField="Clave"
                                                        DropDownWidth="370px" EnableLoadOnDemand="true" EnableEmbeddedScripts="true"
                                                        Font-Size="XX-Small"
                                                        OnClientKeyPressing="ChangeValueRCB"
                                                        OnClientItemsRequested="UpdateItemCountField"
                                                        OnClientSelectedIndexChanged="selectedProgram"
                                                        OnItemsRequested="rcmbProgra_ItemsRequested">

it is possible to mention that in the other equipment, which does not install I, he himself code worked correctly; single it changes to me of equipment, needs to me to install something. 

I hope can help me please. thank you very much.

1 Answer, 1 is accepted

Sort by
0
Helen
Telerik team
answered on 01 Jul 2010, 04:00 PM
Hello Roberto,

We are not exactly sure what is causing the problem. See our test code which works as expected:

<script type="text/javascript">
       function ChangeValueRCB()
       { }
 
       function UpdateItemCountField() {
       alert(1)
        }
 
       function selectedProgram()
       { }
    
   </script>
   <div>
       <telerik:RadComboBox ID="rcmdProgra" runat="server" Height="120px" Width="250px"
           EmptyMessage="Programas"
           DataTextField="Text"
           DataValueField="Value"
           DropDownWidth="370px"
           EnableLoadOnDemand="true"
           EnableEmbeddedScripts="true"
           Font-Size="XX-Small"
           OnClientKeyPressing="ChangeValueRCB"
           OnClientItemsRequested="UpdateItemCountField"
           OnClientSelectedIndexChanged="selectedProgram"
           OnItemsRequested="rcmbProgra_ItemsRequested">
     </telerik:RadComboBox>

Does it work at your side?

Regards,
Helen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
Roberto
Top achievements
Rank 1
Answers by
Helen
Telerik team
Share this question
or