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

onitemsrequested not firing

19 Answers 529 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
mww
Top achievements
Rank 1
mww asked on 25 May 2011, 04:59 PM
For some reason the onitemsrequested event is no longer firing when I use Q1 2010 for .net 4.  This code worked perfectly well in previous versions


<telerik:RadComboBox ID="RadComboBoxCountry" runat="server"  
                        EnableItemCaching="True" EnableLoadOnDemand="True" 
                        onitemsrequested="RadComboBoxCountry_ItemsRequested" Width="250px" 
                        Skin="Vista">
                        <CollapseAnimation Duration="200" Type="OutQuint" />
                    </telerik:RadComboBox>  



protected void RadComboBoxCountry_ItemsRequested(object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)
        {
            PopulateCountries(e.Text);
        }
 
        private void PopulateCountries(string e)
        {
            List<Country> lst = new List<Country>();
 
            lst = timeZoneManager.FilterCountries(e);
            this.RadComboBoxCountry.Items.Clear();
            if (lst.Count > 0)
            {
                foreach (Country c in lst)
                {
                    this.RadComboBoxCountry.Items.Add(new Telerik.Web.UI.RadComboBoxItem(c.CountryName, c.CountryName));
                }
 
            }
        }


has anything changed that I need to be aware of ?

19 Answers, 1 is accepted

Sort by
0
Helen
Telerik team
answered on 26 May 2011, 12:11 PM
Hello Mark,

Could you please try some of the latest versions of the Telerik.Web.UI?
We just tried the 2011.1.315 and everything worked as expected.

Regards,
Helen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
mww
Top achievements
Rank 1
answered on 26 May 2011, 12:19 PM
im using Q1 2010 for .net 4 and dont have the latest version.  Why wont it work in the version I have ?
0
Helen
Telerik team
answered on 27 May 2011, 12:36 PM
Hi,

We have made a lot of improvements and fixes in our controls between version Q1 2010 and our current release, so I suppose that this is the reason why the issue does not exist in our latest release.

Regards,
Helen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
mww
Top achievements
Rank 1
answered on 27 May 2011, 12:52 PM
well that doesnt help me in the slightest.  Ive been using Q1 2009 and it worked perfectly well in that version.  Are you honestly telling me that original functionality is broken in a newer version ?  This is a clients version of your control set and theyre simply not in a positon to upgrade to the latest version just to fix broken functionality.  Can you please provide a workaround for the version Im currently working with.  Its simply not acceptable for existing functionality to be broken in this way.
0
Helen
Telerik team
answered on 27 May 2011, 05:07 PM
Hi Mark,

Just to clarify the problem.
Please find attached a project and a video how the RadComboBox ItemsRequested event behaves with version 2010.1.309.40.
http://screencast.com/t/dfGQDXa3tAk
Does the attached project work at your side? If yes - could you please modify it so we can see the exact problem?


Regards,
Helen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
mww
Top achievements
Rank 1
answered on 27 May 2011, 05:40 PM
I have exactly the same code as you, but the event just doesnt get fired
0
mww
Top achievements
Rank 1
answered on 31 May 2011, 11:23 AM
this is my aspx page

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
    </telerik:RadAjaxManagerProxy>
    <div class="row">
    <div class="leftcolumnadmin">
         
         
         
        <!-- CONTENT BEGIN -->
         
        <div class="Narrative">
            <asp:Label ID="Label1" runat="server" Text="<%$Resources:SharedResources, AgencyName%>" AssociatedControlID="RadTextBoxAgencyName"></asp:Label>
        </div>
        <div class="Control">
            <telerik:RadTextBox ID="RadTextBoxAgencyName" runat="server" Width="250px"  Skin="Windows7"> </telerik:RadTextBox>
        </div>
         
         
        <!-- CONTENT END -->
         
         
         
      </div>
      
      <div class="rightcolumnadmin">
         
         
         
        <!-- CONTENT BEGIN -->
         
        <div class="Narrative">
            <asp:Label ID="Label16" runat="server" Text="<%$Resources:SharedResources, ArtistContactAddress1%>" AssociatedControlID="RadTextBoxAgencyContactAddress1"></asp:Label>
        </div>
        <div class="Control">
            <telerik:RadTextBox ID="RadTextBoxAgencyContactAddress1" runat="server" Width="250px"  Skin="Windows7"> </telerik:RadTextBox>
        </div>
        
        <br />
        <!-- CONTENT END -->
         
         
         
      </div>
</div>
   
<div class="row">         
      <div class="leftcolumnadmin">
         
         
         
        <!-- CONTENT BEGIN -->
         
        <div class="Narrative">
            <asp:Label ID="Label3" runat="server" Text="<%$Resources:SharedResources, Tel%>" AssociatedControlID="RadTextBoxAgencyTel"></asp:Label>
        </div>
        <div class="Control">
            <telerik:RadTextBox ID="RadTextBoxAgencyTel" runat="server" Width="250px"  Skin="Windows7"> </telerik:RadTextBox>
        </div>
         
         
        <!-- CONTENT END -->
         
         
         
      </div>
      
      <div class="rightcolumnadmin">
         
         
         
        <!-- CONTENT BEGIN -->
         
       <div class="Narrative">
            <asp:Label ID="Label6" runat="server" Text="<%$Resources:SharedResources, ArtistContactAddress2%>" AssociatedControlID="RadTextBoxAgencyContactAddress2"></asp:Label>
        </div>
        <div class="Control">
            <telerik:RadTextBox ID="RadTextBoxAgencyContactAddress2" runat="server" Width="250px"  Skin="Windows7"> </telerik:RadTextBox>
        </div>
        <!-- CONTENT END -->
         
         
         
      </div>
       
</div>
 
<div class="row">         
      <div class="leftcolumnadmin">
         
         
         
        <!-- CONTENT BEGIN -->
         
        <div class="Narrative">
            <asp:Label ID="Label15" runat="server" Text="<%$Resources:SharedResources, Fax%>" AssociatedControlID="RadTextBoxAgencyFax"></asp:Label>
        </div>
        <div class="Control">
            <telerik:RadTextBox ID="RadTextBoxAgencyFax" runat="server" Width="250px"  Skin="Windows7"> </telerik:RadTextBox>
        </div>
         
         
        <!-- CONTENT END -->
         
         
         
      </div>
      
      <div class="rightcolumnadmin">
         
         
         
        <div class="Narrative">
            <asp:Label ID="Label8" runat="server" Text="<%$Resources:SharedResources, ArtistContactAddress3%>" AssociatedControlID="RadTextBoxAgencyContactAddress3"></asp:Label>
        </div>
        <div class="Control">
            <telerik:RadTextBox ID="RadTextBoxAgencyContactAddress3" runat="server" Width="250px"  Skin="Windows7"> </telerik:RadTextBox>
        </div>
         
         
      </div>
       
</div>
 
<div class="row">      
      <div class="leftcolumnadmin">
         
         
         
         <!-- CONTENT BEGIN -->
         
        <div class="Narrative">
            <asp:Label ID="Label2" runat="server" Text="<%$Resources:SharedResources, NightTel%>" AssociatedControlID="RadTextBoxAgencyNightTel"></asp:Label>
        </div>
        <div class="Control">
            <telerik:RadTextBox ID="RadTextBoxAgencyNightTel" runat="server" Width="250px"  Skin="Windows7"> </telerik:RadTextBox>
        </div>
         
         
        <!-- CONTENT END -->
         
         
         
      </div>
     <div class="clearfloatss"></div>
      <div class="rightcolumnadmin">
         
         
         
        <!-- CONTENT BEGIN -->
        
        <div class="Narrative">
            <asp:Label ID="Label10" runat="server" Text="<%$Resources:SharedResources, Town%>" AssociatedControlID="RadTextBoxAgencyContactTown"></asp:Label>
        </div>
        <div class="Control">
            <telerik:RadTextBox ID="RadTextBoxAgencyContactTown" runat="server" Width="250px"  Skin="Windows7"> </telerik:RadTextBox>
        </div>
         
         
        <!-- CONTENT END -->
         
         
         
      </div>
       
</div>
 
