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

RadContextMenu doesn't bind on AJAX call

1 Answer 27 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 30 Apr 2008, 08:22 PM
I have a webpage that has multiple tabs.  The contents of each tab are only loaded using AJAX when the tab is selected.  On page load the default tab is a list of thumbnail files that are dynamically generated as the tab is loaded.  These thumbnail images each are bound as targets a RadContextMenu which works perfectly fine on page_load().  However, if I navigate to another tab and then return to the thumbnails tab, when the thumbnail list is regenerated the RadContextMenu is no longer showing up on right click for the thumbnails.  The page itself is quite complex so a code sample isn't really possible but is this a known issue or is there something I have to do in the RadAjaxManager to allow for the RadContextMenu to be properly bound?  Thanks.

Christian

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 01 May 2008, 11:04 AM
Hello Christian,

The easiest way to find if the problem is AJAX-related is to disable the AJAX temporary. You can do that trough the EnableAJAX property of the RadAjax control in question. If the context menu functions as expected this way, it's a matter of AJAX settings which needs to be properly configured. You may just need to set the menu as updated control so that the tab click will update it as well.

Let us know if you are able to isolate and resolve the problem or if you need further assistance.

All the best,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Menu
Asked by
Christian
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Share this question
or