asp.net radio button grouping

I finally got around this by creating a plain radio button and setting the value using an server-side eval.

<input type="radio" name="radCustomer" value="<%#Eval("CustomerNumber") %>" />

Now when the application performs a postback, I check for the value of Request.Form[“radCustomer”]. This works flawlessly.

Leave a Comment