Hi!
I've encountered a problem with bad performance in RadControls for WinForms ver. 2012.1.321. After upgrading from version 2011.2.831, my application really drags its feet. I've pinned down one line of code that runs slower on the new version, but its not the only one:
This function logs 1-2 milliseconds in the 2011-version, compared to about 85000 in the 2012 version the first time it runs. Later runs on the same code have less differences, but still uses about 5-10 times as much time as the earlier version.
Uninstalling the 2012-version and reverting to the 2011-version fixes the problem. No other changes...
I did get an error message during installation that stated: "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2318."
Could the installation error be the source of the problem, or are there other known problems?
What kind of error does the error code 2318 represent, and how can I get rid of the error?
Greetings,
Sverre H.
I've encountered a problem with bad performance in RadControls for WinForms ver. 2012.1.321. After upgrading from version 2011.2.831, my application really drags its feet. I've pinned down one line of code that runs slower on the new version, but its not the only one:
private RadTreeNode FindNodeWithTag(object oId)
{
DateTime start = DateTime.Now;
try
{
return rtvLassListe.Find(delegate(RadTreeNode n) { return ((n.Tag == oId) ? true : false); });
}
finally
{
ErrorLog.LogErrorMessage( (DateTime.Now - start).TotalMilliseconds.ToString() + " ms i FindNodeWithTag()" );
}
}
This function logs 1-2 milliseconds in the 2011-version, compared to about 85000 in the 2012 version the first time it runs. Later runs on the same code have less differences, but still uses about 5-10 times as much time as the earlier version.
Uninstalling the 2012-version and reverting to the 2011-version fixes the problem. No other changes...
I did get an error message during installation that stated: "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2318."
Could the installation error be the source of the problem, or are there other known problems?
What kind of error does the error code 2318 represent, and how can I get rid of the error?
Greetings,
Sverre H.