﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - dynamically change webgrid CellTemplate hyperlink image</title><link>http://www.intersoftsolutions.com/Community/WebGrid/dynamically-change-webgrid-CellTemplate-hyperlink-image/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>dynamically change webgrid CellTemplate hyperlink image</title><link>http://www.intersoftsolutions.com/Community/WebGrid/dynamically-change-webgrid-CellTemplate-hyperlink-image/</link><pubDate>Sun, 23 Dec 2012 23:04:49 GMT</pubDate><dc:creator>bernard</dc:creator><description>&lt;p&gt;Hi Anitha,&lt;/p&gt;&lt;p&gt;Sorry for late responses.  You can change the image by using OnAfterInitialize event on client-side. However we still searching a way to do this matter on server side.  I've made a sample for this matter. In my sample, I change the image regarding the value of ContactTitle. Is this method works on your side? Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Bernard&lt;/p&gt;</description></item><item><title>dynamically change webgrid CellTemplate hyperlink image</title><link>http://www.intersoftsolutions.com/Community/WebGrid/dynamically-change-webgrid-CellTemplate-hyperlink-image/</link><pubDate>Wed, 19 Dec 2012 16:49:24 GMT</pubDate><dc:creator>anithabejawada</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a HyperLink in CellTemplate Column in Webgrid. I need to change the Image (navigateurl image) dynamically on InitializeRow event based on some condition. I tried changing the background image, but it didn't help. Please let me know the soultion for this. &lt;/p&gt;
&lt;p&gt;Below is the code&lt;/p&gt;
&lt;p&gt;==========&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;ISWebGrid&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;WebGridColumn&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;Caption&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;="Error File"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;ColumnType&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;="Template"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;Width&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;="50px"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;Name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;="error"&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;CellTemplate&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;asp&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;HyperLink&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;ID&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;="HyperLink1"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;runat&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;="server"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;Target&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;="_self"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;ImageUrl&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;="~/Images/excel_icon.gif"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;NavigateUrl&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;='&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&amp;lt;%&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;#&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; String.Format("/ShowExcelFile.aspx?ID=CONV&amp;File=E&amp;Key={0}&amp;logkey={1}",DataBinder.Eval(Container.DataItem, "aum_yardi_conv_key"),DataBinder.Eval(Container.DataItem, "aum_yardi_con_log_key")) %&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;'/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;CellTemplate&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;HeaderStyle&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;CssClass&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;="gridHeadingNumberField"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;CellStyle&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;CssClass&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;="gridContentTextField"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;HorizontalAlign&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;="Center"/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;FooterStyle&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 13px;"&gt;CssClass&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;="gridContentNumberField"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt;&lt;span style="font-family: consolas; font-size: 13px;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;ISWebGrid&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(128, 0, 0); font-family: consolas; font-size: 13px;"&gt;WebGridColumn&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas;"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas;"&gt;In Initialize Event&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas;"&gt;====================&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; if (e.Row.Type == RowType.Record)&lt;br&gt;&lt;/br&gt;        {&lt;br&gt;&lt;/br&gt;            WebGridCellCollection cells = e.Row.Cells;&lt;br&gt;&lt;/br&gt;            DataRowView drView = (DataRowView)e.Row.DataRow;&lt;br&gt;&lt;/br&gt;            int varError = Utility.GetIntegerValue(drView["error_file_length"]);&lt;/p&gt;
&lt;p&gt;            if (varError == 0)&lt;br&gt;&lt;/br&gt;            {&lt;br&gt;&lt;/br&gt;                e.Row.Cells[3].TooltipText = noDataMsg &amp;#43; drView["post_date"].ToString();&lt;br&gt;&lt;/br&gt;                e.Row.Cells[3].GetTemplateContainer().BackImageUrl = "&amp;lt;img src='../../../Images/None.gif'/&amp;gt;";&lt;br&gt;&lt;/br&gt;            }&lt;br&gt;&lt;/br&gt;            else&lt;br&gt;&lt;/br&gt;            {&lt;br&gt;&lt;/br&gt;                e.Row.Cells[3].TooltipText = "View Error File";&lt;br&gt;&lt;/br&gt;            }&lt;br&gt;&lt;/br&gt;}&lt;/p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</description></item></channel></rss>