Hi,
How to automatically delete the images in TempImageFolder? Is there any setting for it?
Here is the code that i used. But the images still keep in the TempImageFolder after few days.
How to automatically delete the images in TempImageFolder? Is there any setting for it?
Here is the code that i used. But the images still keep in the TempImageFolder after few days.
| <telerik:RadChart ID="RadChart_Overall" runat="server" Width="450px" |
| IntelligentLabelsEnabled="True" DefaultType="Pie" AutoLayout="True" AutoTextWrap="True" Height="350px" TempImagesFolder="~/images/articles" UseSession="False" OnItemDataBound="RadChart_Overall_ItemDataBound" SeriesPalette="MyPalette"> |
| <Series> |
| <telerik:ChartSeries Name="Series" Type="Pie" DataYColumn="cnt"> |
| <appearance centerxoffset="-50" barwidthpercent="5"> |
| <textappearance autotextwrap="True" textproperties-color="Black"> |
| </textappearance> |
| </appearance> |
| </telerik:ChartSeries> |
| </Series> |
| <CustomPalettes> |
| <telerik:Palette Name="MyPalette"> |
| <Items> |
| <telerik:PaletteItem MainColor="DarkGreen" SecondColor="DarkGreen" /> |
| <telerik:PaletteItem MainColor="LightBlue" SecondColor="LightBlue" /> |
| <telerik:PaletteItem MainColor="Crimson" SecondColor="Crimson" /> |
| <telerik:PaletteItem MainColor="DarkOrange" SecondColor="DarkOrange" /> |
| <telerik:PaletteItem MainColor="MediumPurple" SecondColor="MediumPurple" /> |
| <telerik:PaletteItem MainColor="Yellow" SecondColor="Yellow" /> |
| <telerik:PaletteItem MainColor="PeachPuff" SecondColor="PeachPuff" /> |
| <telerik:PaletteItem MainColor="Brown" SecondColor="white" /> |
| </Items> |
| </telerik:Palette> |
| </CustomPalettes> |
| <charttitle> |
| <textblock> |
| <appearance textproperties-color="Black" textproperties-font="Arial, 10pt,style=bold"> |
| </appearance> |
| </textblock> |
| <appearance position-alignedposition="TopLeft" Dimensions-Width="450px"> |
| </appearance> |
| </charttitle> |
| <PlotArea> |
| <xaxis> |
| <appearance color="76, 255, 255, 255" majortick-color="179, 255, 255, 255"> |
| <majorgridlines color="179, 255, 255, 255" width="2" /> |
| <textappearance textproperties-color="Black"> |
| </textappearance> |
| </appearance> |
| <axislabel> |
| <appearance dimensions-paddings="1px, 1px, 10%, 1px"> |
| </appearance> |
| <textblock> |
| <appearance textproperties-color="Black"> |
| </appearance> |
| </textblock> |
| </axislabel> |
| </xaxis> |
| <Appearance Border-Width="0" Dimensions-AutoSize="true"> |
| <fillstyle maincolor="" secondcolor="Transparent"> |
| </fillstyle> |
| </Appearance> |
| </PlotArea> |
| <legend visible="true"> |
| <appearance visible="true" |
| location="InsidePlotArea" dimensions-margins="2px, 2px, 2px, 3px" |
| position-alignedposition="Right" position-auto="True" > |
| <itemtextappearance autotextwrap="True" textproperties-color="Black"></itemtextappearance> |
| <fillstyle maincolor="37, 255, 255, 255"> |
| </fillstyle> |
| <border color="White" /> |
| </appearance> |
| <textblock><appearance autotextwrap="True" position-alignedposition="Top" |
| textproperties-color="220, 158, 119"> |
| </appearance></textblock> |
| </legend> |
| </telerik:RadChart> |