I have an Asp.Net page.
<html>
<body>
<div>
<!-- Main body -->
</div>
<div>
<!-- Right panel -->
</div>
</body>
</html>
The above page is the html page.
But it is actually in Asp.Net
For the main page, there will be code behind to fill in the content which is a normal content and load for a page.
But for right panel, the logic is quite complex and will take some time to get the result which content to show.
So, I would like to load that part of the page only after the main page is completed loading.
I have tried Asp.Net AJAX using update panel but I haven’t found out the correct behaviour to get this done.
So, I am thinking of using normal ajax but I can’t find out where to begin.
So, I am asking is there any way for this and .. any sample code available for this.
You could try any of the javascript frameworks.
If you use jQuery, you could try:
Set an id on your div:
Then use this jQuery to load the data for the panel:
See the jQuery docs for more info.