Hi. Suppose you have 3 Radiobuttons.. You will be validating on some button control. Please find below how to do it step by step.
Step1: Setup your radio buttons on aspx page.
Step2: You have to declare some button/imagebutton or somthing else to validate. I suppose you have button cmdSave for validation.
Step3: in code behind of page On Page Load, you have to call javascript function of validation. i.e
Step4: You have to declare function checkFlag() in your aspx page. i.e