This question is locked. New answers and comments are not allowed.
We have implemented a custom column used in pretty much all of our RadGridViews, and have found that doing any operation being performed on these grids (ie sorting, filtering) results in massive amounts of memory to be claimed by the browser, but never released. Eventually, after enough of these operations, the browser will crash due to not being able to allocate enough resources for the next chunk of memory it is trying to use. After some investigation, I have determined that at least part of the problem stems from the use of a RadDropDownButton being used as the cell content of this column.
I put together a simple test column to test my scenario, and it also exhibits these issues.
As you can see, I am not doing anything fancy within the test column, just returning a new RadDropDownButton as the cell element. It should also be noted that I also tried this scenario with the standard button in silverlight, and the standard RadButton, and did not encounter this issue, further pointing me in the direction that something is happening related to the RadDropDownButton.
This is Silverlight 4, using WCF Ria V1.0 SP1 Beta, Telerik Controls Q3 2010 (2010.3.1110.1040). This scenario uses a RadGridView, RadDataPager, populated via Ria DomainDataSource, with filtering and sorting occurring on the server.
Is there anything manually I can do to help dispose of this object, or is there some more underlying problem that would prevent me from doing anything manually?
If there is any more information needed, please let me know.
Thanks,
Chris
I put together a simple test column to test my scenario, and it also exhibits these issues.
public
class
TestColumn : Telerik.Windows.Controls.GridViewColumn
{
public
override
FrameworkElement CreateCellElement(Telerik.Windows.Controls.GridView.GridViewCell cell,
object
dataItem)
{
//return new Button();
//return new RadButton();
return
new
RadDropDownButton();
}
}
As you can see, I am not doing anything fancy within the test column, just returning a new RadDropDownButton as the cell element. It should also be noted that I also tried this scenario with the standard button in silverlight, and the standard RadButton, and did not encounter this issue, further pointing me in the direction that something is happening related to the RadDropDownButton.
This is Silverlight 4, using WCF Ria V1.0 SP1 Beta, Telerik Controls Q3 2010 (2010.3.1110.1040). This scenario uses a RadGridView, RadDataPager, populated via Ria DomainDataSource, with filtering and sorting occurring on the server.
Is there anything manually I can do to help dispose of this object, or is there some more underlying problem that would prevent me from doing anything manually?
If there is any more information needed, please let me know.
Thanks,
Chris