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

Alternating LoadingPanel show

1 Answer 47 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Guy
Top achievements
Rank 1
Guy asked on 11 Nov 2010, 02:20 PM
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

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 11 Nov 2010, 02:23 PM
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
Tags
Ajax
Asked by
Guy
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or