Hello everybody, my name is Alvaro and I am having the following problem:
I am making a Radchart showing in Stacked Bar100 some information about some forms. Well, the problem comes in the instruction below.
try
{
Stream imagen = RadChart1.Save(120, 120);
}
catch (Exception e) { throw e; }
++throws this error:
[System.ArgumentOutOfRangeException] = {"The parameter value must be greater than zero.\r\nParameter name: pixelWidth"}
And if I try directly to do the following:
try
{
Stream imagen = RadChart1.Save();
}
catch (Exception e) { throw e; }
++throw this error:
[System.Security.SecurityException] = {"Request for the permission of type 'System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."}
Any idea of why is this happening?
Thanks.