We are facing with the GDI+ exception and suspect that it is gettnig throwed from Telerik DLL. We have engaged MS and they told us that using System.Drawing.ToolboxBitmapAttribute will throw that exception. I just want to know if Telerik is using the System.Drawing.ToolboxBitmapAttribute DLL.
3 Answers, 1 is accepted
0
Svetlina Anati
Telerik team
answered on 20 Jun 2011, 09:05 AM
Hi Saqib,
Yes, we are using the attribute in mention and it is needed in order to provide icons in the toolbox of Visual Studio. This being said, I can confirm that it is used in Telerik.Web.UI.dll and there is no an alternative to achieve toolbox support - that is why it is not feasible to remove it.
You might want to look into removing it from the Telerik ASP.NET DLLs as System.Drawing namespace is not supported by Microsoft in the web applications. We are seeing GDI+ exceptions and currently analyzing to discontinue using Telerik controls altogether.
0
Svetlina Anati
Telerik team
answered on 20 Jun 2011, 03:23 PM
Hello Saqib,
Can you please provide more details about your setup? .NET version, exact error message, etc in order to get a better understanding on the problem? I made a quick search on the net and I found out the following hotfix from Microsoft which seems similar to the problem you describe: