Saving my menus
-
I am trying to migrate my web application to Ajax, but i am encountering some problem The first thing I would like to do is to make my menu bars collspable in an ajax style. Sort of like the XP windows explorer. The problem is that the main content of the page was not implemented with AJAX and as a results, many buttons will cost a post back and refreshes the page. As soon as the page is reset, the collipsable menu resets itself to initial state, not saving what was expended before. I solved this problem using session, at the load of the collapsable control, it will read the session and determine what is being closed and not. I am wondering if there are any change personalization can help me in this. and if not, what other way can be done Thank you
-
I am trying to migrate my web application to Ajax, but i am encountering some problem The first thing I would like to do is to make my menu bars collspable in an ajax style. Sort of like the XP windows explorer. The problem is that the main content of the page was not implemented with AJAX and as a results, many buttons will cost a post back and refreshes the page. As soon as the page is reset, the collipsable menu resets itself to initial state, not saving what was expended before. I solved this problem using session, at the load of the collapsable control, it will read the session and determine what is being closed and not. I am wondering if there are any change personalization can help me in this. and if not, what other way can be done Thank you
I am assuming that by AJAX, you mean the Microsoft AJAX library, not AJAX itself. Otherwise, you'd be writing menus and so on. The fact is, the point of AJAX is that it doesn't do postbacks, so if you want to 'AJAX' a page, you need to change those buttons to make AJAX calls instead of posting back.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
I am assuming that by AJAX, you mean the Microsoft AJAX library, not AJAX itself. Otherwise, you'd be writing menus and so on. The fact is, the point of AJAX is that it doesn't do postbacks, so if you want to 'AJAX' a page, you need to change those buttons to make AJAX calls instead of posting back.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )