Posted 09 Feb 2011 Link to this post
Posted 10 Feb 2011 Link to this post
private void myRadGridView_ElementExporting(object sender, GridViewElementExportingEventArgs e)
{
if (e.Value != null && e.Value.GetType() == typeof(string))
e.Value = (e.Value as string).Replace("&", "&");
e.Value = (e.Value as string).Replace("<", "<");
e.Value = (e.Value as string).Replace(">", ">");
e.Value = (e.Value as string).Replace("\"", """);
e.Value = (e.Value as string).Replace("\'", "'");
}
Posted 14 Jul 2011 Link to this post
Posted 20 Jul 2011 Link to this post
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
Posted 09 Jan 2012 Link to this post
Posted 12 Jan 2012 Link to this post
public
MainPage()
InitializeComponent();
gridView.Exporting +=
new
EventHandler<GridViewExportEventArgs>(gridView_Exporting);
void
gridView_Exporting(
object
sender, GridViewExportEventArgs e)
e.ShouldEncodeValue =
true
;
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Posted 16 Jan 2012 Link to this post