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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Cell Backcolor not changing

Thread ID:

Created:

Updated:

Platform:

Replies:

78391 Dec 11,2008 11:57 AM UTC Jun 15,2009 01:04 PM UTC ASP.NET Web Forms (Classic) 5
loading
Tags: GridGroupingControl
Saurabh Srivastava
Asked On December 11, 2008 11:57 AM UTC

Hi,

I am trying to change a cell backcolor based on a condition. I am calling the QueryInfoStyle method and changing the color as

e.Style.BackColor = Color.Red;

But no change is happening. After seeing the property, it seems its only a Get Property and not a Set one. Could you please resolve this ASAP?


Rajarajeswari S [Syncfusion]
Replied On December 11, 2008 06:43 PM UTC

Hi Saurabh,

Thanks for using Syncfusion products.

I am afraid that i am not able to reproduce the issue that you have mentioned here.
Please refer the sample from the below link, which illustrates this:

http://websamples.syncfusion.com/samples/Grid.Web/6.4.0.15/Grid_Web_BackColor/main.htm

With latest version, we need to set "Handled" property to true, to apply the styles through QueryCellStyleInfo.

Please try this and let me know if this helps you out.

Regards,
Raji



Saurabh Srivastava
Replied On December 13, 2008 11:48 AM UTC


Hi,

It works fine now.


Rajarajeswari S [Syncfusion]
Replied On December 15, 2008 06:22 AM UTC

Hi,

Thanks for the update.

Regards,
Raji


Nathan Wheeler
Replied On June 11, 2009 03:39 PM UTC

I've been trying to find a method to do this, but the sample page referenced in the link has an error in it and will not load "System.Linq" isn't referenced by the project looks like. Could you get it working again so we can take a look at it?

Thanks,
Nathan

Rekha P [Syncfusion]
Replied On June 15, 2009 01:04 PM UTC

Hi Nathan,

Thank you for evaluating Syncfusion Products.

I have updated the above link and please try this and let me know if you have any other queries.

Thanks,
Rekha

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon

;