Link to home
Start Free TrialLog in
Avatar of BOEING39
BOEING39

asked on

GRIDVIEW DISPLAY BLINKING COLUMN VALUES

Please see following code.   The following code is used in conjunction with Jquery and is supposed to flash text in column [14] based upon a value for example here:   "Domestic Verification Flight Required" .    Column value [14] corresponds to DB column "Status1".   For  


if (e.Row.Cells[14].Text == "Alert Requires Verification Flight")
            {
                e.Row.Cells[14].ForeColor = Color.Red;
                Status1.Text = "<FONT class='jqueryBlink'>" + Status1.Text.ToString() + "</FONT>";

                Status1.Style.Add("text-decoration", "none");
                e.Row.BackColor = System.Drawing.Color.Yellow;
Avatar of Manoj Patil
Manoj Patil
Flag of India image

hi again,
i suppose, this was the last thread which u r mentioning
https://www.experts-exchange.com/questions/27829198/GRIDVIEW-CELL-BLINKING-BEHIND-CODE.html


What is missing on your current question  ?
Avatar of BOEING39
BOEING39

ASKER

Meeran, I see you posted back to a thread I engaged with some time back.   That function worked with the hyperlinked text value, ho would the code look referencing the data base column, cell, text value instead of the Hyperlink.  I would like to base the condition of column [14] of the gridview, DB col name "Status1" insteadof the Hyperlink.    Since the cell text is not in a control I am not sure how to do this.  This was where I am having issues


if (e.Row.Cells[14].Text == "Alert Requires Verification Flight")
            {
                HyperLink lnkMCO = (HyperLink)e.Row.Cells[0].Controls[0];
                lnkMCO.Text = "<FONT class='jqueryBlink'>" + lnkMCO.Text.ToString() + "</FONT>";
                //lnkMCO.ForeColor = Color.Red;
                lnkMCO.Style.Add("text-decoration", "none");
                e.Row.BackColor = System.Drawing.Color.Blue;

            }
ASKER CERTIFIED SOLUTION
Avatar of Rajar Ahmed
Rajar Ahmed
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That worked.   Thank You