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.

blink row in ggc

Thread ID:

Created:

Updated:

Platform:

Replies:

69415 Oct 26,2007 09:23 AM Oct 26,2007 11:12 AM Windows Forms 1
loading
Tags: GridControl
Pankaj Sardana
Asked On October 26, 2007 09:23 AM

Hi,
I am using syncfusion ggc,
in this if i pass the ID(This is column name) in the textbox(left to button blinking) in the attached code... then row that contains that [ID] will start blinking...

But i want that my row should blink when when i passed the first name ...ie row should start blinking where [FirstName] gets matched with the value of textbox

eg:
//The following code is working fine for ID:-

if (AID.Length > 1) AID += " Or ";
AID += "[ID]= '" + (string)key + "'";

here (string)key could be 1,2,----n

//The Following code is not working when i pass the string value ie [FirstName]


if (AID.Length > 1) AID += " Or ";
AID += "[Firstname]= '" + "Luthher"+ "'";


Plz let me know if u know the solution

I will be thankful for u

GGC.zip

haneefm [Syncfusion]
Replied On October 26, 2007 11:12 AM

Hi Pankaj,

Instead of using the '=' operator, try using the 'Like' operator to format the grid using GridConditionalFormatDescriptor. The following code blinks the row in a grid whose FirstName values equal to 'Luthher'’.

if (AID.Length > 1) AID += " Or ";
AID += "[Firstname]= '" + "Luthher"+ "'";
blinkDescriptor.Expression = AID;

Best regards,
Haneef

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.

;