RadioButtonList and HtmlEncode

C

Chris Walls

I have a need to HtmlEncode the DataTextField on a databound
RadioButtonList. I have been unable to find any events to subscribe to
(such as OnItemDataBound on the DataGrid) or any type of template control to
specify within the RadioButtonList control.

I have found MSDN articles that suggest that for security purposes
developers should consider encoding the display for these types of controls,
but then only provides examples for the DataGrid.

Any help would be appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,157
Latest member
MercedesE4
Top