Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Using Master page and Ajax so as not to cause a full page refresh

$
0
0

Hello, I am newish to ASP.Net and I am trying to establish if it is possible to use both Master page and Ajax technology to avoid a full page refresh when navigating pages. I know it is possible using ASP.

What I have built is a master page containing a header, 2 horizontal site navigation menus, and below 3 columns. The left is for main content, the middle is a vertical navigation menu and the right is for images and links. Each of my content pages consists of an aspx file containing text and form data. This structure works fine but each time a menu item is selected the whole page reloads even though all that needs to change is the main content column.. Therefore I introduced an Ajax ScriptManager into the Master and Ajax update panels into the content pages. One update panel for the content and another for the menus. I had hoped that then only the content column would refresh. But the whole page still refreshes when a nenu item is selected. Maybe I am wasting my time?

However, I have investigated another site (identical in layout design) built using ASP and that works perfectly in the way that I would have expected.my ASP.Net one to work. I do not know what master page technology was used.

This must be a very common requirement by developers, ie to have static menus and columns and require that only the targetted area of the page be updated. Can DOT.NET do this?


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>