<div class="row">       
      <div class="leftcolumnadmin">
         
         
         
        <!-- CONTENT BEGIN -->
         
        <div class="Narrative">
            <asp:HyperLink ID="HyperLinkEmail" runat="server" Text="<%$Resources:SharedResources, Email%>"></asp:HyperLink>
             
        </div>
        <div class="Control">
            <telerik:RadTextBox ID="RadTextBoxAgencyEmail" runat="server" Width="250px"  Skin="Windows7"> </telerik:RadTextBox>
        </div>
         
        <!-- CONTENT END -->
         
         
         
      </div>
      
      <div class="rightcolumnadmin">
         
         
         
        <!-- CONTENT BEGIN -->
         
        <div class="Narrative">
            <asp:Label ID="Label12" runat="server" Text="<%$Resources:SharedResources, County%>" AssociatedControlID="RadTextBoxAgencyContactCounty"></asp:Label>
        </div>
        <div class="Control">
            <telerik:RadTextBox ID="RadTextBoxAgencyContactCounty" runat="server" Width="250px"  Skin="Windows7"> </telerik:RadTextBox>
        </div>
         
        <!-- CONTENT END -->
         
         
         
      </div>
       
 </div>
  
 <div class="row">     
      <div class="leftcolumnadmin">
         
         
         
        <!-- CONTENT BEGIN -->
         
        <div class="Narrative">
            <asp:HyperLink ID="HyperLinkWebsite" runat="server" Text="<%$Resources:SharedResources, Website%>"></asp:HyperLink>
            <%--<asp:Label ID="Label9" runat="server" Text="<%$Resources:SharedResources, Website%>" AssociatedControlID="RadTextBoxAgencyWebsite"></asp:Label>--%>
        </div>
        <div class="Control">
            <telerik:RadTextBox ID="RadTextBoxAgencyWebsite" runat="server" Width="250px"  Skin="Windows7"> </telerik:RadTextBox>
        </div>
        
        <!-- CONTENT END -->
         
         
         
      </div>
      
      <div class="rightcolumnadmin">
         
         
         
       <!-- CONTENT BEGIN -->
         
       <div class="Narrative">
            <asp:Label ID="Label14" runat="server" Text="<%$Resources:SharedResources, Country%>" AssociatedControlID="RadComboBoxCountry"></asp:Label>
        </div>
        <div class="Control">
           <telerik:RadComboBox ID="RadComboBoxCountry" runat="server" 
            EnableItemCaching="True" EnableLoadOnDemand="True"
            onitemsrequested="RadComboBoxCountry_ItemsRequested" Width="250px"
            Skin="Vista">
            <CollapseAnimation Duration="200" Type="OutQuint" />
        </telerik:RadComboBox
        </div>
         
        <!-- CONTENT END -->
         
         
      </div>
      
  </div>
   
   <div class="row">
        
      <div class="leftcolumnadmin">
         
         
         
         <!-- CONTENT BEGIN -->
         
        <div class="Narrative">
               
        </div>
         
        <div class="Control">
         
           
         
         
            
        </div>
        
        <!-- CONTENT END -->
         
         
         
      </div>
      
      <div class="rightcolumnadmin">
         
         
         
        <!-- CONTENT BEGIN -->
         
       <div class="Narrative">
            <asp:Label ID="Label17" runat="server" Text="<%$Resources:SharedResources, Postcode%>" AssociatedControlID="RadTextBoxAgencyPostcode"></asp:Label>
        </div>
        <div class="Control">
            <telerik:RadTextBox ID="RadTextBoxAgencyPostcode" runat="server" Width="250px" 
                Skin="Windows7"> </telerik:RadTextBox>
        </div>
         
        <!-- CONTENT END -->
         
         
         
      </div>
       
 </div>
  
 <div class="row">
        
      <div class="leftcolumnadmin">
         
         
         
          
         
         
         
      </div>
      
      <div class="rightcolumnadmin">
         
         
         
          
         
         
         
      </div>
       
 </div>
 <div class="row">
 <div class="leftcolumnadmin">
         
         
         
          
         
         
         
</div>
<div class="rightcolumnadmin">
         
         
         
          
         
         
      </div>
       
 </div>
   
   
  
    
       
   
   <div class="row">
   <div class="left">
       <asp:Button ID="ButtonInsert" runat="server" Text="<%$Resources:SharedResources, Insert%>"
           onclick="ButtonInsert_Click" />
   </div>
   <div class="left">
       <asp:Button ID="ButtonUpdate" runat="server" Text="<%$Resources:SharedResources, Update%>"
           onclick="ButtonUpdate_Click" />
   </div>
   </div>
    <input id="HiddenUserID" type="hidden" runat="server"/>
    <input id="HiddenAgencyID" type="hidden" runat="server"/>
</asp:Content>


and the codebehind


