PostBackRedirectMenu never-ending loop

Oct 17, 2011 at 1:13 PM

Hi all, I tryied your MultiMenu which I found wery usefull... But, when I tryied PostBackRedirectMenu, I have got to the never-ending loop: it allways gets into the MenuItemClicked event procedure multiMenu1_MenuItemClicked... What's wrong in this ? Thanks for your help!

Coordinator
Oct 21, 2011 at 6:33 PM

Add this as the first line for multiMenu1_MenuItemClicked: if (!Page.IsPostback) return;

Thanks for finding the bug and reporting it. 

Bill 

 


Oct 21, 2011 at 7:36 PM

Thanks for pointing out! But it seems that after that the MultiMenu doesn't "register" any other click in the other menu item (PostBackRedirectMenu sample)... :( 

Coordinator
Oct 21, 2011 at 7:48 PM

Yes, thats right. I only enabled the "My Tickets" menu option out of laziness and because it's just for demo purposes. To wire up other options, just follow what was done with the MyTickets.aspx page.

Oct 23, 2011 at 9:48 AM

ah... yes,... Thanks for great job!