I’m using the RadControls for ASP.NET AJAX (Q3 2011) and Visual Studio 2010. My website is based on the default web app that comes with Visual Studio. Both RadAjaxManager and RadAjaxLoadingPanel are declared in the Master page…and I use server-side code in each of the content pages to add all the AJAX settings to RadAjaxManager. This works out real nice…but I have a question about something I want to do next. Bear with me as I’m new to using AJAX.
My Master page also contains a RadContextMenu…which I dynamically load in each content page (the menu values differ per content page). The menu item click event triggers an AJAX callback to the content page…where a RadGrid is then updated. The loading panel gets triggered while the grid is loading. I also have a RadComboBox declared on this same content page. When an item is selected there (TextChanged event), I’d like to trigger the same logic as if the user had clicked an item in the RadContextMenu. In other words, I’d like to see the RadGrid get updated AND see the loading panel. I can easily raise the menu item clicked event in the content page, and that code gets executed, but the RadGrid itself doesn’t get updated…and I don’t see the loading panel. I think it might have something to do with the fact that I’m triggering this code from the server-side instead of the client-side. Is there a way on the server-side…to trigger a client-side menu item click event that performs the AJAX callback? Any help would be appreciated. Thanks.