OnItemRequested event is not working

5 posts, 0 answers
  1. prayag ganoje
    prayag ganoje avatar
    127 posts
    Member since:
    Feb 2010

    Posted 09 Aug 2010 Link to this post

    Hello,

    I am using RadTabStrip. Inside this multiple tab strip there are usercontrols loaded. In one of the user control I have a RadComboBox with OnItemRequested even. I want to load this combobox with the selected values using OnItemRequested event.

    But the OnItemRequested  event handeler is not envoked when i try to enter some text in the RadComboBox.

    Can you please guide me ? what could be the possible way to make to enable to call this event handler ?

    Note: I used EnableAutomaticLoadOnDemand="true" and also put the all controls in UpdatePanel.

    Thanks,
    Prayag
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 10 Aug 2010 Link to this post

    Hi Prayag,

    You should set EnableLoadOnDemand property to true (not EnableAutomaticLoadOnDemand) in order to fire ItemsRequested event as explained here.

    Best wishes,
    Yana
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Asma
    Asma avatar
    5 posts
    Member since:
    Jan 2012

    Posted 05 Jan 2012 Link to this post

    Hey, 

    Does this/should this work for a ComboBox with the option 'EnableCheckAllItemsCheckBox' set to 'true'? I have over 1000 items in a RadComboBox and it has not been working. It has been giving me the following error on Internet Explorer: 

    "A script on this page is causing your web browser to run slowly. If it continues to run, your computer might become unresponsive."

    Please let me know as soon as possible,
    Thank You,
    Asma
  5. Asma
    Asma avatar
    5 posts
    Member since:
    Jan 2012

    Posted 05 Jan 2012 Link to this post

    Hey, 

    Does this/should this work for a ComboBox with the option 'EnableCheckAllItemsCheckBox' set to 'true'? I have over 1000 items in a RadComboBox and it has not been working. It has been giving me the following error on Internet Explorer: 

    "A script on this page is causing your web browser to run slowly. If it continues to run, your computer might become unresponsive."

    This has been added  to the RadComboBox properties:
    OnClientDropDownClosed="SR"

    & the javascript for sr is:
            function SR(s, a) {
                if (s.get_text().length < 1) {
                    a.set_cancel(true);
                    s.hideDropDown();
                }
            } 


    But this did not help... I am still experiencing the issue
    Please help as soon as possible, your assistance is greatly appreciated!
    Thank You,
    Asma
  6. Ivana
    Admin
    Ivana avatar
    657 posts

    Posted 06 Jan 2012 Link to this post

    Hello,

    Using the load on demand mechanism along with the CheckBoxes feature, is not a supported scenario. You could find more info on this matter at the following link : RadComboBox / CheckBox support.

    Greetings,
    Ivana
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017