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-de coration", "none");
e.Row.BackColor = System.Drawing.Color.Yello w;
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-de
e.Row.BackColor = System.Drawing.Color.Yello
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 ?
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 ?
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-dec oration", "none");
e.Row.BackColor = System.Drawing.Color.Blue;
}
if (e.Row.Cells[14].Text == "Alert Requires Verification Flight")
{
HyperLink lnkMCO = (HyperLink)e.Row.Cells[0].
lnkMCO.Text = "<FONT class='jqueryBlink'>" + lnkMCO.Text.ToString() + "</FONT>";
//lnkMCO.ForeColor = Color.Red;
lnkMCO.Style.Add("text-dec
e.Row.BackColor = System.Drawing.Color.Blue;
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That worked. Thank You
http://www.dotnetspider.com/resources/37638-Blinking-Text-within-Gridview.aspx