Click here to Skip to main content
16,021,112 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends, in my aspx page i have radiobuttonlist control at the bottom and i have set auto post back to "True" for it. When am performing any action on that radiobuttonlist, i am re-loading the whole page and the page is shown from the beginning, again i have to scroll down for next action on radio-button list where that should not happen.

Here i need not load the whole page,only the part of the radio-buttonlist should be re-loaded or postback.



Any help will be appreciated.
Posted
Comments
bbirajdar 13-Sep-12 8:15am    
Use UpdatePanel

You should use Update Panel[^] control to reload the specific part of the page instead of reloading whole page.
With this you should enable the MaintainScrollPositionOnPostback property in the @Page directive to maintain the page scroll position.
Try like this:
ASP.NET
<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" MaintainScrollPositionOnPostback="true"
    AutoEventWireup="true" CodeFile="MyFile.aspx.cs" Inherits="TestPage" %>




All the best.
--Amit
 
Share this answer
 
v2
Comments
narlakanti 13-Sep-12 8:39am    
Thanks a lot.. its working..
_Amy 13-Sep-12 8:42am    
Welcome. :)
Put Radio button list inside a updatepanel...
 
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