Hi, I have a RadAjaxLoadingPanel which automatically fires when my radgrid needs a data source. Great.
However, in my NeedDataSource event, I have a condition set to tell the code that it might not need to rebind.
When my code doesn't need to rebind, the Loading Panel remains on the screen.
Surely, there must be a simple way of removing the loading panel from server side, code-behind. I just can't find it !
I've looked at the demo http://www.telerik.com/help/aspnet-ajax/ajax-show-hide-loadingpanel.html but I don't want to have to add 25 more lines of javascript to my page just to hide the loading panel.
...and even then - I have the issue of calling that javascript from the code behind.
Cheers,
Scott
However, in my NeedDataSource event, I have a condition set to tell the code that it might not need to rebind.
If multiviewContacts.GetActiveView.ID = "viewContactSelect" Then
'Bind the radgrid
else
'Don't bother binding
end if
When my code doesn't need to rebind, the Loading Panel remains on the screen.
Surely, there must be a simple way of removing the loading panel from server side, code-behind. I just can't find it !
I've looked at the demo http://www.telerik.com/help/aspnet-ajax/ajax-show-hide-loadingpanel.html but I don't want to have to add 25 more lines of javascript to my page just to hide the loading panel.
...and even then - I have the issue of calling that javascript from the code behind.
Cheers,
Scott