Wednesday, April 10, 2013

Html Exporting Radgrid

The purpose of this event is to allow the developer to insert global styles (CSS) or configuration options (XML) to the exported file. A possible application for this event is to enable the grid lines for the current worksheet:

protected void Radgrid1_HTMLExporting(object sender, GridHTMLExportingEventArgs e)
    {
        e.Styles.Append("body { border:solid 0.1pt #CCCCCC; }");
    }

For More Information

http://www.telerik.com/help/aspnet-ajax/grid-html-export.html

No comments:

Post a Comment