onitemsrequested not firing

20 posts, 0 answers
  1. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 25 May 2011 Link to this post

    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 ?
  2. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 26 May 2011 Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 26 May 2011 Link to this post

    im using Q1 2010 for .net 4 and dont have the latest version.  Why wont it work in the version I have ?
  5. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 27 May 2011 Link to this post

    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.

  6. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 27 May 2011 Link to this post

    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.
  7. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 27 May 2011 Link to this post

    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.

  8. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 27 May 2011 Link to this post

    I have exactly the same code as you, but the event just doesnt get fired
  9. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 31 May 2011 Link to this post

    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
  10. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 31 May 2011 Link to this post

    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.

  11. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 31 May 2011 Link to this post

    Im using IE9 64 bit version
  12. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 31 May 2011 Link to this post

    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
  13. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 01 Jun 2011 Link to this post

    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.

  14. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 01 Jun 2011 Link to this post

    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
  15. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 02 Jun 2011 Link to this post

    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.

  16. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 02 Jun 2011 Link to this post

    in that case, can you send me an updated version of the controls
  17. Emilia
    Admin
    Emilia avatar
    37 posts

    Posted 06 Jun 2011 Link to this post

    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.

  18. Vivek
    Vivek avatar
    2 posts
    Member since:
    Jan 2011

    Posted 28 Oct 2011 Link to this post

    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
  19. Chris
    Chris avatar
    5 posts
    Member since:
    Oct 2010

    Posted 02 Nov 2011 Link to this post

    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
  20. Chris
    Chris avatar
    5 posts
    Member since:
    Oct 2010

    Posted 02 Nov 2011 Link to this post

    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
  21. Vivek
    Vivek avatar
    2 posts
    Member since:
    Jan 2011
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017