Hi
I have below Radio Button . I want option P to be checked by default
Thanks
Hi
I have below Radio Button . I want option P to be checked by default
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ramco RamcoPosted Sep 19, 2022, 6:17 AM
Hi Vishal
I have below code but still not showing Highlighted
Thanks
Vishal JoshiPosted Sep 19, 2022, 5:59 AM
Hello Ramco
It's an issue with your style sheet setting, not any issue with checked. it is check as you write Checked="true" just it's not showing to UI
You can try with the below code to review.
Ramco RamcoPosted Sep 19, 2022, 5:52 AM
Hi Sachin
RadioButton is in repeater
Thanks
Ramco RamcoPosted Sep 19, 2022, 5:51 AM
Hi Muhammad
I am trying below code but not working
Thanks
Sachin SinghPosted Sep 19, 2022, 5:38 AM
I can't find anything wrong in your code. It should have worked. But, if for some reason it is not working then try setting it from code behind for the first load
Muhammad Imran AnsariPosted Sep 19, 2022, 5:17 AM
Try the following fiddle I have created for you:
https://jsfiddle.net/0nbdycjx/1/
Vishal JoshiPosted Sep 19, 2022, 5:14 AM
Hello
You can use RadioButtonList to achieve functionality using the radio button. please check the sample code below you can use.
You can set Selected="True" to set checked by default.
Ramco RamcoPosted Sep 19, 2022, 5:11 AM
Hi Vishal
It is not a list.
Thanks
Vishal YelvePosted Sep 19, 2022, 5:09 AM
Try this