We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Cell Item Template not working after a certain number of cells.

Thread ID:

Created:

Updated:

Platform:

Replies:

92319 Jan 5,2010 09:31 AM Jan 11,2010 10:55 PM Silverlight 3
loading
Tags: GridControl
Gianandrea Terzi
Asked On January 5, 2010 09:31 AM

Hello,
I've downloaded a trial version of you Silverlight Grid and I'm currently evaluating the purchase by adapting it to a real-world customer request.
The grid I'm building implements, in some cells a specific CellItemTemplateKey. To set it i'm using the following event :

private void OnQueryCellInfo(object sender,GridQueryCellInfoEventArgs e) {

[..some logic...]

e.Style.CellType = "DataBoundTemplate";
e.Style.CellItemTemplateKey = "MyTemplateKey;

}

Now all of this works fine, until the number of rows raises. After a certain number of rows are added to the grid, all templates disappear and the cell content goes back to standard cell.

Any idea what is going wrong?
Thanks
Gianandrea

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On January 6, 2010 06:15 AM

Hi Gianandrea,

Thanks for using Syncfusion products. We identified a small recycling issue with the template renderer, this is corrected in a simple sample itself,

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=sample1634466832.zip

It loads up a 1000 rows with buttons as Templated cells. Please use the modified GridDataBoundCellRenderer present in the sample, and let us know your results. If you are still seeing the same exception, then we would want a sample that replicates it. You can create a Direct-Trac incident for quick follow up on bugs.

Thanks,
Fahad

Gianandrea Terzi
Replied On January 11, 2010 03:46 AM

hi Fahad,
yes your sample seems to resolve my issue altrough I've modified my process in the meanwhile to workaround it :)

Thanks for the support
Gianandrea

Ganesan K [Syncfusion]
Replied On January 11, 2010 10:55 PM

Hi Gianandrea,

Thanks for your feedback.

Thanks
Ganesan

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;