protected void RadComboBoxCountry_ItemsRequested(object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)
       {
           PopulateCountries(e.Text);
       }
 
       private void PopulateCountries(string e)
       {
           List<Country> lst = new List<Country>();
 
           lst = timeZoneManager.FilterCountries(e);
           this.RadComboBoxCountry.Items.Clear();
           if (lst.Count > 0)
           {
               foreach (Country c in lst)
               {
                   this.RadComboBoxCountry.Items.Add(new Telerik.Web.UI.RadComboBoxItem(c.CountryName, c.CountryName));
               }
 
           }
       }


its exactly the same as my previous version which works, but in this case the event will not fire
0
Helen
Telerik team
answered on 31 May 2011, 02:01 PM
Hi,

We just tried your code and it worked at our side. Please find attached our test project. See the 'Default2.aspx' page.
Does it work at your side? What is the exact browser that you use?

Regards,
Helen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
mww
Top achievements
Rank 1
answered on 31 May 2011, 03:06 PM
Im using IE9 64 bit version
0
mww
Top achievements
Rank 1
answered on 31 May 2011, 04:11 PM
Ive just tried it with Firefox (4.0.1) and it works as expected, so the problem is IE9.  Is there a workaround ?  it should obviously work as expected in all browsers
0
Helen
Telerik team
answered on 01 Jun 2011, 04:54 PM
Hi Mark,

Just to summarize the issue.

You are using Q1 2010 and RadComboBox ItemsRequested event is not firing under IE 9 only?
Actually we introduced support for IE9 just after its release early this year.

So versions later than Q1 2011 support IE9.

Greetings,
Helen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
mww
Top achievements
Rank 1
answered on 01 Jun 2011, 06:03 PM
but im using q1 2010  i dont have any later version and am unlikely to as the version im using belongs to a client and they dont want to spend any money updating.  Is there some sort of work around available ?  surely this should work in all browsers
0
Helen
Telerik team
answered on 02 Jun 2011, 09:41 AM
Hi Mark,

There is no workaround for this issue. The changes we made regarding the IE9 support are common and they affect many controls.

Regards,
Helen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
mww
Top achievements
Rank 1
answered on 02 Jun 2011, 11:09 AM
in that case, can you send me an updated version of the controls
0
Emilia
Telerik team
answered on 06 Jun 2011, 02:45 PM
Hi Mark,

As I can see the subscription of your license has expired in 2009, while IE9 was launched in 2010.  We design software based around the current frameworks, browsers, etc., but those will change over time and we cannot guarantee that the software you purchased will function just as well in IE9 as it did in IE7, and other similar issues will not appear. This is why we offer subscription licenses, that provide you with the great benefit of receiving all the new versions for free. As you have left your subscription to lapse, you can now upgrade to the latest version at a discounted price, that we offer to our existing customers. When you upgrade you will also receive a free subscription for 1 year.

I hope this helps.


Best wishes,
Emilia
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Vivek
Top achievements
Rank 1
answered on 28 Oct 2011, 10:17 PM
Hello Telerik team,

I found the different behaviour of RadGrid in IE9 in comparison with older IE vesrions i.e. upto IE8 the RowClick event fires after the RowSelected event at client whereas in IE9 the RowSelected event fires first.

Did we fix this issue or do we have any work around for that?

Thanks,
Vivek
0
Chris
Top achievements
Rank 1
answered on 02 Nov 2011, 01:51 PM
I am having the same issue with the ItemsRequested Event Not firing.  I am usingt he Q1 for 2011 Build.

I have replicated all of the items you have put in this post.  I have two combo boxes that need this functionalitly.  The first one fires correctly, however the second one does not.

Thanks

Chris
0
Chris
Top achievements
Rank 1
answered on 02 Nov 2011, 01:58 PM
I am having the same issue with the ItemsRequested Event Not firing.  I am usingt he Q1 for 2011 Build.

I have replicated all of the items you have put in this post.  I have two combo boxes that need this functionalitly.  The first one fires correctly, however the second one does not.

Thanks

Chris
0
Vivek
Top achievements
Rank 1
answered on 08 Nov 2011, 05:43 PM
Tags
ComboBox
Asked by
mww
Top achievements
Rank 1
Answers by
Helen
Telerik team
mww
Top achievements
Rank 1
Emilia
Telerik team
Vivek
Top achievements
Rank 1
Chris
Top achievements
Rank 1
Share this question
or