Hi,
I have a very strange problem where on every click on a RadContextMenu, my page alternates between doing a Full Page Postback and Ajax Partial Page Postback. Here is the scenario:
- I'm using the RadAjaxManager and loading my ajaxsettings in Page_Load. They do load correctly on every postback (full and partial).
- I am attempting to ajaxify a RadContextMenu, so that all items on the context menu do an ajax partial page postback.
- My RadContextMenu is displayed by clicking on an asp ImageButton (OnClientClick calls the show method). I got the javascript to show it, directly from your PopUp menu demo at http://demos.telerik.com/aspnet-ajax/Menu/Examples/ContextMenu/PopupMenu/DefaultCS.aspx
- The ImageButton is inside of an ASP Panel, while the RadContextMenu is outside of that panel. Don't know if that information is relevant.
Here is the behavior I see:
- My page loads for the first time and I click the image button. The context menu is displayed and I click an item on it.
RESULT: I get a FULL page postback.
- I immediately click on the image button again. The context menu is displayed and I click an item on it.
RESULT: I then get a partial page postback that updates only the controls that I want to update.
From then on, I can just keep repeating the above test and my results alternate between the first result (full page postback) and the second result (partial page postback).
MORE INFORMATION:
- I just noticed that the problem is also happening on a grid filter on this same user control. So, it isn't just a problem with my contextmenu.
Also, let me add that this is a usercontrol inside of an aspx page, where the aspx page contains a tabstrip and a multipage control, and I am ajaxifying both of them as below, because my tabstrip does a postback:
Could ajaxifying the tabstrip and multipage have something to do with this. It seems like those ajax settings are conflicting / messing up other ajax settings within user controls that are displayed in pages of the multipage.
What on earth could be happening? What could I be doing wrong? Any ideas on what to try?
Thanks In Advance,
Brent
I have a very strange problem where on every click on a RadContextMenu, my page alternates between doing a Full Page Postback and Ajax Partial Page Postback. Here is the scenario:
- I'm using the RadAjaxManager and loading my ajaxsettings in Page_Load. They do load correctly on every postback (full and partial).
- I am attempting to ajaxify a RadContextMenu, so that all items on the context menu do an ajax partial page postback.
- My RadContextMenu is displayed by clicking on an asp ImageButton (OnClientClick calls the show method). I got the javascript to show it, directly from your PopUp menu demo at http://demos.telerik.com/aspnet-ajax/Menu/Examples/ContextMenu/PopupMenu/DefaultCS.aspx
- The ImageButton is inside of an ASP Panel, while the RadContextMenu is outside of that panel. Don't know if that information is relevant.
Here is the behavior I see:
- My page loads for the first time and I click the image button. The context menu is displayed and I click an item on it.
RESULT: I get a FULL page postback.
- I immediately click on the image button again. The context menu is displayed and I click an item on it.
RESULT: I then get a partial page postback that updates only the controls that I want to update.
From then on, I can just keep repeating the above test and my results alternate between the first result (full page postback) and the second result (partial page postback).
MORE INFORMATION:
- I just noticed that the problem is also happening on a grid filter on this same user control. So, it isn't just a problem with my contextmenu.
Also, let me add that this is a usercontrol inside of an aspx page, where the aspx page contains a tabstrip and a multipage control, and I am ajaxifying both of them as below, because my tabstrip does a postback:
SecurityMainRadAjaxManager.AjaxSettings.AddAjaxSetting(tabStrip, tabStrip,
null);
SecurityMainRadAjaxManager.AjaxSettings.AddAjaxSetting(tabStrip, tabMultiPage, SecurityRadAjaxLoadingPanel);
Could ajaxifying the tabstrip and multipage have something to do with this. It seems like those ajax settings are conflicting / messing up other ajax settings within user controls that are displayed in pages of the multipage.
What on earth could be happening? What could I be doing wrong? Any ideas on what to try?
Thanks In Advance,
Brent