Combobox doesnt fire OnClientItemsRequested

2 posts, 0 answers
  1. Roberto
    Roberto avatar
    2 posts
    Member since:
    Jun 2010

    Posted 28 Jun 2010 Link to this post


    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.

  2. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 01 Jul 2010 Link to this post

    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
Back to Top