Let us say, I have a radio button control called CanContact. So if it is yes then it will pass some lines of code in UI layer. If no then it will go to else part. So how can I write this in UI and how I can pass a method for this in code behind page.