I'm using the RadBinaryImage control in a RadRotator controls like so:
I keep getting this error after the page is posted back a couple of times using IE8.
I've noticed in your internal builds that you fixed an error caused by RadBinaryImage when ResizeMode="Fit". I was wondering if this is the same error, but is being caused by ResizeMode="Crop".
If you could tell me if this is a RadBinaryImage error or is it being caused by something else like my server.
Thanks.
| <telerik:RadRotator ID="rtPropertyImages" runat="server" ScrollDirection="Left" ItemWidth="203px" |
| ItemHeight="136px" Height="136px" Width="203px" RotatorType="FromCode" ScrollDuration="2000"> |
| <ItemTemplate> |
| <a href="Property-Floor-Plan.aspx?id=<%#DataBinder.Eval(Container, "DataItem.Listing_ID")%>"> |
| <telerik:RadBinaryImage ID="imgProperty" runat="server" AutoAdjustImageControlSize="false" |
| DataValue='<%#Bind("ImageFile") %>' AlternateText='<%# Bind("Description") %>' |
| ToolTip='<%# Bind("Description") %>' Height="136px" Width="203px" ResizeMode="Crop" |
| BorderStyle="Solid" BorderColor="Black" BorderWidth="1px" /> |
| </a> |
| </ItemTemplate> |
| </telerik:RadRotator> |
I keep getting this error after the page is posted back a couple of times using IE8.
| Server Error in '/' Application. |
| -------------------------------------------------------------------------------- |
| Out of memory. |
| Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. |
| Exception Details: System.OutOfMemoryException: Out of memory. |
| Source Error: |
| An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
| Stack Trace: |
| [OutOfMemoryException: Out of memory.] |
| System.Drawing.Graphics.CheckErrorStatus(Int32 status) +1048473 |
| System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height) +98 |
| Telerik.Web.UI.BinaryImageTransformationFilter.CropImage(Image img, Int32 scaledHeight, Int32 scaledWidth) +227 |
| Telerik.Web.UI.BinaryImageTransformationFilter.ProcessImageInternal(Byte[] image) +228 |
| Telerik.Web.UI.BinaryImageTransformationFilter.ProcessImage(Byte[] image) +17 |
| Telerik.Web.UI.BinaryImageFilterProcessor.ProcessFilters(Byte[] imageData) +62 |
| Telerik.Web.UI.RadBinaryImage.ProcessImageData() +50 |
| Telerik.Web.UI.RadBinaryImage.OnPreRender(EventArgs e) +20 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +80 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842 |
I've noticed in your internal builds that you fixed an error caused by RadBinaryImage when ResizeMode="Fit". I was wondering if this is the same error, but is being caused by ResizeMode="Crop".
If you could tell me if this is a RadBinaryImage error or is it being caused by something else like my server.
Thanks.