Alternating LoadingPanel show

2 posts, 0 answers
  1. Guy
    Guy avatar
    1 posts
    Member since:
    Nov 2010

    Posted 11 Nov 2010 Link to this post

    I've added a RadAjaxPanel around a custom control, called YesNoControl, which shows radio buttons for Yes, No, N/A (N/A is optional).

    The YesNoControl has a Changed event that fires when the Value changes, and I've told this event to hide or show a div from just underneath it. This works perfectly, as far as I can tell.

    The issue I have is with the LoadingPanel.  It only appears when clicking No.  When I click Yes, the div appears correctly, but no Loading Panel.  When I click No, the Loading Panel appears and the div is hidden.

    I've got it showing the N/A radio button to test it further, and the Loading Panel only appears when Yes has been selected and No or N/A is then clicked.

    Has anyone got an idea what may be causing this or how to get around it?

    Thanks,
    Guy
  2. Dimo
    Admin
    Dimo avatar
    8472 posts

    Posted 11 Nov 2010 Link to this post

    Hi Guy,

    In order to appear, the RadAjaxLoadingPanel needs to identify an HTML element on the web page, which has the same ID attribute, as the ClientID of the ajaxified control (YesNoControl). Make sure this is the case in your scenario.

    Best wishes,
    Dimo
    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