Click here to Skip to main content
15,917,321 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to select default value of radiobuttonlist after reload page (when select other value except default value from radiobuttomlist and reload page then not automatically set default value of radiobuttonlist after page load in asp.net C#).
I already try this code
in page load section
SQL
radiobuttonlist .SelectedIndex = 0 ;
radiobuttonlist .SelectedValue = "1";
rblAutoCalculation.Items.FindByValue("ACP").Selected = true;
rblAutoCalculation.Items.FindByName("ACP").Selected = true;
Posted
Updated 16-May-14 1:00am
v3
Comments
DamithSL 12-May-14 3:46am    
what you have in your page load method? how you bind rblAutoCalculation?

1 solution

 
Share this answer
 
Comments
Manas Bhardwaj 12-May-14 4:13am    
+5!
Peter Leow 12-May-14 4:43am    
Thanks Manas.

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