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,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top