Click here to Skip to main content
15,889,879 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Frnds,

I have a WebPage,

In that it has Menus as - Home ,ChangePassword, ShowDetails , Logout.

When i click these Links THE COMPLETE PAGE IS REFRESHING. i dont want to refresh the Complete Page.

Please can anyone find me the solution for this.

Thanks.
Posted

You can achieve the same using AJAX.

Easy way would be to use UpdatePanel for the same: Keeping small things aside, in short, put your needed area in an Udpate Panel to enable partial rendering. Here you go:

UpdatePanel Control Overview[^]
UpdatePanel control[^]
UpdatePanel Class[^]
All you need to know with sample code is present and explained.

Nutshell: You need to put your related area in an Udpate Panel and have menu actions as triggers to enable partial rendering.
 
Share this answer
 
Comments
Ranjith Reddy CSE 7-May-12 4:51am    
Sir I have Menus in My Master Page, how to do this...............

Already I have Script Manager and Update Panel in Another .Aspx page...

and it shows the error - (Only one instance of a ScriptManager can be added to the page).
Espen Harlinn 7-May-12 6:11am    
Have a look at: http://msdn.microsoft.com/en-us/library/cc295370.aspx
Sandeep Mewara 7-May-12 6:40am    
Multiple script manager is not allowed but update panels are. Put script manager in master page and use update panels in content. Try.
Espen Harlinn 7-May-12 6:11am    
Good reply :-D
Sandeep Mewara 7-May-12 6:41am    
Thanks
You can use Ajax or can work with jQuery. Share the things with me, I will give u a perfect solution for this.
 
Share this answer
 
Comments
Ranjith Reddy CSE 7-May-12 6:03am    
please can u give me ur email id.
Ravinder_Verma 7-May-12 7:38am    
alwaysdost@gmail.com
Hi Ranjith,

Update panel is the best for your above request .


http://msdn.microsoft.com/en-us/library/bb399001.aspx[^]


http://www.dotnetfunda.com/forums/thread54-update-panel-requires-scriptmanager.aspx[^]


Please refer the above link ....It may be help you
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900