PostBackRedirectMenu never-ending loop

Oct 17, 2011 at 12: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!

Oct 21, 2011 at 5:33 PM

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

Thanks for finding the bug and reporting it. 



Oct 21, 2011 at 6: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)... :( 

Oct 21, 2011 at 6: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 8:48 AM

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