Certainly. You are mixing Web Forms and Win Forms. Take a look at this:
MessageBox.Show("Radiobutton");
Where do you think this fires? At the client? Nope; this fires at the server and does NOT translate into something like an alert() call. In ASP.NET applications, you can't use MessageBox.Show. I think it's just swallowed by the framework.
Try writing to a Label instead. E.g. add a <label /> control to the page and then try:
Label1.Text = "Radiobutton";
Maybe you are new to ASP.NET? If so, you may want to check out my new book Beginning ASP.NET 3.5, located here:
http://www.wrox.com/WileyCDA/WroxTit...47018759X.html
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of
Beginning ASP.NET 3.5 : in C# and VB,
ASP.NET 2.0 Instant Results and
Dreamweaver MX 2004
Want to be my colleague? Then check out this post.