﻿<?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 - change refresh grid icon with text</title><link>http://www.intersoftsolutions.com/Community/WebGrid/change-refresh-grid-icon-with-text/</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>change refresh grid icon with text</title><link>http://www.intersoftsolutions.com/Community/WebGrid/change-refresh-grid-icon-with-text/</link><pubDate>Tue, 25 Jun 2013 23:41:51 GMT</pubDate><dc:creator>Hans</dc:creator><category>refreshgrid icon</category><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;You could modify the refresh icon through ImageSettings. Here’s snippet code how to modify the icon:&lt;/p&gt;&lt;pre&gt;&amp;lt;LayoutSettings&amp;gt;    &amp;lt;ImageSettings RefreshImage="./image/refresh1.gif" /&amp;gt;
&amp;lt;/LayoutSettings&amp;gt;&lt;/pre&gt;
&lt;p&gt;You also could modify the refresh icon tooltip through TextSettings. Here’s snippet code how to modify the icon:&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;LayoutSettings&amp;gt;
    &amp;lt;TextSettings&amp;gt;
        &amp;lt;TextItems&amp;gt;
            &amp;lt;ISWebGrid:WebGridTextItem TextItem="Tooltip/Refresh" TextValue="New Refresh" /&amp;gt;
        &amp;lt;/TextItems&amp;gt;
    &amp;lt;/TextSettings&amp;gt;
&amp;lt;/LayoutSettings&amp;gt;&lt;/pre&gt;
&lt;p&gt;You could use this example snippet JavaScript code to add some text beside refresh icon:&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;function Button1_Click() {
    var tdStat3_WebGrid1 = document.getElementById("tdStat3_WebGrid1");
    var refreshCell = tdStat3_WebGrid1.childNodes[0].cells[0];
    refreshCell.innerHTML &amp;#43;= "&amp;lt;span&amp;gt;Refresh Text&amp;lt;/span&amp;gt;";
    return true;
}&lt;/pre&gt;
&lt;p&gt;I attach a simple sample regarding this “Refresh Icon” scenario.&lt;br /&gt;Please kindly have review on the sample and let me know your response.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Hans.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>change refresh grid icon with text</title><link>http://www.intersoftsolutions.com/Community/WebGrid/change-refresh-grid-icon-with-text/</link><pubDate>Tue, 25 Jun 2013 01:57:38 GMT</pubDate><dc:creator>Skgrid@intersoftpt.com</dc:creator><category>refreshgrid icon</category><description>&lt;p&gt;Hello there,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;We have a requirement where we want to change the refresh grid icon which appears in left bottom corner and also we want add a localizable text on the icon.&lt;/p&gt;
&lt;p&gt;How can we acheive this. We would appreciate if you can provide a sample for the changing the icon and adding localizable text programmitically.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;we have attached an image for the query.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Invensys Skelta&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>