Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Any one help me its very urgent plz...

How to retain the value of radio button after post back in the same page

Thanks in advance
Sushil Dharmar
<EDIT>Removed the mobile number....</EDIT>
Posted
Updated 26-Sep-11 18:29pm
v2
Comments
Pravin Patil, Mumbai 27-Sep-11 0:29am    
Do not put your mobile number in question.....

you get the value of radio button using
C#
Request.Form(name)
- name of radio button.
 
Share this answer
 
v2
set EnableViewState property to true for that radio button control.
 
Share this answer
 
Comments
SushilDharmar 27-Sep-11 8:41am    
Its an Classic ASP 3.0
use at the

page load_event()
{
If(isPostback)
{
return;
}
}

then your value of radio button sustained...
 
Share this answer
 
Comments
SushilDharmar 27-Sep-11 8:41am    
Its an Classic ASP 3.0

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