RadContextMenu doesn't bind on AJAX call

2 posts, 0 answers
  1. Christian
    Christian avatar
    2 posts
    Member since:
    Apr 2008

    Posted 30 Apr 2008 Link to this post

    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.

  2. Konstantin Petkov
    Konstantin Petkov avatar
    1911 posts

    Posted 01 May 2008 Link to this post

    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
Back to Top