<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8168372949663241132</id><updated>2026-03-19T09:41:53.131-07:00</updated><category term="Telerik"/><category term="RadGrid"/><category term="asp.net"/><category term="Kendo UI"/><category term="Kendo Grid"/><category term="MVC"/><category term="News"/><category term="File Download"/><category term="Interop"/><category term="Interview Question"/><category term="Kendo Chart"/><category term="Kendo ComboBox"/><category term="MCTS 70-480"/><category term="Manually Filter"/><category term="Microsoft Exam"/><category term="Neodynamic"/><category term="RadComboBox"/><category term="RadListBox"/><category term="SQL"/><title type='text'>Jayesh Goyani</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default?start-index=26&amp;max-results=25'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-1477071069682342906</id><published>2016-08-06T05:39:00.000-07:00</published><updated>2016-09-02T12:15:30.710-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Neodynamic"/><title type='text'>How to print multiple labels using BinaryPrinterCommands with neodynamic?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;ClientPrintForMultipleFiles&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; printerName, &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; filesInfo, &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;bool&lt;/span&gt; isLabel)
{
    &lt;span style=&quot;color: #888888;&quot;&gt;//fileInfo is collection of FileName and FilePath details&lt;/span&gt;
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (!String.IsNullOrEmpty(printerName))
    {

        &lt;span style=&quot;color: #888888;&quot;&gt;//Below code is required when you called this function from jquery ajax call&lt;/span&gt;
        &lt;span style=&quot;color: #888888;&quot;&gt;//filesInfo = filesInfo.Replace(&quot;FileName:&quot;, &quot;FileName\&quot;:\&quot;&quot;).Replace(&quot;,FilePath:&quot;, &quot;\&quot;,\&quot;FilePath\&quot;:\&quot;&quot;).Replace(&quot;{&quot;, &quot;{\&quot;&quot;).Replace(&quot;}&quot;, &quot;\&quot;}&quot;);&lt;/span&gt;

        List&amp;lt;FileData&amp;gt; fileDetails = JsonConvert.DeserializeObject&amp;lt;List&amp;lt;FileData&amp;gt;&amp;gt;(filesInfo);

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (!isLabel)
        {
            ClientPrintJob cpj = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; ClientPrintJob();
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;foreach&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;var&lt;/span&gt; obj &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;in&lt;/span&gt; fileDetails)
            {
                cpj.PrintFileGroup.Add(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; PrintFile(obj.FilePath, obj.FileName));
            }
            cpj.ClientPrinter = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; InstalledPrinter(System.Web.HttpUtility.UrlDecode(printerName));
            cpj.SendToClient(System.Web.HttpContext.Current.Response);
        }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;if&lt;/span&gt; (isLabel)
        {
            ClientPrintJob cpj = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; ClientPrintJob();
            List&amp;lt;&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;byte&lt;/span&gt;[]&amp;gt; buffer = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; List&amp;lt;&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;byte&lt;/span&gt;[]&amp;gt;();
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;foreach&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;var&lt;/span&gt; obj &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;in&lt;/span&gt; fileDetails)
            {
                &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; filePath = System.IO.Path.Combine(obj.FilePath, obj.FileName);
                buffer.Add(System.IO.File.ReadAllBytes(filePath));
            }
            cpj.BinaryPrinterCommands = JoinArrays(buffer);
            cpj.ClientPrinter = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; InstalledPrinter(System.Web.HttpUtility.UrlDecode(printerName));
            cpj.SendToClient(System.Web.HttpContext.Current.Response);
        }
    }
}

&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;byte&lt;/span&gt;[] &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;JoinArrays&lt;/span&gt;(IEnumerable&amp;lt;&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;byte&lt;/span&gt;[]&amp;gt; arrays)
{
    &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt; offset = &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;0&lt;/span&gt;;
    &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;byte&lt;/span&gt;[] fullArray = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;byte&lt;/span&gt;[arrays.Sum(a =&amp;gt; a.Length)];
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;foreach&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;byte&lt;/span&gt;[] array &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;in&lt;/span&gt; arrays)
    {
        Buffer.BlockCopy(array, &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;0&lt;/span&gt;, fullArray, offset, array.Length);
        offset += array.Length;
    }
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; fullArray;
}
......&lt;/pre&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;......
&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #bb0066; font-weight: bold;&quot;&gt;FileData&lt;/span&gt;
{
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; FileName { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; FilePath { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/1477071069682342906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2016/08/how-to-print-multiple-labels-using.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/1477071069682342906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/1477071069682342906'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2016/08/how-to-print-multiple-labels-using.html' title='How to print multiple labels using BinaryPrinterCommands with neodynamic?'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-642843095711496228</id><published>2016-07-06T22:58:00.001-07:00</published><updated>2016-09-19T08:36:02.033-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Kendo Grid"/><category scheme="http://www.blogger.com/atom/ns#" term="Kendo UI"/><category scheme="http://www.blogger.com/atom/ns#" term="Manually Filter"/><title type='text'>How to add and remove filter dynamically from kendo UI Grid</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;script&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
    $(&lt;span style=&quot;color: #007020;&quot;&gt;document&lt;/span&gt;).ready(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; () {

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; products &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; [{
            ProductID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;,
            ProductName&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Chai&quot;&lt;/span&gt;,
            SupplierID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;,
            CategoryID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;,
            QuantityPerUnit&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;10 boxes x 20 bags&quot;&lt;/span&gt;,
            UnitPrice&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;18.0000&lt;/span&gt;,
            UnitsInStock&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;39&lt;/span&gt;,
            UnitsOnOrder&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;,
            ReorderLevel&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;10&lt;/span&gt;,
            Discontinued&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;,
            Category&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                CategoryID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;,
                CategoryName&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Beverages&quot;&lt;/span&gt;,
                Description&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Soft drinks, coffees, teas, beers, and ales&quot;&lt;/span&gt;
            }
        }, {
            ProductID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;2&lt;/span&gt;,
            ProductName&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Chang&quot;&lt;/span&gt;,
            SupplierID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;,
            CategoryID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;,
            QuantityPerUnit&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;24 - 12 oz bottles&quot;&lt;/span&gt;,
            UnitPrice&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;19.0000&lt;/span&gt;,
            UnitsInStock&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;17&lt;/span&gt;,
            UnitsOnOrder&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;40&lt;/span&gt;,
            ReorderLevel&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;25&lt;/span&gt;,
            Discontinued&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;,
            Category&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                CategoryID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;,
                CategoryName&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Beverages&quot;&lt;/span&gt;,
                Description&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Soft drinks, coffees, teas, beers, and ales&quot;&lt;/span&gt;
            }
        }, {
            ProductID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;3&lt;/span&gt;,
            ProductName&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Aniseed Syrup&quot;&lt;/span&gt;,
            SupplierID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;,
            CategoryID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;2&lt;/span&gt;,
            QuantityPerUnit&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;12 - 550 ml bottles&quot;&lt;/span&gt;,
            UnitPrice&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;10.0000&lt;/span&gt;,
            UnitsInStock&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;13&lt;/span&gt;,
            UnitsOnOrder&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;70&lt;/span&gt;,
            ReorderLevel&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;25&lt;/span&gt;,
            Discontinued&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;,
            Category&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                CategoryID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;2&lt;/span&gt;,
                CategoryName&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Condiments&quot;&lt;/span&gt;,
                Description&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Sweet and savory sauces, relishes, spreads, and seasonings&quot;&lt;/span&gt;
            }
        }, {
            ProductID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;4&lt;/span&gt;,
            ProductName&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Chef Anton&#39;s Cajun Seasoning&quot;&lt;/span&gt;,
            SupplierID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;2&lt;/span&gt;,
            CategoryID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;2&lt;/span&gt;,
            QuantityPerUnit&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;48 - 6 oz jars&quot;&lt;/span&gt;,
            UnitPrice&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;22.0000&lt;/span&gt;,
            UnitsInStock&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;53&lt;/span&gt;,
            UnitsOnOrder&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;,
            ReorderLevel&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;,
            Discontinued&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;,
            Category&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                CategoryID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;2&lt;/span&gt;,
                CategoryName&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Condiments&quot;&lt;/span&gt;,
                Description&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Sweet and savory sauces, relishes, spreads, and seasonings&quot;&lt;/span&gt;
            }
        }, {
            ProductID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;5&lt;/span&gt;,
            ProductName&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Chef Anton&#39;s Gumbo Mix&quot;&lt;/span&gt;,
            SupplierID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;2&lt;/span&gt;,
            CategoryID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;2&lt;/span&gt;,
            QuantityPerUnit&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;36 boxes&quot;&lt;/span&gt;,
            UnitPrice&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;21.3500&lt;/span&gt;,
            UnitsInStock&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;,
            UnitsOnOrder&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;,
            ReorderLevel&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;,
            Discontinued&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
            Category&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                CategoryID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;2&lt;/span&gt;,
                CategoryName&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Condiments&quot;&lt;/span&gt;,
                Description&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Sweet and savory sauces, relishes, spreads, and seasonings&quot;&lt;/span&gt;
            }
        }];

        $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#grid&quot;&lt;/span&gt;).kendoGrid({
            dataSource&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                data&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; products,
                schema&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                    model&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                        id&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ProductID&quot;&lt;/span&gt;,
                        fields&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                            ProductID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;number&#39;&lt;/span&gt; },
                            UnitsInStock&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;number&#39;&lt;/span&gt; },
                            ProductName&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;string&#39;&lt;/span&gt; },
                            QuantityPerUnit&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;string&#39;&lt;/span&gt; },
                            UnitPrice&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;number&#39;&lt;/span&gt; },
                        }
                    }
                },
            },
            filterable&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                mode&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;row&quot;&lt;/span&gt;
            },
            resizable&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
            columns&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; [
                { field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ProductName&quot;&lt;/span&gt; },
                { field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;UnitsInStock&quot;&lt;/span&gt;, title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;UnitsInStock&quot;&lt;/span&gt; },
                { field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;QuantityPerUnit&quot;&lt;/span&gt;, title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;QuantityPerUnit&quot;&lt;/span&gt; },
                { field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;UnitPrice&quot;&lt;/span&gt;, title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;UnitPrice&quot;&lt;/span&gt; },
            ]
        });



    });

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; AddFilterinGrid() {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; grid &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#grid&quot;&lt;/span&gt;).data(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;kendoGrid&quot;&lt;/span&gt;);
        addOrRemoveFilter(grid, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ProductName&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;eq&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Chai&quot;&lt;/span&gt;);
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; RemoveFilterinGrid() {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; grid &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#grid&quot;&lt;/span&gt;).data(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;kendoGrid&quot;&lt;/span&gt;);
        addOrRemoveFilter(grid, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ProductName&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;eq&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&quot;&lt;/span&gt;);
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; addOrRemoveFilter(grid, field, operator, value) {

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; newFilter &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; { field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; field, operator&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; operator, value&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; value };
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; dataSource &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; grid.dataSource;
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; filters &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;null&lt;/span&gt;;
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (dataSource.filter() &lt;span style=&quot;color: #333333;&quot;&gt;!=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;null&lt;/span&gt;) {
            filters &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; dataSource.filter().filters;
        }

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (value &lt;span style=&quot;color: #333333;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; value.length &lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;) {
            &lt;span style=&quot;color: #888888;&quot;&gt;//Add filter&lt;/span&gt;
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (filters &lt;span style=&quot;color: #333333;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;null&lt;/span&gt;) {
                filters &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; [newFilter];
            }
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;else&lt;/span&gt; {
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; isNew &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;;
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; index &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;;
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;for&lt;/span&gt; (index &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;; index &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt; filters.length; index&lt;span style=&quot;color: #333333;&quot;&gt;++&lt;/span&gt;) {
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (filters[index].field &lt;span style=&quot;color: #333333;&quot;&gt;==&lt;/span&gt; field) {
                        isNew &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;;
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;break&lt;/span&gt;;
                    }
                }
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (isNew) {
                    filters.push(newFilter);
                }
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;else&lt;/span&gt; {
                    filters[index] &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; newFilter;
                }
            }
        }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;else&lt;/span&gt; {
            &lt;span style=&quot;color: #888888;&quot;&gt;//Remove filter &lt;/span&gt;
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; removeIndex &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;;
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; x &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;; x &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt; filters.length; x&lt;span style=&quot;color: #333333;&quot;&gt;++&lt;/span&gt;) {
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; temp &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; filters[x];
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (temp.field &lt;span style=&quot;color: #333333;&quot;&gt;==&lt;/span&gt; field) {
                    removeIndex &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; x;
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;break&lt;/span&gt;;
                }
            }
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (removeIndex &lt;span style=&quot;color: #333333;&quot;&gt;!=&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;)
                filters.splice(removeIndex, &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;);
        }
        dataSource.filter(filters);
    }
&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/script&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/642843095711496228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2016/07/how-to-add-and-remove-filter.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/642843095711496228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/642843095711496228'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2016/07/how-to-add-and-remove-filter.html' title='How to add and remove filter dynamically from kendo UI Grid'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-6694115418063899056</id><published>2015-10-01T22:30:00.001-07:00</published><updated>2016-09-02T12:23:45.360-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Kendo Grid"/><category scheme="http://www.blogger.com/atom/ns#" term="Kendo UI"/><title type='text'>Get row and column index on change event or on click event on Kendo-UI Grid</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Get row and column index on click event&lt;/b&gt;&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; onDataBound(e) {
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; grid &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#Grid&quot;&lt;/span&gt;).data(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;kendoGrid&quot;&lt;/span&gt;);
    $(grid.tbody).on(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;click&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;td&quot;&lt;/span&gt;, &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; (e) {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; row &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;this&lt;/span&gt;).closest(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;tr&quot;&lt;/span&gt;);
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; rowIdx &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;tr&quot;&lt;/span&gt;, grid.tbody).index(row);
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; colIdx &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;td&quot;&lt;/span&gt;, row).index(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;this&lt;/span&gt;);
        alert(rowIdx &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;-&#39;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; colIdx);
    });
}

$(&lt;span style=&quot;color: #007020;&quot;&gt;document&lt;/span&gt;).ready(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; () {
    $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#Grid&quot;&lt;/span&gt;).kendoGrid({
        dataSource&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
            type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;odata&quot;&lt;/span&gt;,
            transport&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                read&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;http://demos.kendoui.com/service/Northwind.svc/Orders&quot;&lt;/span&gt;,
                dataType&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;jsonp&quot;&lt;/span&gt;
            },
            schema&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                model&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                    fields&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                        OrderID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;number&quot;&lt;/span&gt; },
                        Freight&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;number&quot;&lt;/span&gt; },
                        ShipName&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;string&quot;&lt;/span&gt; },
                        OrderDate&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;date&quot;&lt;/span&gt; },
                        ShipCity&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;string&quot;&lt;/span&gt; }
                    }
                }
            },
            pageSize&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;10&lt;/span&gt;,
            serverPaging&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
            serverFiltering&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
            serverSorting&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;
        },
        dataBound&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; onDataBound,
        filterable&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
        sortable&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
        pageable&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
        columns&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; [{
            field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;OrderID&quot;&lt;/span&gt;,
            filterable&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;
        },
                        &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Freight&quot;&lt;/span&gt;,
                        {
                            field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;OrderDate&quot;&lt;/span&gt;,
                            title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Order Date&quot;&lt;/span&gt;,
                            width&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;120&lt;/span&gt;,
                            format&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;{0:MM/dd/yyyy}&quot;&lt;/span&gt;
                        }, {
                            field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ShipName&quot;&lt;/span&gt;,
                            title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Ship Name&quot;&lt;/span&gt;,
                            width&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;260&lt;/span&gt;
                        }, {
                            field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ShipCity&quot;&lt;/span&gt;,
                            title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Ship City&quot;&lt;/span&gt;,
                            width&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;150&lt;/span&gt;
                        }
                    ]
    });
});
&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;div id&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Grid&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/div&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Get row and column index on Change event&lt;/b&gt;

&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;body&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;script&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; onChange(arg) {
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; grid &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#Grid&quot;&lt;/span&gt;).data(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;kendoGrid&quot;&lt;/span&gt;);
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; row &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;this&lt;/span&gt;.select().closest(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;tr&quot;&lt;/span&gt;);
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; rowIdx &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;tr&quot;&lt;/span&gt;, grid.tbody).index(row);
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; colIdx &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;this&lt;/span&gt;.select().index();
            alert(rowIdx &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;-&#39;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; colIdx);
        }

        $(&lt;span style=&quot;color: #007020;&quot;&gt;document&lt;/span&gt;).ready(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; () {
            $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#Grid&quot;&lt;/span&gt;).kendoGrid({
                dataSource&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                    type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;odata&quot;&lt;/span&gt;,
                    transport&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                        read&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;http://demos.kendoui.com/service/Northwind.svc/Orders&quot;&lt;/span&gt;,
                        dataType&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;jsonp&quot;&lt;/span&gt;
                    },
                    schema&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                        model&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                            fields&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                                OrderID&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;number&quot;&lt;/span&gt; },
                                Freight&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;number&quot;&lt;/span&gt; },
                                ShipName&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;string&quot;&lt;/span&gt; },
                                OrderDate&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;date&quot;&lt;/span&gt; },
                                ShipCity&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;string&quot;&lt;/span&gt; }
                            }
                        }
                    },
                    pageSize&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;10&lt;/span&gt;,
                    serverPaging&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
                    serverFiltering&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
                    serverSorting&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;
                },

                selectable&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;multiple cell&quot;&lt;/span&gt;,
                change&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; onChange,
                filterable&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
                sortable&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
                pageable&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
                columns&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; [{
                    field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;OrderID&quot;&lt;/span&gt;,
                    filterable&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;
                },
                                &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Freight&quot;&lt;/span&gt;,
                                {
                                    field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;OrderDate&quot;&lt;/span&gt;,
                                    title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Order Date&quot;&lt;/span&gt;,
                                    width&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;120&lt;/span&gt;,
                                    format&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;{0:MM/dd/yyyy}&quot;&lt;/span&gt;
                                }, {
                                    field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ShipName&quot;&lt;/span&gt;,
                                    title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Ship Name&quot;&lt;/span&gt;,
                                    width&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;260&lt;/span&gt;
                                }, {
                                    field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ShipCity&quot;&lt;/span&gt;,
                                    title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Ship City&quot;&lt;/span&gt;,
                                    width&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;150&lt;/span&gt;
                                }
                ]
            });
        });

    &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/script&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;div id&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Grid&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/div&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/body&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/6694115418063899056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2015/10/get-row-and-column-index-on-change.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/6694115418063899056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/6694115418063899056'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2015/10/get-row-and-column-index-on-change.html' title='Get row and column index on change event or on click event on Kendo-UI Grid'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-6980448263797688927</id><published>2013-08-29T04:24:00.000-07:00</published><updated>2016-09-02T12:39:50.139-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Kendo Grid"/><category scheme="http://www.blogger.com/atom/ns#" term="Kendo UI"/><title type='text'>How to add serial number column in kendo ui grid</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Using MVC&lt;/b&gt; 

&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;script type&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; rowNumber &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;;

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; resetRowNumber(e) {
        rowNumber &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;;
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; renderNumber(data) {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;++&lt;/span&gt;rowNumber;
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; renderRecordNumber(data) {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; page &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #007020;&quot;&gt;parseInt&lt;/span&gt;($(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#Grid&quot;&lt;/span&gt;).data(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;kendoGrid&quot;&lt;/span&gt;).dataSource.page()) &lt;span style=&quot;color: #333333;&quot;&gt;-&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;;
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; pagesize &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#Grid&quot;&lt;/span&gt;).data(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;kendoGrid&quot;&lt;/span&gt;).dataSource.pageSize();
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #007020;&quot;&gt;parseInt&lt;/span&gt;(rowNumber &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; (&lt;span style=&quot;color: #007020;&quot;&gt;parseInt&lt;/span&gt;(page) &lt;span style=&quot;color: #333333;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: #007020;&quot;&gt;parseInt&lt;/span&gt;(pagesize)));
    }

&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/script&amp;gt;&lt;/span&gt;

@(Html.Kendo().Grid&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;MvcApplication1.Models.TestModels&amp;gt;&lt;/span&gt;() 
.Name(&quot;Grid&quot;) 
.Columns(columns =&amp;gt; { 
             columns.Bound(p =&amp;gt; p.ID); 
             columns.Bound(p =&amp;gt; p.Name); 
             columns.Template(t =&amp;gt; { }).Title(&quot;Row No&quot;).ClientTemplate( &quot;#= renderNumber(data) #&quot; ); 
             columns.Template(t =&amp;gt; { }).Title(&quot;Record No&quot;).ClientTemplate( &quot;#= renderRecordNumber(data) #&quot; ); 
         }) 
.Pageable(x =&amp;gt; x.PageSizes(new int[] { 10, 20, 30, 50 }).Refresh(true)) 
.Sortable() 
.Filterable() 
.DataSource(dataSource =&amp;gt; dataSource.Ajax()
            .Read(read =&amp;gt; read.Action(&quot;Grid_Read&quot;, &quot;Home&quot;)) 
            ) 
 .Events(ev =&amp;gt; ev.DataBound(&quot;resetRowNumber&quot;)) 
) 
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Using Javascript&lt;/b&gt;&lt;br /&gt;


&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;div id&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Grid&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/div&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;script&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
    
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; rowNumber &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;;

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; resetRowNumber(e) {
        rowNumber &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;;
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; renderNumber(data) {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;++&lt;/span&gt;rowNumber;
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; renderRecordNumber(data) {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; page &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #007020;&quot;&gt;parseInt&lt;/span&gt;($(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#Grid&quot;&lt;/span&gt;).data(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;kendoGrid&quot;&lt;/span&gt;).dataSource.page()) &lt;span style=&quot;color: #333333;&quot;&gt;-&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;;
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; pagesize &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#Grid&quot;&lt;/span&gt;).data(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;kendoGrid&quot;&lt;/span&gt;).dataSource.pageSize();
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #007020;&quot;&gt;parseInt&lt;/span&gt;(rowNumber &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; (&lt;span style=&quot;color: #007020;&quot;&gt;parseInt&lt;/span&gt;(page) &lt;span style=&quot;color: #333333;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: #007020;&quot;&gt;parseInt&lt;/span&gt;(pagesize)));
    }

    $(&lt;span style=&quot;color: #007020;&quot;&gt;document&lt;/span&gt;).ready(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; () {

        $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#Grid&quot;&lt;/span&gt;).kendoGrid({
            dataSource&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;odata&quot;&lt;/span&gt;,
                transport&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                    read&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;http://demos.kendoui.com/service/Northwind.svc/Orders&quot;&lt;/span&gt;,
                    dataType&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;jsonp&quot;&lt;/span&gt;
                },
                pageSize&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;10&lt;/span&gt;
            },
            pageable&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                refresh&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
                pageSizes&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;
            },
            dataBound&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; resetRowNumber,
            columns&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; [
                                { field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;OrderID&quot;&lt;/span&gt;, title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Order ID&quot;&lt;/span&gt;, width&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;60&lt;/span&gt; },
                                { field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;CustomerID&quot;&lt;/span&gt;, title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Customer ID&quot;&lt;/span&gt;, width&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;90&lt;/span&gt; },
                                { title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Row No&quot;&lt;/span&gt;, width&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;90&lt;/span&gt;, template&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#= renderNumber(data) #&quot;&lt;/span&gt; },
                                { title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Record No&quot;&lt;/span&gt;, width&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;90&lt;/span&gt;, template&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#= renderRecordNumber(data) #&quot;&lt;/span&gt; }
                            ]
        });

    });
&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/script&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5Inob06yxKO8bOGimyPo-keUMnEsR88QnyDMBTotk44izLORUVes6u_RMEfw0Oh29EjVPsiIjlY4itgCaFKy9GwWjbs-dQRhB-rRRoRheR2C4y_7ShpL4qQyKpYTSaZANzUWUzNSlUmA/s1600/Untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5Inob06yxKO8bOGimyPo-keUMnEsR88QnyDMBTotk44izLORUVes6u_RMEfw0Oh29EjVPsiIjlY4itgCaFKy9GwWjbs-dQRhB-rRRoRheR2C4y_7ShpL4qQyKpYTSaZANzUWUzNSlUmA/s640/Untitled.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/6980448263797688927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/08/how-to-add-serial-number-column-in.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/6980448263797688927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/6980448263797688927'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/08/how-to-add-serial-number-column-in.html' title='How to add serial number column in kendo ui grid'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5Inob06yxKO8bOGimyPo-keUMnEsR88QnyDMBTotk44izLORUVes6u_RMEfw0Oh29EjVPsiIjlY4itgCaFKy9GwWjbs-dQRhB-rRRoRheR2C4y_7ShpL4qQyKpYTSaZANzUWUzNSlUmA/s72-c/Untitled.png" height="72" width="72"/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-3775825180472320947</id><published>2013-08-14T05:39:00.001-07:00</published><updated>2016-09-02T12:42:11.176-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Question"/><title type='text'>.net interview question</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Question 1:&lt;/b&gt;

&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #bb0066; font-weight: bold;&quot;&gt;Person&lt;/span&gt;
{
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; Name { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
}
&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #bb0066; font-weight: bold;&quot;&gt;Program&lt;/span&gt;
{
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;Main&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt;[] args)
    {
        &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;var&lt;/span&gt; person1 = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; Person { Name = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Test&quot;&lt;/span&gt; };
        Console.WriteLine(person1.Name);&lt;span style=&quot;color: #888888;&quot;&gt;//Output:Test&lt;/span&gt;

        Person person2 = person1;
        person2.Name = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Shahrooz&quot;&lt;/span&gt;;
        Console.WriteLine(person1.Name);&lt;span style=&quot;color: #888888;&quot;&gt;//Output:Shahrooz&lt;/span&gt;

        person2 = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;null&lt;/span&gt;;
        Console.WriteLine(person1.Name);&lt;span style=&quot;color: #888888;&quot;&gt;//Output:???&lt;/span&gt;
    }
}
&lt;/pre&gt;
&lt;/div&gt;
For answer this please check below link.
&lt;a href=&quot;http://stackoverflow.com/questions/18229463/reference-type-in-c-sharp&quot;&gt;Click here to see Answer&lt;/a&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Question 2:&lt;/b&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #bb0066; font-weight: bold;&quot;&gt;MyClass&lt;/span&gt;
{
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;Func&lt;/span&gt;(Object a)
    {
        Console.WriteLine(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Object&quot;&lt;/span&gt;);
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;Func&lt;/span&gt;(String a)
    {
        Console.WriteLine(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;String&quot;&lt;/span&gt;);
    }
}
&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #bb0066; font-weight: bold;&quot;&gt;Program&lt;/span&gt;
{
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;Main&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt;[] args)
    {
        MyClass mc = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; MyClass();
        mc.Func(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;null&lt;/span&gt;);
    }
}
&lt;/pre&gt;
&lt;/div&gt;
For answer this please check below link.
&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/8229105/method-overloading-and-null-value&quot;&gt;Click here to see Answer&lt;/a&gt;
&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/719546/c-passing-null-to-overloaded-method-which-method-is-called&quot;&gt;Click here to see Answer&lt;/a&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/3775825180472320947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/08/net-interview-question.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/3775825180472320947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/3775825180472320947'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/08/net-interview-question.html' title='.net interview question'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-3558166350959758294</id><published>2013-06-18T03:29:00.000-07:00</published><updated>2016-09-02T12:47:13.316-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Kendo ComboBox"/><category scheme="http://www.blogger.com/atom/ns#" term="Kendo UI"/><title type='text'>Multi Selection Combobox in Kendo UI</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;div&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;product&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;placeholder=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Select product...&quot;&lt;/span&gt; &lt;span style=&quot;color: #007700;&quot;&gt;/&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;br&lt;/span&gt; &lt;span style=&quot;color: #007700;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;hf_product&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;type=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;hidden&quot;&lt;/span&gt; &lt;span style=&quot;color: #007700;&quot;&gt;/&amp;gt;&lt;/span&gt;
    Selected values : &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;span&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;spanproduct&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&amp;lt;/span&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;script type&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
    $(&lt;span style=&quot;color: #007020;&quot;&gt;document&lt;/span&gt;).ready(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; () {

        $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#fabric&quot;&lt;/span&gt;).kendoComboBox({
            name&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;fabric&quot;&lt;/span&gt;,
            dataTextField&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;DataText&quot;&lt;/span&gt;,
            dataValueField&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;DataValue&quot;&lt;/span&gt;,
            dataSource&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; [
                            { DataText&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Select All&quot;&lt;/span&gt;, DataValue&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;0&quot;&lt;/span&gt; },
                            { DataText&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Cotton&quot;&lt;/span&gt;, DataValue&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;1&quot;&lt;/span&gt; },
                            { DataText&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Polyester&quot;&lt;/span&gt;, DataValue&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;2&quot;&lt;/span&gt; },
                            { DataText&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Cotton/Polyester&quot;&lt;/span&gt;, DataValue&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;3&quot;&lt;/span&gt; },
                            { DataText&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Rib Knit&quot;&lt;/span&gt;, DataValue&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;4&quot;&lt;/span&gt; }
                        ],
            filter&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;contains&quot;&lt;/span&gt;,
            suggest&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
            template&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&amp;lt;input type=&#39;checkbox&#39; id=&#39;chk_fabric_#=data.DataValue #&#39; onclick=&#39;UpdateIdinHF(this);&#39; value=&#39;#=data.DataValue #&#39; name=&#39;fabric&#39; /&amp;gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot; &quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;${ data.DataText }&quot;&lt;/span&gt;,
            close&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; onClose,
            change&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; onChange
        });

    });

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; IsItemChecked &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;;
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; UpdateIdinHF(obj) {

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; id &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(obj).attr(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;id&#39;&lt;/span&gt;);
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; name &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(obj).attr(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;name&#39;&lt;/span&gt;);
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; value &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #007020;&quot;&gt;parseInt&lt;/span&gt;($(obj).attr(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;value&#39;&lt;/span&gt;));
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; IsChecked &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(obj).is(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;:checked&#39;&lt;/span&gt;);
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; hf &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#hf_&quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; name).get(&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;);

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (value &lt;span style=&quot;color: #333333;&quot;&gt;!=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;) {
            UpdateIdInHiddenField(hf, value, IsChecked);

            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; totalchk &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;input[id*=&quot;chk_&#39;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; name &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;&quot;]&#39;&lt;/span&gt;).not(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#chk_&quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; name &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;_0&quot;&lt;/span&gt;).length;
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; checkedchk &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;input[id*=&quot;chk_&#39;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; name &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;&quot;]:checked&#39;&lt;/span&gt;).not(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#chk_&quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; name &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;_0&quot;&lt;/span&gt;).length;

            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (totalchk &lt;span style=&quot;color: #333333;&quot;&gt;==&lt;/span&gt; checkedchk) {
                $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#chk_&quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; name &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;_0&quot;&lt;/span&gt;).prop(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;checked&quot;&lt;/span&gt;, &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;);
            }
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;else&lt;/span&gt; {
                $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#chk_&quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; name &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;_0&quot;&lt;/span&gt;).prop(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;checked&quot;&lt;/span&gt;, &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;);
            }
        }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;else&lt;/span&gt; {
            $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;input[id*=&quot;chk_&#39;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; name &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;&quot;]&#39;&lt;/span&gt;).each(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; () {
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #007020;&quot;&gt;parseInt&lt;/span&gt;($(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;this&lt;/span&gt;).val()) &lt;span style=&quot;color: #333333;&quot;&gt;!=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;) {
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (IsChecked &lt;span style=&quot;color: #333333;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;) {
                        $(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;this&lt;/span&gt;).prop(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;checked&quot;&lt;/span&gt;, &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;);
                        UpdateIdInHiddenField(hf, $(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;this&lt;/span&gt;).val(), IsChecked);
                    }
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;else&lt;/span&gt; {
                        $(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;this&lt;/span&gt;).prop(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;checked&quot;&lt;/span&gt;, &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;);
                        UpdateIdInHiddenField(hf, $(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;this&lt;/span&gt;).val(), IsChecked);
                    }
                }
            });
        }
        IsItemChecked &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;;
    }
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; onClose(e) {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (IsItemChecked &lt;span style=&quot;color: #333333;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;) {
            IsItemChecked &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;;
            e.preventDefault();
        }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;else&lt;/span&gt; {
            ShowSelectedItem();
        }
    }
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; ShowSelectedItem() {
        $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#spanfabric&quot;&lt;/span&gt;).html($(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#hf_fabric&quot;&lt;/span&gt;).val());
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; UpdateIdInHiddenField(hf, id, IsAdd) {

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (hf.value &lt;span style=&quot;color: #333333;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&quot;&lt;/span&gt;) {
            hf.value &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;,&quot;&lt;/span&gt;;
        }

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (IsAdd &lt;span style=&quot;color: #333333;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;) {
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (hf.value.indexOf(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;,&quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; id &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;,&quot;&lt;/span&gt;) &lt;span style=&quot;color: #333333;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;) {
                hf.value &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; hf.value &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; id &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;,&quot;&lt;/span&gt;;
            }
        }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (IsAdd &lt;span style=&quot;color: #333333;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;) {
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (hf.value.indexOf(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;,&quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; id &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;,&quot;&lt;/span&gt;) &lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;) {
                hf.value &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; hf.value.replace(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;,&quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; id &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;,&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;,&quot;&lt;/span&gt;);
            }
        }
    }
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; onChange(e) {
        e.sender.value(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;null&lt;/span&gt;);
    }
&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/script&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;If in your page combobox is used more then once then please check below code snippet:&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;div&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;product&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;placeholder=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Select product...&quot;&lt;/span&gt; &lt;span style=&quot;color: #007700;&quot;&gt;/&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;br&lt;/span&gt; &lt;span style=&quot;color: #007700;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;hf_product&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;type=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;hidden&quot;&lt;/span&gt; &lt;span style=&quot;color: #007700;&quot;&gt;/&amp;gt;&lt;/span&gt;
    Selected values : &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;span&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;spanproduct&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&amp;lt;/span&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;script type&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
    $(&lt;span style=&quot;color: #007020;&quot;&gt;document&lt;/span&gt;).ready(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; () {

        $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#product&quot;&lt;/span&gt;).kendoComboBox({
            name&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;product&quot;&lt;/span&gt;,
            dataTextField&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;DataText&quot;&lt;/span&gt;,
            dataValueField&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;DataValue&quot;&lt;/span&gt;,
            dataSource&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; [
                            { DataText&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Select All&quot;&lt;/span&gt;, DataValue&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;0&quot;&lt;/span&gt; },
                            { DataText&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Cotton&quot;&lt;/span&gt;, DataValue&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;1&quot;&lt;/span&gt; },
                            { DataText&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Polyester&quot;&lt;/span&gt;, DataValue&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;2&quot;&lt;/span&gt; },
                            { DataText&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Cotton/Polyester&quot;&lt;/span&gt;, DataValue&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;3&quot;&lt;/span&gt; },
                            { DataText&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Rib Knit&quot;&lt;/span&gt;, DataValue&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;4&quot;&lt;/span&gt; }
                        ],
            filter&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;contains&quot;&lt;/span&gt;,
            suggest&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
            template&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&amp;lt;input type=&#39;checkbox&#39; id=&#39;chk_product_#=data.DataValue #&#39; onclick=&#39;UpdateIdinHF(this);&#39; value=&#39;#=data.DataValue #&#39; name=&#39;product&#39; /&amp;gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot; &quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;${ data.DataText }&quot;&lt;/span&gt;,
            close&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; onClose,
            change&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; onChange
        });

    });
&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/script&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;a href=&quot;http://jsfiddle.net/Ln2wX/&quot;&gt;LIVE DEMO&lt;/a&gt;

&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/3558166350959758294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/06/multi-selection-combobox-in-kendo-ui.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/3558166350959758294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/3558166350959758294'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/06/multi-selection-combobox-in-kendo-ui.html' title='Multi Selection Combobox in Kendo UI'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-8909537283018402166</id><published>2013-05-24T02:16:00.001-07:00</published><updated>2016-09-05T01:12:35.651-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Kendo Chart"/><category scheme="http://www.blogger.com/atom/ns#" term="Kendo UI"/><title type='text'>How to add multiple series dynamically in kendo UI chart</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt; &lt;span style=&quot;font-size: 20px; text-decoration: underline;&quot;&gt;Method1&lt;/span&gt; &lt;/b&gt;

&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;script type&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; dataSource;

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; GetSelectedDuration() {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;input:radio[name=Duration]:checked&quot;&lt;/span&gt;).val();
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; ReBindDataSource() {
        dataSource &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; kendo.data.DataSource({
            transport&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                read&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                    url&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;http://localhost/Home/GetDummydata&quot;&lt;/span&gt;,
                    cache&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;,
                    data&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { Duration&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; GetSelectedDuration() }
                }
            }
        });

        dataSource.fetch(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; () {
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (dataSource._data.length &lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;) {
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; keys &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #007020;&quot;&gt;Object&lt;/span&gt;.keys(dataSource._data[&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;]);
                ReDrawChart(keys);
            }
        });
    }


    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; radioClicks() {
        ReBindDataSource();
    }


    $(&lt;span style=&quot;color: #007020;&quot;&gt;document&lt;/span&gt;).ready(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; () {

        $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;input:radio[name=Duration]&quot;&lt;/span&gt;).bind(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;click&quot;&lt;/span&gt;, radioClicks);

        $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#mychart&quot;&lt;/span&gt;).kendoChart({
            title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                text&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Dynamic Column&quot;&lt;/span&gt;
            },
            legend&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                position&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;top&quot;&lt;/span&gt;
            },
            seriesDefaults&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;column&quot;&lt;/span&gt;
            },
            valueAxis&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                labels&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                    format&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;{0}%&quot;&lt;/span&gt;
                },
                line&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                    visible&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;
                }
            },
            categoryAxis&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                field&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Field1&quot;&lt;/span&gt;,
                majorGridLines&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                    visible&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;
                }
            },
            tooltip&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                visible&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;,
                format&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;{0}%&quot;&lt;/span&gt;,
                template&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#= series.field #: #= value #%&quot;&lt;/span&gt;
            }

        });


        ReBindDataSource();
    });

    &lt;span style=&quot;color: #888888;&quot;&gt;// Add series dynamically in chart&lt;/span&gt;
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; ReDrawChart(keys) {

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; InvalidColumnName &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #007020;&quot;&gt;Array&lt;/span&gt;(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;_events&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;uid&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;parent&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Field1&quot;&lt;/span&gt;);

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; chart &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#mychart&quot;&lt;/span&gt;).data(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;kendoChart&quot;&lt;/span&gt;);
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; chartOptions &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; chart.options;

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; SeriesCount &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;;
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; k &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;; k &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt; keys.length; k&lt;span style=&quot;color: #333333;&quot;&gt;++&lt;/span&gt;) {
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; mykey &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; keys[k];
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; ($.inArray(mykey, InvalidColumnName) &lt;span style=&quot;color: #333333;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;) {
                chartOptions.series.push(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #007020;&quot;&gt;Object&lt;/span&gt;());
                chartOptions.series[SeriesCount].field &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; mykey;
                SeriesCount&lt;span style=&quot;color: #333333;&quot;&gt;++&lt;/span&gt;;
            }
        }
        chart.setDataSource(dataSource);
        chart.redraw();
    }

&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/script&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;div&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;checked=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;checked&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;name=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Duration&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;type=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;radio&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;1&quot;&lt;/span&gt; &lt;span style=&quot;color: #007700;&quot;&gt;/&amp;gt;&lt;/span&gt;Annully
    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;name=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Duration&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;type=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;radio&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;2&quot;&lt;/span&gt; &lt;span style=&quot;color: #007700;&quot;&gt;/&amp;gt;&lt;/span&gt;Monthly
    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;name=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Duration&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;type=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;radio&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;3&quot;&lt;/span&gt; &lt;span style=&quot;color: #007700;&quot;&gt;/&amp;gt;&lt;/span&gt;Weekly
    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;name=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Duration&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;type=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;radio&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;4&quot;&lt;/span&gt; &lt;span style=&quot;color: #007700;&quot;&gt;/&amp;gt;&lt;/span&gt;Daily
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;div&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;mychart&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;
Below code snippet is only for reference to create Dummy data in MVC.
 
&lt;b&gt;Controller&lt;/b&gt;
 &lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #BB0066; font-weight: bold&quot;&gt;HomeController&lt;/span&gt; : Controller
{
&lt;span style=&quot;color: #0000CC&quot;&gt;    [AllowAnonymous]&lt;/span&gt;
&lt;span style=&quot;color: #0000CC&quot;&gt;    [HttpGet]&lt;/span&gt;
    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; JsonResult &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;GetDummydata&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; Duration)
    {
        List&amp;gt;TestModels&amp;gt; models = GetDummyData(Duration);

        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;Json&lt;/span&gt;(models, JsonRequestBehavior.AllowGet);
    }

    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; List&amp;lt;TestModels&amp;gt; GetDummyData(&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; Duration)
    {
        List&amp;lt;TestModels&amp;gt; models = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; List&amp;lt;TestModels&amp;gt;();

        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;switch&lt;/span&gt; (Duration)
        {
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;case&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt;)DurationType.Annully:

                TestModels testModel = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; TestModels();
                testModel.Field1 = &lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Annully&amp;quot;&lt;/span&gt;;
                testModel.Field2 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;20&lt;/span&gt;;
                testModel.Field3 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;50&lt;/span&gt;;
                testModel.Field4 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;70&lt;/span&gt;;
                models.Add(testModel);

                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;break&lt;/span&gt;;
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;case&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt;)DurationType.Monthly:

                TestModels testModel2 = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; TestModels();
                testModel2.Field1 = &lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Monthly&amp;quot;&lt;/span&gt;;
                testModel2.Field2 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;50&lt;/span&gt;;
                testModel2.Field3 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;50&lt;/span&gt;;
                testModel2.Field4 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;50&lt;/span&gt;;
                models.Add(testModel2);

                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;break&lt;/span&gt;;
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;case&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt;)DurationType.Weekly:
                TestModels testModel3 = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; TestModels();
                testModel3.Field1 = &lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Weekly&amp;quot;&lt;/span&gt;;
                testModel3.Field2 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;70&lt;/span&gt;;
                testModel3.Field3 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;10&lt;/span&gt;;
                testModel3.Field4 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;90&lt;/span&gt;;
                models.Add(testModel3);
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;break&lt;/span&gt;;
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;case&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt;)DurationType.Daily:
                TestModels testModel4 = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; TestModels();
                testModel4.Field1 = &lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Daily&amp;quot;&lt;/span&gt;;
                testModel4.Field2 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;11&lt;/span&gt;;
                testModel4.Field3 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;111&lt;/span&gt;;
                testModel4.Field4 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;1111&lt;/span&gt;;
                models.Add(testModel4);
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;break&lt;/span&gt;;

        }

        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; models;
    }
}
&lt;/pre&gt;&lt;/div&gt;


  



 
&lt;b&gt;Model&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #0000cc;&quot;&gt;[Serializable]&lt;/span&gt;
&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #bb0066; font-weight: bold;&quot;&gt;TestModels&lt;/span&gt;
{   
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; Field1 { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt; Field2 { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt; Field3 { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt; Field4 { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 20px; text-decoration: underline;&quot;&gt;Method2&lt;/span&gt;&lt;b&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;script type&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; dataSource;

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; radioClicks() {
        getDataSource();
    }


    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; GetSelectedDuration() {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;input:radio[name=Duration]:checked&quot;&lt;/span&gt;).val();
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; getDataSource() {
        dataSource &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; kendo.data.DataSource({
            transport&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                read&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                    url&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;http://localhost:2116/Home/GetDummydata2&quot;&lt;/span&gt;,
                    cache&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;,
                    data&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; { Duration&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; GetSelectedDuration() }
                }
            }
        });

        dataSource.fetch(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; () {
            GenerateChartFromData();
        });
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; GenerateChartFromData() {

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; chartSeries &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; [];

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; keys &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #007020;&quot;&gt;Object&lt;/span&gt;.keys(dataSource._data[&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;]);
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; InvalidColumnName &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #007020;&quot;&gt;Array&lt;/span&gt;(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;_events&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;uid&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;parent&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Price&quot;&lt;/span&gt;);

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; k &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;; k &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt; keys.length; k&lt;span style=&quot;color: #333333;&quot;&gt;++&lt;/span&gt;) {
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; mykey &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; keys[k];
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; ($.inArray(mykey, InvalidColumnName) &lt;span style=&quot;color: #333333;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;) {
                chartSeries.push({ xField&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Price&quot;&lt;/span&gt;, yField&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; mykey, name&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; mykey.replace(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;_&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&quot;&lt;/span&gt;), style&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;smooth&quot;&lt;/span&gt; });
            }
        }

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; titletxt &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Title text comes here - &quot;&lt;/span&gt;;

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;switch&lt;/span&gt; (&lt;span style=&quot;color: #007020;&quot;&gt;parseInt&lt;/span&gt;(GetSelectedDuration())) {
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt;
                titletxt &lt;span style=&quot;color: #333333;&quot;&gt;+=&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;on &quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; chartSeries[&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;].name;
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;break&lt;/span&gt;;
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt;
                titletxt &lt;span style=&quot;color: #333333;&quot;&gt;+=&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;with multiple series&quot;&lt;/span&gt;;
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;break&lt;/span&gt;;
        }



        $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#chart&quot;&lt;/span&gt;).kendoChart({
            title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                text&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; titletxt
            },
            legend&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                position&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;right&quot;&lt;/span&gt;
            },
            dataSource&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; dataSource,
            seriesDefaults&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                type&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;scatterLine&quot;&lt;/span&gt;
            },
            series&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; chartSeries,
            xAxis&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                min&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;19&lt;/span&gt;,
                max&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;46&lt;/span&gt;,
                labels&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                    format&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;{0}&quot;&lt;/span&gt;
                }
            },
            yAxis&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                &lt;span style=&quot;color: #888888;&quot;&gt;// min: 80,&lt;/span&gt;
                labels&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                    format&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;{0}&quot;&lt;/span&gt;
                },
                title&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; {
                    text&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;testTitle&quot;&lt;/span&gt;
                }
            }
        });

    }

    $(&lt;span style=&quot;color: #007020;&quot;&gt;document&lt;/span&gt;).ready(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; () {

        $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;input:radio[name=Duration]&quot;&lt;/span&gt;).bind(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;click&quot;&lt;/span&gt;, radioClicks);

        getDataSource();
    });

&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/script&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;div&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;checked=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;checked&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;name=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Duration&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;type=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;radio&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;1&quot;&lt;/span&gt; &lt;span style=&quot;color: #007700;&quot;&gt;/&amp;gt;&lt;/span&gt;Single series
    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;name=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Duration&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;type=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;radio&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;2&quot;&lt;/span&gt; &lt;span style=&quot;color: #007700;&quot;&gt;/&amp;gt;&lt;/span&gt;multiple series
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;div&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;chart&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
Below code snippet is only for reference to create Dummy data in MVC.
 
&lt;b&gt;Controller&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; JsonResult &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;GetDummydata2&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; Duration)
{


    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;switch&lt;/span&gt; (Duration)
    {
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;1&lt;/span&gt;:

            List&amp;lt;testmodels_1&amp;gt; lst = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; List&amp;lt;testmodels_1&amp;gt;();

            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; i = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;0&lt;/span&gt;; i &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;20&lt;/span&gt;; i++)
            {
                &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; dtValue = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;0&lt;/span&gt;;

                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (i &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;10&lt;/span&gt;)
                {
                    dtValue = -&lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;478&lt;/span&gt;;
                }
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;if&lt;/span&gt; (i &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;12&lt;/span&gt;)
                {
                    dtValue = -&lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;78&lt;/span&gt;;
                }
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;if&lt;/span&gt; (i &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;14&lt;/span&gt;)
                {
                    dtValue = -&lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;28&lt;/span&gt;;
                }
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;if&lt;/span&gt; (i &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;16&lt;/span&gt;)
                {
                    dtValue = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;22&lt;/span&gt;;
                }
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;if&lt;/span&gt; (i &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;18&lt;/span&gt;)
                {
                    dtValue = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;72&lt;/span&gt;;
                }
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;else&lt;/span&gt;
                {
                    dtValue = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;122&lt;/span&gt;;
                }

                lst.Add(&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; TestModels_1() { Price = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;20&lt;/span&gt; + i, _07072014 = dtValue });
                lst.Add(&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; TestModels_1() { Price = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;20.5&lt;/span&gt;M + i, _07072014 = dtValue });


            }

            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;Json&lt;/span&gt;(lst, JsonRequestBehavior.AllowGet);
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;break&lt;/span&gt;;
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;2&lt;/span&gt;:

            List&amp;lt;testmodels_2&amp;gt; lst1 = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; List&amp;lt;testmodels_2&amp;gt;();

            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; j = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;0&lt;/span&gt;; j &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;20&lt;/span&gt;; j++)
            {
                &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; dtValue1 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;0&lt;/span&gt;;

                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (j &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;10&lt;/span&gt;)
                {
                    dtValue1 = -&lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;478&lt;/span&gt;;
                }
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;if&lt;/span&gt; (j &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;12&lt;/span&gt;)
                {
                    dtValue1 = -&lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;78&lt;/span&gt;;
                }
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;if&lt;/span&gt; (j &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;14&lt;/span&gt;)
                {
                    dtValue1 = -&lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;28&lt;/span&gt;;
                }
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;if&lt;/span&gt; (j &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;16&lt;/span&gt;)
                {
                    dtValue1 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;22&lt;/span&gt;;
                }
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;if&lt;/span&gt; (j &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;18&lt;/span&gt;)
                {
                    dtValue1 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;72&lt;/span&gt;;
                }
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;else&lt;/span&gt;
                {
                    dtValue1 = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;122&lt;/span&gt;;
                }

                lst1.Add(&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; TestModels_2() { Price = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;20&lt;/span&gt; + j, _07072014 = dtValue1, _08072014 = dtValue1 - &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;20&lt;/span&gt;, _08082014 = dtValue1 - &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;30&lt;/span&gt; });
                lst1.Add(&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; TestModels_2() { Price = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;20.5&lt;/span&gt;M + j, _07072014 = dtValue1, _08072014 = dtValue1 - &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;70&lt;/span&gt;, _08082014 = dtValue1 - &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;80&lt;/span&gt; });


            }
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;Json&lt;/span&gt;(lst1, JsonRequestBehavior.AllowGet);
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;break&lt;/span&gt;;


    }


    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;Json&lt;/span&gt;(&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; { IsError = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;true&lt;/span&gt; }, JsonRequestBehavior.AllowGet);
}

&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; DateTime? GetDateTimeFromString(&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; strDateTime)
{
    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (!&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt;.IsNullOrEmpty(strDateTime.Trim()))
    {
        &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; pattern = &lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;dd/MM/yyy&amp;quot;&lt;/span&gt;;
        DateTime parsedDate;

        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (DateTime.TryParseExact(strDateTime.Trim(), pattern, &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;null&lt;/span&gt;, System.Globalization.DateTimeStyles.None, &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;out&lt;/span&gt; parsedDate))
        {
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; parsedDate;
        }
    }

    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;null&lt;/span&gt;;
}
&lt;/pre&gt;&lt;/div&gt;
 

&lt;b&gt;Model&lt;/b&gt;
 
&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #0000cc;&quot;&gt;[Serializable]&lt;/span&gt;
&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #bb0066; font-weight: bold;&quot;&gt;TestModels_1&lt;/span&gt;
{
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;decimal&lt;/span&gt; Price { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;decimal&lt;/span&gt; _07072014 { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
}

&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #bb0066; font-weight: bold;&quot;&gt;TestModels_2&lt;/span&gt;
    {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;decimal&lt;/span&gt; Price { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;decimal&lt;/span&gt; _07072014 { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;decimal&lt;/span&gt; _08072014 { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;decimal&lt;/span&gt; _08082014 { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;a href=&quot;https://onedrive.live.com/redir?resid=977B16A5E89A5236%21217&quot;&gt;DOWNLOAD DEMO&lt;/a&gt;
&lt;/b&gt;&lt;/b&gt;
&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/8909537283018402166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/05/how-to-add-multiple-lines-series.html#comment-form' title='16 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/8909537283018402166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/8909537283018402166'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/05/how-to-add-multiple-lines-series.html' title='How to add multiple series dynamically in kendo UI chart'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>16</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-6378814432532696250</id><published>2013-05-04T07:07:00.000-07:00</published><updated>2016-09-05T00:36:09.104-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="Interop"/><title type='text'>How to add a new worksheet after all of the others in Excel Interop</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;Worksheet xlNewSheet = null;

// Add new worksheet in workbook
xlNewSheet = (Excel.Worksheet)xlWorkbook.Worksheets.Add(missing, missing, missing, missing);

// Add new worksheet at the end of all sheets in workbook
xlNewSheet = (Excel.Worksheet)xlWorkbook.Sheets.Add(After: xlWorkbook.Sheets[xlWorkbook.Sheets.Count], Count: 1, Type: Excel.XlSheetType.xlWorksheet);

// Give worksheet name
xlNewSheet.Name = worksheetName;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/6378814432532696250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/05/how-to-add-new-worksheet-after-all-of.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/6378814432532696250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/6378814432532696250'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/05/how-to-add-new-worksheet-after-all-of.html' title='How to add a new worksheet after all of the others in Excel Interop'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-7346911030408402371</id><published>2013-01-31T00:16:00.000-08:00</published><updated>2016-09-05T00:38:40.934-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="File Download"/><category scheme="http://www.blogger.com/atom/ns#" term="Kendo Grid"/><category scheme="http://www.blogger.com/atom/ns#" term="Kendo UI"/><category scheme="http://www.blogger.com/atom/ns#" term="MVC"/><category scheme="http://www.blogger.com/atom/ns#" term="Telerik"/><title type='text'>Download Files From Grid in Kendo UI</title><content type='html'>&lt;b&gt;View&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;@(Html.Kendo().Grid&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;MvcApplication1.Models.TestModels&amp;gt;&lt;/span&gt;()
    .Name(&amp;quot;Grid&amp;quot;)
    .Columns(columns =&amp;gt;
    {
        columns.Bound(p =&amp;gt; p.ID).Groupable(false);
        columns.Bound(p =&amp;gt; p.Name);
        columns.Template(@).ClientTemplate(&amp;quot;Download file&amp;quot;).Title(&amp;quot;Download1&amp;quot;);
        columns.Template(@).ClientTemplate(&amp;quot;&amp;quot; + Html.ActionLink(&amp;quot;Download me&amp;quot;, &amp;quot;DocumentDownload2&amp;quot;, &amp;quot;Home&amp;quot;, new { id = &amp;quot;#=ID#&amp;quot; }, null) + &amp;quot;&amp;quot;).Title(&amp;quot;Download2&amp;quot;);

    })

     .DataSource(dataSource =&amp;gt; dataSource
          .Ajax()
          .Read(read =&amp;gt; read.Action(&amp;quot;Grid_Read&amp;quot;, &amp;quot;Home&amp;quot;))
     )
)
&lt;/pre&gt;&lt;/div&gt;


&lt;b&gt;Controller&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; ActionResult &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;Grid_Read&lt;/span&gt;([DataSourceRequest] DataSourceRequest request)
{
    List&amp;lt;TestModels&amp;gt; models = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; List&amp;lt;TestModels&amp;gt;();

    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; i = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;1&lt;/span&gt;; i &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;6&lt;/span&gt;; i++)
    {
        TestModels model = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; TestModels();
        model.ID = i;
        model.Name = &lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Name&amp;quot;&lt;/span&gt; + i;
        models.Add(model);
    }

    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;Json&lt;/span&gt;(models.ToDataSourceResult(request));
}


&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; ActionResult &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;DocumentDownload1&lt;/span&gt;()
{
    &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; contentType = &lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;application/xlsx&amp;quot;&lt;/span&gt;;
    &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; filePath = Server.MapPath(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;~/Files/YourFileName.xlsx&amp;quot;&lt;/span&gt;);
    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;File&lt;/span&gt;(filePath, contentType, &lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;YourFileName.xlsx&amp;quot;&lt;/span&gt;);
}

&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; ActionResult &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;DocumentDownload2&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; id)
{
    &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; contentType = &lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;application/xlsx&amp;quot;&lt;/span&gt;;
    &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; filePath = Server.MapPath(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;~/Files/YourFileName.xlsx&amp;quot;&lt;/span&gt;);
    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;File&lt;/span&gt;(filePath, contentType, &lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;YourFileName_&amp;quot;&lt;/span&gt; + id.ToString() + &lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;.xlsx&amp;quot;&lt;/span&gt;);
}
&lt;/pre&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/7346911030408402371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/01/download-files-from-grid-in-kendo-ui.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/7346911030408402371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/7346911030408402371'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/01/download-files-from-grid-in-kendo-ui.html' title='Download Files From Grid in Kendo UI'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-4081852572045201566</id><published>2013-01-21T03:06:00.003-08:00</published><updated>2016-09-05T00:42:53.852-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="RadComboBox"/><category scheme="http://www.blogger.com/atom/ns#" term="RadGrid"/><title type='text'>How to use special characters in enums in asp.net</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;aspx&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;telerik:radgrid&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;autogeneratecolumns=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;False&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadGrid1&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;onitemdatabound=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadGrid1_ItemDataBound&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;onneeddatasource=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadGrid1_NeedDataSource&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;mastertableview&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;datakeynames=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Rating&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;editmode=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;InPlace&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;columns&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;telerik:gridboundcolumn&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;datafield=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Shipper&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;headertext=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Shipper&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;uniquename=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Shipper&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/telerik:gridboundcolumn&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;telerik:gridboundcolumn&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;datafield=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ShipperName&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;headertext=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ShipperName&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;uniquename=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ShipperName&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/telerik:gridboundcolumn&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;telerik:gridtemplatecolumn&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;uniquename=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Rating&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
                        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;itemtemplate&amp;gt;&lt;/span&gt;
                            &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;asp:label&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Label1&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;%#&lt;/span&gt; Eval(&amp;amp;quot;Rating&amp;amp;quot;) &lt;span style=&quot;color: #007700;&quot;&gt;%&amp;gt;&lt;/span&gt;&quot;&amp;gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/asp:label&amp;gt;&lt;/span&gt;
                        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/itemtemplate&amp;gt;&lt;/span&gt;
                        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;edititemtemplate&amp;gt;&lt;/span&gt;
                            &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;telerik:radcombobox&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadComboBox1&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
                            &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/telerik:radcombobox&amp;gt;&lt;/span&gt;
                        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/edititemtemplate&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/telerik:gridtemplatecolumn&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;telerik:grideditcommandcolumn&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/telerik:grideditcommandcolumn&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/columns&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/mastertableview&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/telerik:radgrid&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;aspx.cs&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;Page_Load&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;object&lt;/span&gt; sender, EventArgs e)
    {
      Class1.BindDropDownListWithEnum(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;ref&lt;/span&gt; DropDownList1, &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;typeof&lt;/span&gt;(Enums.ShipperRating));
    }
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;RadGrid1_NeedDataSource&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;object&lt;/span&gt; sender, GridNeedDataSourceEventArgs e)
    {
        DataTable dt = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; DataTable();
        dt.Columns.Add(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Shipper&quot;&lt;/span&gt;, &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;typeof&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt;));
        dt.Columns.Add(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ShipperName&quot;&lt;/span&gt;, &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;typeof&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt;));
        dt.Columns.Add(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Rating&quot;&lt;/span&gt;, &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;typeof&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt;));
        dt.Rows.Add(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;1&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ShipperName1&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;1&quot;&lt;/span&gt;);
        dt.Rows.Add(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;2&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ShipperName2&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;2&quot;&lt;/span&gt;);
        dt.Rows.Add(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;3&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ShipperName3&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;2&quot;&lt;/span&gt;);

        RadGrid1.DataSource = dt;
    }
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;RadGrid1_ItemDataBound&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;object&lt;/span&gt; sender, GridItemEventArgs e)
    {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (e.Item.IsInEditMode &amp;amp;&amp;amp; e.Item &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;is&lt;/span&gt; GridEditableItem)
        {
            GridEditableItem item = e.Item &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;as&lt;/span&gt; GridEditableItem;
            RadComboBox RadComboBox1 = item.FindControl(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadComboBox1&quot;&lt;/span&gt;) &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;as&lt;/span&gt; RadComboBox;
            &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt; Rating = Convert.ToInt32(item.GetDataKeyValue(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Rating&quot;&lt;/span&gt;));
            Class1.BindRadComboBoxWithEnum(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;ref&lt;/span&gt; RadComboBox1, &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;typeof&lt;/span&gt;(Enums.ShipperRating));

            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (RadComboBox1.Items.FindItemByValue(Convert.ToString(Rating)) != &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;null&lt;/span&gt;)
            {
                RadComboBox1.Items.FindItemByValue(Convert.ToString(Rating)).Selected = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;;
            }
        }
    }
Class1.cs
&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #bb0066; font-weight: bold;&quot;&gt;DisplayValue&lt;/span&gt; : Attribute
{
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; _value;

   
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;DisplayValue&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;value&lt;/span&gt;)
    {
        _value = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;value&lt;/span&gt;;
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; Value
    {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt; { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; _value; }
    }
}

&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #bb0066; font-weight: bold;&quot;&gt;EnumListItem&lt;/span&gt;
{
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt; _value;
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt; Value
    {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt; { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;this&lt;/span&gt;._value; }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt; { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;this&lt;/span&gt;._value = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;value&lt;/span&gt;; }
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; _displayName;
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; DisplayName
    {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt; { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; _displayName; }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt; { _displayName = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;value&lt;/span&gt;; }
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; _name;
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; Name
    {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt; { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; _name.Replace(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;_&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot; &quot;&lt;/span&gt;); }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt; { _name = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;value&lt;/span&gt;.Replace(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;_&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot; &quot;&lt;/span&gt;); }
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;EnumListItem&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt; Value, &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; Name, &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; DisplayName)
    {
        _value = Value;
        _displayName = &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt;.IsNullOrEmpty(DisplayName) ? Name : DisplayName;
        _name = Name;
    }
}


&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #bb0066; font-weight: bold;&quot;&gt;Enums&lt;/span&gt;
{

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;enum&lt;/span&gt; ShipperRating
    {
&lt;span style=&quot;color: #0000cc;&quot;&gt;        [DisplayValue(&quot;1-3 (Poor)&quot;)]&lt;/span&gt;
        Poor = &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;1&lt;/span&gt;,
&lt;span style=&quot;color: #0000cc;&quot;&gt;        [DisplayValue(&quot;4-5 (Fair/Average)&quot;)]&lt;/span&gt;
        Average = &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;2&lt;/span&gt;,
&lt;span style=&quot;color: #0000cc;&quot;&gt;        [DisplayValue(&quot;6-7 (Good)&quot;)]&lt;/span&gt;
        Good = &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;3&lt;/span&gt;

    }
}

&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #bb0066; font-weight: bold;&quot;&gt;Class1&lt;/span&gt;
{
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;BindDropDownListWithEnum&lt;/span&gt;(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;ref&lt;/span&gt; DropDownList ddl, Type enumType)
    {
        List&amp;lt;enumlistitem&amp;gt; el = GetEnumValues(enumType, &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;);
        ddl.DataSource = el;
        ddl.DataTextField = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;DisplayName&quot;&lt;/span&gt;;
        ddl.DataValueField = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Value&quot;&lt;/span&gt;;
        ddl.DataBind();
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;BindRadComboBoxWithEnum&lt;/span&gt;(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;ref&lt;/span&gt; RadComboBox radcmb, Type enumType)
    {
        List&amp;lt;enumlistitem&amp;gt; el = GetEnumValues(enumType, &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;);
        radcmb.DataSource = el;
        radcmb.DataTextField = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;DisplayName&quot;&lt;/span&gt;;
        radcmb.DataValueField = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Value&quot;&lt;/span&gt;;
        radcmb.DataBind();
    }
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;static&lt;/span&gt; List&amp;lt;enumlistitem&amp;gt; GetEnumValues(Type type, &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;bool&lt;/span&gt; isSelectRequired)
    {
        List&amp;lt;enumlistitem&amp;gt; el = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; List&amp;lt;enumlistitem&amp;gt;();
        EnumListItem ei;
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;foreach&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt; item &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;in&lt;/span&gt; Enum.GetValues(type))
        {
            ei = GetEnumItem(type, item);
            el.Add(ei);
        }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (isSelectRequired)
        {
            el.Insert(&lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;0&lt;/span&gt;, &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; EnumListItem(&lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;0&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;--Select--&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;--Select--&quot;&lt;/span&gt;));
        }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; el;
    }
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;static&lt;/span&gt; EnumListItem &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;GetEnumItem&lt;/span&gt;(Type type, &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt; item)
    {
        &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; name = Enum.GetName(type, item);
        &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; displayName = &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt;.Empty;
        &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;object&lt;/span&gt;[] displayAttributes = type.GetField(Enum.GetName(type, item)).GetCustomAttributes(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;typeof&lt;/span&gt;(DisplayValue), &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;);
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (displayAttributes.Length &amp;gt; &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;0&lt;/span&gt;)
            displayName = ((DisplayValue)displayAttributes[&lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;0&lt;/span&gt;]).Value;
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;else&lt;/span&gt;
            displayName = name.Replace(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;_&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot; &quot;&lt;/span&gt;);

        
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;EnumListItem&lt;/span&gt;(item, name, displayName);
    }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/4081852572045201566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/01/how-to-use-special-characters-in-enums.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/4081852572045201566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/4081852572045201566'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/01/how-to-use-special-characters-in-enums.html' title='How to use special characters in enums in asp.net'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-3135049610771188319</id><published>2013-01-16T22:40:00.000-08:00</published><updated>2016-09-17T11:23:52.694-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Kendo Grid"/><category scheme="http://www.blogger.com/atom/ns#" term="Kendo UI"/><title type='text'>Set column editable mode based on another column value changes in kendo UI</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;View&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;@(Html.Kendo().Grid&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;MvcApplication1.Models.TestModels&amp;gt;&lt;/span&gt;()
        .Name(&quot;Grid&quot;)
        .Columns(columns =&amp;gt;
        {
            columns.Bound(p =&amp;gt; p.ID);
            columns.Bound(p =&amp;gt; p.Name);
            columns.Bound(p =&amp;gt; p.IsActive);
            columns.ForeignKey(p =&amp;gt; p.FID, (System.Collections.IEnumerable)ViewData[&quot;TestList&quot;], &quot;Value&quot;, &quot;Text&quot;);

        })
        .ToolBar(toolBar =&amp;gt; toolBar.Save())
        .Editable(editable =&amp;gt; editable.Mode(GridEditMode.InCell))
        .Pageable()
        .Sortable()
        .Scrollable()
        .Filterable()
        .Events(e =&amp;gt; e.Edit(&quot;onGridEdit&quot;))
        .DataSource(dataSource =&amp;gt; dataSource
            .Ajax()
            .Batch(true)
            .ServerOperation(false)
            .Events(events =&amp;gt; events.Error(&quot;errorHandler&quot;))
            .Model(model =&amp;gt;
            {
                model.Id(p =&amp;gt; p.ID);
                model.Field(p =&amp;gt; p.ID).Editable(false);
            })
        .Read(read =&amp;gt; read.Action(&quot;ForeignKeyColumn_Read&quot;, &quot;Home&quot;))
        .Update(update =&amp;gt; update.Action(&quot;ForeignKeyColumn_Update&quot;, &quot;Home&quot;))
        )
    )
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;Controller&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #0e84b5; font-weight: bold;&quot;&gt;MvcApplication1.Controllers&lt;/span&gt;
{
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #bb0066; font-weight: bold;&quot;&gt;HomeController&lt;/span&gt; : Controller
    {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; ActionResult &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;Index&lt;/span&gt;()
        {

            List&amp;lt;SelectListItem&amp;gt; items = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; List&amp;lt;SelectListItem&amp;gt;();

            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt; i = &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;1&lt;/span&gt;; i &amp;lt; &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;6&lt;/span&gt;; i++)
            {
                SelectListItem item = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; SelectListItem();
                item.Text = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;text&quot;&lt;/span&gt; + i.ToString();
                item.Value = i.ToString();
                items.Add(item);
            }

            ViewData[&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;TestList&quot;&lt;/span&gt;] = items;

            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;View&lt;/span&gt;();
        }

        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; ActionResult &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;ForeignKeyColumn_Read&lt;/span&gt;([DataSourceRequest] DataSourceRequest request)
        {
            List&amp;lt;TestModels&amp;gt; models = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; List&amp;lt;TestModels&amp;gt;();

            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt; i = &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;1&lt;/span&gt;; i &amp;lt; &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;6&lt;/span&gt;; i++)
            {
                TestModels model = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; TestModels();
                model.ID = i;
                model.Name = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Name&quot;&lt;/span&gt; + i;
                
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (i % &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;2&lt;/span&gt; == &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;0&lt;/span&gt;)
                {
                    model.IsActive = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;;
                    model.FID = i;
                }

                models.Add(model);
            }

            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;Json&lt;/span&gt;(models.ToDataSourceResult(request));
        }

&lt;span style=&quot;color: #0000cc;&quot;&gt;        [AcceptVerbs(HttpVerbs.Post)]&lt;/span&gt;
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; ActionResult &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;ForeignKeyColumn_Update&lt;/span&gt;([DataSourceRequest] DataSourceRequest request, [Bind(Prefix = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;models&quot;&lt;/span&gt;)]IEnumerable&amp;lt;TestModels&amp;gt; tests)
        {
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (tests != &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;null&lt;/span&gt; &amp;amp;&amp;amp; ModelState.IsValid)
            {
                &lt;span style=&quot;color: #888888;&quot;&gt;// Save/Update logic comes here&lt;/span&gt;
            }

            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;Json&lt;/span&gt;(ModelState.ToDataSourceResult());
        }
    }
} 
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;Model&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #0e84b5; font-weight: bold;&quot;&gt;MvcApplication1.Models&lt;/span&gt;
{
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #bb0066; font-weight: bold;&quot;&gt;TestModels&lt;/span&gt;
    {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt; ID { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt; Name { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;bool&lt;/span&gt; IsActive { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt; FID { &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;set&lt;/span&gt;; }
    }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;JS&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;script type&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; errorHandler(e) {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (e.errors) {
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; message &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Errors:\n&quot;&lt;/span&gt;;
            $.each(e.errors, &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; (key, value) {
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;errors&#39;&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;in&lt;/span&gt; value) {
                    $.each(value.errors, &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; () {
                        message &lt;span style=&quot;color: #333333;&quot;&gt;+=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;this&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;\n&quot;&lt;/span&gt;;
                    });
                }
            });
            alert(message);
        }
    }

    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; onGridEdit(arg) {
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (arg.container.find(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;input[name=IsActive]&quot;&lt;/span&gt;).length &lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;) {
            arg.container.find(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;input[name=IsActive]&quot;&lt;/span&gt;).click(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; () {
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; ($(&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;this&lt;/span&gt;).is(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;:checked&quot;&lt;/span&gt;) &lt;span style=&quot;color: #333333;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;) {
                    arg.container.next().html(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&quot;&lt;/span&gt;);
                    arg.model.FID &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;0&quot;&lt;/span&gt;;
                }
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;else&lt;/span&gt; {
                    arg.model.IsActive &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;true&lt;/span&gt;;
                    $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#Grid&quot;&lt;/span&gt;).data(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;kendoGrid&quot;&lt;/span&gt;).closeCell(arg.container);
                    $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#Grid&quot;&lt;/span&gt;).data(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;kendoGrid&quot;&lt;/span&gt;).editCell(arg.container.next());
                }
            });
        }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (arg.container.find(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;input[name=FID]&quot;&lt;/span&gt;).length &lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;) {
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (arg.model.IsActive &lt;span style=&quot;color: #333333;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;) {
                $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#Grid&quot;&lt;/span&gt;).data(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;kendoGrid&quot;&lt;/span&gt;).closeCell(arg.container)
            }
        }
    }
&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/script&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;a href=&quot;https://skydrive.live.com/redir?resid=977B16A5E89A5236!107&amp;amp;authkey=!AIA_AIL-NfmBPBg&quot;&gt;DOWNLOAD DEMO&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/3135049610771188319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/01/set-column-editable-mode-based-on_16.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/3135049610771188319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/3135049610771188319'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2013/01/set-column-editable-mode-based-on_16.html' title='Set column editable mode based on another column value changes in kendo UI'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-5069310446422595018</id><published>2012-12-24T03:31:00.001-08:00</published><updated>2016-09-05T00:49:06.104-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="RadListBox"/><category scheme="http://www.blogger.com/atom/ns#" term="Telerik"/><title type='text'>highlight the searched text in RadListBox and move checked items in to top of the list</title><content type='html'>

&lt;b&gt;JS&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;&lt;span style=&quot;color: #333333&quot;&gt;&amp;lt;&lt;/span&gt;telerik&lt;span style=&quot;color: #333333&quot;&gt;:&lt;/span&gt;RadCodeBlock ID&lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;RadCodeBlock1&amp;quot;&lt;/span&gt; runat&lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #333333&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #333333&quot;&gt;&amp;lt;&lt;/span&gt;script type&lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt; language&lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;javascript&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #333333&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;function&lt;/span&gt; onChangeFilterByName(g, text) {
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; f &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; $find(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;&amp;lt;%= RadListBox1.ClientID %&amp;gt;&amp;quot;&lt;/span&gt;);
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (f._enableMarkMatches &lt;span style=&quot;color: #333333&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; ($telerik.isIE &lt;span style=&quot;color: #333333&quot;&gt;||&lt;/span&gt; $telerik.isChrome)) {
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; h &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; g.keyCode &lt;span style=&quot;color: #333333&quot;&gt;==&lt;/span&gt; Sys.UI.Key.backspace &lt;span style=&quot;color: #333333&quot;&gt;||&lt;/span&gt; g.keyCode &lt;span style=&quot;color: #333333&quot;&gt;==&lt;/span&gt; Sys.UI.Key.esc &lt;span style=&quot;color: #333333&quot;&gt;||&lt;/span&gt; g.keyCode &lt;span style=&quot;color: #333333&quot;&gt;==&lt;/span&gt; Sys.UI.Key.space &lt;span style=&quot;color: #333333&quot;&gt;||&lt;/span&gt; g.keyCode &lt;span style=&quot;color: #333333&quot;&gt;==&lt;/span&gt; Sys.UI.Key.down &lt;span style=&quot;color: #333333&quot;&gt;||&lt;/span&gt; g.keyCode &lt;span style=&quot;color: #333333&quot;&gt;==&lt;/span&gt; Sys.UI.Key.up;
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (h) {
                    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; j &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; f._onKeyPress(g);
                    g.preventDefault();
                    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (j) { &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt;; }
                }
            }
            f._onKeyDown(g);
            f._onKeyPress(g);
        }
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;function&lt;/span&gt; onChangeFilterByName1(txtFilterByName) {
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; check &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;0&lt;/span&gt;;
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; listbox &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; $find(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;&amp;lt;%= RadListBox1.ClientID %&amp;gt;&amp;quot;&lt;/span&gt;);
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; items &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; listbox.get_items();
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; itemContainsSearchText &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #007020&quot;&gt;Array&lt;/span&gt;();
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; index &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;0&lt;/span&gt;;
            {
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; i &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;0&lt;/span&gt;; i &lt;span style=&quot;color: #333333&quot;&gt;&amp;lt;=&lt;/span&gt; items.get_count() &lt;span style=&quot;color: #333333&quot;&gt;-&lt;/span&gt; &lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;1&lt;/span&gt;; i&lt;span style=&quot;color: #333333&quot;&gt;++&lt;/span&gt;) {
                    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; item &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; items.getItem(i);
                    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #333333&quot;&gt;!&lt;/span&gt;item.get_checked() &lt;span style=&quot;color: #333333&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; item.get_text().toLowerCase().startsWith(txtFilterByName.value.toLowerCase())) {
                        item.scrollIntoView();
                        item.ensureVisible();
                        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; text &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; item.get_text();
                        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; replace &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #007020&quot;&gt;String&lt;/span&gt;.format(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;&amp;lt;span class=\&amp;quot;rlbHighlight\&amp;quot;&amp;gt;{0}&amp;lt;/span&amp;gt;&amp;quot;&lt;/span&gt;, text);
                        item.set_text(replace);
                        &lt;span style=&quot;color: #888888&quot;&gt;//break;&lt;/span&gt;
                    }
                }
            }
        }

        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;function&lt;/span&gt; OnClientItemCheckedHandler(sender, eventArgs) {
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; item &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; eventArgs.get_item();
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; checkedItem &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; sender.get_checkedItems();
            checkedItem.sort(sortAscByText);
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; allItems &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; sender.get_items().toArray();
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; i &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;0&lt;/span&gt;; i &lt;span style=&quot;color: #333333&quot;&gt;&amp;lt;&lt;/span&gt; checkedItem.length; i&lt;span style=&quot;color: #333333&quot;&gt;++&lt;/span&gt;) {
                sender.reorderItem(checkedItem[i], i);
            }

            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #333333&quot;&gt;!&lt;/span&gt;item.get_checked()) {
                &lt;span style=&quot;color: #888888&quot;&gt;//removed checked items&lt;/span&gt;
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; i &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;0&lt;/span&gt;; i &lt;span style=&quot;color: #333333&quot;&gt;&amp;lt;&lt;/span&gt; checkedItem.length; i&lt;span style=&quot;color: #333333&quot;&gt;++&lt;/span&gt;) {
                    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; index &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; allItems.indexOf(checkedItem[i]);
                    allItems.splice(index, &lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;1&lt;/span&gt;);
                }
                &lt;span style=&quot;color: #888888&quot;&gt;//reorder uncheck items.&lt;/span&gt;
                allItems.sort(sortAscByText);
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; index &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; checkedItem.length;
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; i &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;0&lt;/span&gt;; i &lt;span style=&quot;color: #333333&quot;&gt;&amp;lt;&lt;/span&gt; allItems.length; i&lt;span style=&quot;color: #333333&quot;&gt;++&lt;/span&gt;) {
                    sender.reorderItem(allItems[i], index);
                    index &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; index &lt;span style=&quot;color: #333333&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;1&lt;/span&gt;;
                }
            }
        }

        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;function&lt;/span&gt; sortAscByText(a, b) {
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; a.get_text() &lt;span style=&quot;color: #333333&quot;&gt;==&lt;/span&gt; b.get_text() &lt;span style=&quot;color: #333333&quot;&gt;?&lt;/span&gt; &lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;0&lt;/span&gt; &lt;span style=&quot;color: #333333&quot;&gt;:&lt;/span&gt; a.get_text() &lt;span style=&quot;color: #333333&quot;&gt;&amp;lt;&lt;/span&gt; b.get_text() &lt;span style=&quot;color: #333333&quot;&gt;?&lt;/span&gt; &lt;span style=&quot;color: #333333&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;1&lt;/span&gt; &lt;span style=&quot;color: #333333&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;1&lt;/span&gt;
        }
    &lt;span style=&quot;color: #333333&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #FF0000; background-color: #FFAAAA&quot;&gt;/script&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #333333&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #FF0000; background-color: #FFAAAA&quot;&gt;/telerik:RadCodeBlock&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;b&gt;ASPX&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;div&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;asp:TextBox&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;ID=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;txtSort&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Width=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;195px&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;OnKeyUp=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;onChangeFilterByName(event,this)&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&amp;lt;br&lt;/span&gt; &lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;br&lt;/span&gt; &lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBox&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;ID=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;RadListBox1&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;CheckBoxes=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Width=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;200px&amp;quot;&lt;/span&gt;
            &lt;span style=&quot;color: #0000CC&quot;&gt;Height=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;200px&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;SelectionMode=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Multiple&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;TabIndex=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;1&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;EnableMarkMatches=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;
            &lt;span style=&quot;color: #0000CC&quot;&gt;OnClientItemChecked=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;OnClientItemCheckedHandler&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;Items&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Argentina&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Australia&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;2&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Brazil&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;3&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Canada&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;4&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Chile&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;5&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;China&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;6&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Egypt&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;7&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;England&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;8&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;France&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;9&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Germany&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;10&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;India&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;11&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Indonesia&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;12&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Kenya&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;13&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Mexico&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;14&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;New Zealand&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;15&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:RadListBoxItem&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;South Africa&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;Value=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;16&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/telerik:RadListBoxItem&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/Items&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/telerik:RadListBox&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


Output of this code:
&lt;br/&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-DY7ABpsyOTUBLU_RsptPMZBFVOKXD9W6wRIhoGcg7kg4G8jzA0TgeDE3dv4O95bAelYQFy8yLyd6PPEG1BifOgTZyApdE0QmFOwb6Pe_s9WwIWOq3StBeN9U4m4UkvoHrT4sahr1l9g/s1600/picasion.com_f534cb6d5367a02104f48a7635c4251e.gif&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;314&quot; width=&quot;263&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-DY7ABpsyOTUBLU_RsptPMZBFVOKXD9W6wRIhoGcg7kg4G8jzA0TgeDE3dv4O95bAelYQFy8yLyd6PPEG1BifOgTZyApdE0QmFOwb6Pe_s9WwIWOq3StBeN9U4m4UkvoHrT4sahr1l9g/s320/picasion.com_f534cb6d5367a02104f48a7635c4251e.gif&quot; /&gt;&lt;/a&gt;



&lt;br/&gt;&lt;br/&gt;
This code is contributed form Abidali Suthar [one of the developer in my team].

</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/5069310446422595018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/12/highlight-searched-text-in-radlistbox.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/5069310446422595018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/5069310446422595018'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/12/highlight-searched-text-in-radlistbox.html' title='highlight the searched text in RadListBox and move checked items in to top of the list'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-DY7ABpsyOTUBLU_RsptPMZBFVOKXD9W6wRIhoGcg7kg4G8jzA0TgeDE3dv4O95bAelYQFy8yLyd6PPEG1BifOgTZyApdE0QmFOwb6Pe_s9WwIWOq3StBeN9U4m4UkvoHrT4sahr1l9g/s72-c/picasion.com_f534cb6d5367a02104f48a7635c4251e.gif" height="72" width="72"/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-4195108101405946976</id><published>2012-12-05T00:17:00.000-08:00</published><updated>2014-02-20T09:29:10.891-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MCTS 70-480"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Exam"/><category scheme="http://www.blogger.com/atom/ns#" term="News"/><title type='text'>Apply MCTS (70-480) for Programming in HTML5 with JavaScript and CSS3 Exam At free of cost</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I would like to announce for those entire eager professionals who want to appear / earn MCTS exam certification. By using promo code “&lt;b&gt;HTMLJMP&lt;/b&gt;” or &quot;&lt;b&gt;HTMLMPN&lt;/b&gt;&quot; in promatric  center, you will be appear exam at free of cost (deduct $80 exam fee).&lt;br /&gt;
&lt;br /&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:OfficeDocumentSettings&gt;
  &lt;o:AllowPNG/&gt;
 &lt;/o:OfficeDocumentSettings&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;br /&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves/&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:DoNotPromoteQF/&gt;
  &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;
  &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;
  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:SplitPgBreakAndParaMark/&gt;
   &lt;w:EnableOpenTypeKerning/&gt;
   &lt;w:DontFlipMirrorIndents/&gt;
   &lt;w:OverrideTableStyleHps/&gt;
  &lt;/w:Compatibility&gt;
  &lt;m:mathPr&gt;
   &lt;m:mathFont m:val=&quot;Cambria Math&quot;/&gt;
   &lt;m:brkBin m:val=&quot;before&quot;/&gt;
   &lt;m:brkBinSub m:val=&quot;&amp;#45;-&quot;/&gt;
   &lt;m:smallFrac m:val=&quot;off&quot;/&gt;
   &lt;m:dispDef/&gt;
   &lt;m:lMargin m:val=&quot;0&quot;/&gt;
   &lt;m:rMargin m:val=&quot;0&quot;/&gt;
   &lt;m:defJc m:val=&quot;centerGroup&quot;/&gt;
   &lt;m:wrapIndent m:val=&quot;1440&quot;/&gt;
   &lt;m:intLim m:val=&quot;subSup&quot;/&gt;
   &lt;m:naryLim m:val=&quot;undOvr&quot;/&gt;
  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState=&quot;false&quot; DefUnhideWhenUsed=&quot;true&quot;
  DefSemiHidden=&quot;true&quot; DefQFormat=&quot;false&quot; DefPriority=&quot;99&quot;
  LatentStyleCount=&quot;267&quot;&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;0&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Normal&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;heading 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 7&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 8&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 9&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 7&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 8&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 9&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;35&quot; QFormat=&quot;true&quot; Name=&quot;caption&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;10&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Title&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; Name=&quot;Default Paragraph Font&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;11&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtitle&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;22&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Strong&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;20&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;59&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Table Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Placeholder Text&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;No Spacing&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Revision&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;34&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;List Paragraph&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;29&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Quote&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;30&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Quote&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;19&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;21&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;31&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Reference&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;32&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Reference&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;33&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Book Title&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;37&quot; Name=&quot;Bibliography&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; QFormat=&quot;true&quot; Name=&quot;TOC Heading&quot;/&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:&quot;Table Normal&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-priority:99;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0in 5.4pt 0in 5.4pt;
 mso-para-margin:0in;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:10.0pt;
 font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.6pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;(Please
get reference from this link: &lt;a href=&quot;http://www.microsoftvirtualacademy.com/tracks/developing-html5-apps-jump-start&quot;&gt;http://www.microsoftvirtualacademy.com/tracks/developing-html5-apps-jump-start&lt;/a&gt;)&lt;/span&gt;&lt;/div&gt;
&amp;nbsp;

&lt;br /&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:OfficeDocumentSettings&gt;
  &lt;o:AllowPNG/&gt;
 &lt;/o:OfficeDocumentSettings&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;br /&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves/&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:DoNotPromoteQF/&gt;
  &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;
  &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;
  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:SplitPgBreakAndParaMark/&gt;
   &lt;w:EnableOpenTypeKerning/&gt;
   &lt;w:DontFlipMirrorIndents/&gt;
   &lt;w:OverrideTableStyleHps/&gt;
  &lt;/w:Compatibility&gt;
  &lt;m:mathPr&gt;
   &lt;m:mathFont m:val=&quot;Cambria Math&quot;/&gt;
   &lt;m:brkBin m:val=&quot;before&quot;/&gt;
   &lt;m:brkBinSub m:val=&quot;&amp;#45;-&quot;/&gt;
   &lt;m:smallFrac m:val=&quot;off&quot;/&gt;
   &lt;m:dispDef/&gt;
   &lt;m:lMargin m:val=&quot;0&quot;/&gt;
   &lt;m:rMargin m:val=&quot;0&quot;/&gt;
   &lt;m:defJc m:val=&quot;centerGroup&quot;/&gt;
   &lt;m:wrapIndent m:val=&quot;1440&quot;/&gt;
   &lt;m:intLim m:val=&quot;subSup&quot;/&gt;
   &lt;m:naryLim m:val=&quot;undOvr&quot;/&gt;
  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState=&quot;false&quot; DefUnhideWhenUsed=&quot;true&quot;
  DefSemiHidden=&quot;true&quot; DefQFormat=&quot;false&quot; DefPriority=&quot;99&quot;
  LatentStyleCount=&quot;267&quot;&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;0&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Normal&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;heading 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 7&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 8&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 9&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 7&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 8&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 9&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;35&quot; QFormat=&quot;true&quot; Name=&quot;caption&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;10&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Title&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; Name=&quot;Default Paragraph Font&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;11&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtitle&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;22&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Strong&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;20&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;59&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Table Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Placeholder Text&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;No Spacing&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Revision&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;34&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;List Paragraph&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;29&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Quote&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;30&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Quote&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;19&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;21&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;31&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Reference&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;32&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Reference&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;33&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Book Title&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;37&quot; Name=&quot;Bibliography&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; QFormat=&quot;true&quot; Name=&quot;TOC Heading&quot;/&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:&quot;Table Normal&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-priority:99;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0in 5.4pt 0in 5.4pt;
 mso-para-margin:0in;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:10.0pt;
 font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.6pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Moreover
get reference of exam detail Please go through link,&lt;a href=&quot;http://www.microsoft.com/learning/en/us/exam.aspx?id=70-480&quot;&gt;http://www.microsoft.com/learning/en/us/exam.aspx?id=70-480&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
For schedule an exam please go through this link : &lt;a href=&quot;http://weblogs.asp.net/sreejukg/archive/2013/01/03/get-certified-for-free-microsoft-offers-free-certification-exam-70-480.aspx&quot; target=&quot;_blank&quot;&gt;http://weblogs.asp.net/sreejukg/archive/2013/01/03/get-certified-for-free-microsoft-offers-free-certification-exam-70-480.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Let me know if you need any further information.&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:OfficeDocumentSettings&gt;
  &lt;o:AllowPNG/&gt;
 &lt;/o:OfficeDocumentSettings&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;br /&gt;
&amp;nbsp;

&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/4195108101405946976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/12/apply-mcts-70-480-for-programming-in.html#comment-form' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/4195108101405946976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/4195108101405946976'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/12/apply-mcts-70-480-for-programming-in.html' title='Apply MCTS (70-480) for Programming in HTML5 with JavaScript and CSS3 Exam At free of cost'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-5645618932774111707</id><published>2012-11-23T06:37:00.000-08:00</published><updated>2016-09-05T00:51:09.827-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>DENSE_RANK(), RANK() and ROW_NUMBER()</title><content type='html'>
&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;CREATE&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;TABLE&lt;/span&gt; &lt;span style=&quot;color: #333333&quot;&gt;#&lt;/span&gt;Department(DeptId &lt;span style=&quot;color: #007020&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;NOT&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;NULL&lt;/span&gt;,DeptName nvarchar(&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;max&lt;/span&gt;))
&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;CREATE&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;TABLE&lt;/span&gt; &lt;span style=&quot;color: #333333&quot;&gt;#&lt;/span&gt;Emp(EmpId &lt;span style=&quot;color: #007020&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;NOT&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;NULL&lt;/span&gt;,DeptId &lt;span style=&quot;color: #007020&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;NOT&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;NULL&lt;/span&gt;,EmpName nvarchar(&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;max&lt;/span&gt;),Salary &lt;span style=&quot;color: #007020&quot;&gt;int&lt;/span&gt;)

&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;INSERT&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;INTO&lt;/span&gt; &lt;span style=&quot;color: #333333&quot;&gt;#&lt;/span&gt;Department (DeptId,DeptName) &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;values&lt;/span&gt;(&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;1&lt;/span&gt;,&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;#39;D1&amp;#39;&lt;/span&gt;)
&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;INSERT&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;INTO&lt;/span&gt; &lt;span style=&quot;color: #333333&quot;&gt;#&lt;/span&gt;Department (DeptId,DeptName) &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;values&lt;/span&gt;(&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;2&lt;/span&gt;,&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;#39;D2&amp;#39;&lt;/span&gt;)

&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;INSERT&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;INTO&lt;/span&gt; &lt;span style=&quot;color: #333333&quot;&gt;#&lt;/span&gt;Emp (EmpID,DeptId,EmpName,Salary) &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;values&lt;/span&gt;(&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;1&lt;/span&gt;,&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;1&lt;/span&gt;,&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;#39;A1&amp;#39;&lt;/span&gt;,&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;1000&lt;/span&gt;)
&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;INSERT&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;INTO&lt;/span&gt; &lt;span style=&quot;color: #333333&quot;&gt;#&lt;/span&gt;Emp (EmpID,DeptId,EmpName,Salary) &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;values&lt;/span&gt;(&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;2&lt;/span&gt;,&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;1&lt;/span&gt;,&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;#39;A2&amp;#39;&lt;/span&gt;,&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;2000&lt;/span&gt;)
&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;INSERT&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;INTO&lt;/span&gt; &lt;span style=&quot;color: #333333&quot;&gt;#&lt;/span&gt;Emp (EmpID,DeptId,EmpName,Salary) &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;values&lt;/span&gt;(&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;3&lt;/span&gt;,&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;1&lt;/span&gt;,&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;#39;A3&amp;#39;&lt;/span&gt;,&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;1000&lt;/span&gt;)
&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;INSERT&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;INTO&lt;/span&gt; &lt;span style=&quot;color: #333333&quot;&gt;#&lt;/span&gt;Emp (EmpID,DeptId,EmpName,Salary) &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;values&lt;/span&gt;(&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;4&lt;/span&gt;,&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;2&lt;/span&gt;,&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;#39;A4&amp;#39;&lt;/span&gt;,&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;1000&lt;/span&gt;)
&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;INSERT&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;INTO&lt;/span&gt; &lt;span style=&quot;color: #333333&quot;&gt;#&lt;/span&gt;Emp (EmpID,DeptId,EmpName,Salary) &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;values&lt;/span&gt;(&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;5&lt;/span&gt;,&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;2&lt;/span&gt;,&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;#39;A5&amp;#39;&lt;/span&gt;,&lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;5000&lt;/span&gt;)

&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;select&lt;/span&gt; dense_rank() over (partition &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;by&lt;/span&gt; DeptId &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;order&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;by&lt;/span&gt; Salary) [dense_rank],
             rank() over (partition &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;by&lt;/span&gt; DeptId &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;order&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;by&lt;/span&gt; Salary) [rank],
       row_number() over (partition &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;by&lt;/span&gt; DeptId &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;order&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;by&lt;/span&gt; Salary) [row_number],
              DeptId,Salary
&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;from&lt;/span&gt; &lt;span style=&quot;color: #333333&quot;&gt;#&lt;/span&gt;Emp;

&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;Drop&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;Table&lt;/span&gt; &lt;span style=&quot;color: #333333&quot;&gt;#&lt;/span&gt;Emp
&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;Drop&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;Table&lt;/span&gt; &lt;span style=&quot;color: #333333&quot;&gt;#&lt;/span&gt;Department
&lt;/pre&gt;&lt;/div&gt;




Output of above code:
&lt;br/&gt;&lt;br/&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6VoU7Z-YgRlV4-72G0Y-ihyphenhyphene1ejHk4Qu_UjlJvnys18PLB6ZiXMvkbEf-LX0gadkykXfoFXF8T_bsGajSbEueKNo3YYfbKZ__FomqhulA5Ywx_OLdICJeD6b2fbwIGHT0KGdz7Cz3f9w/s1600/SQL+Row+Number+Difference.png&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;148&quot; width=&quot;309&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6VoU7Z-YgRlV4-72G0Y-ihyphenhyphene1ejHk4Qu_UjlJvnys18PLB6ZiXMvkbEf-LX0gadkykXfoFXF8T_bsGajSbEueKNo3YYfbKZ__FomqhulA5Ywx_OLdICJeD6b2fbwIGHT0KGdz7Cz3f9w/s320/SQL+Row+Number+Difference.png&quot; /&gt;&lt;/a&gt;



</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/5645618932774111707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/11/denserank-rank-and-rownumber.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/5645618932774111707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/5645618932774111707'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/11/denserank-rank-and-rownumber.html' title='DENSE_RANK(), RANK() and ROW_NUMBER()'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6VoU7Z-YgRlV4-72G0Y-ihyphenhyphene1ejHk4Qu_UjlJvnys18PLB6ZiXMvkbEf-LX0gadkykXfoFXF8T_bsGajSbEueKNo3YYfbKZ__FomqhulA5Ywx_OLdICJeD6b2fbwIGHT0KGdz7Cz3f9w/s72-c/SQL+Row+Number+Difference.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-7942899253990486624</id><published>2012-10-15T01:11:00.000-07:00</published><updated>2016-09-05T00:53:41.834-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Kendo UI"/><title type='text'>Validate Upload control in KendoUI</title><content type='html'>.cshtml


&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;&lt;span style=&quot;color: #333333&quot;&gt;&amp;lt;&lt;/span&gt;script type&lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #333333&quot;&gt;&amp;gt;&lt;/span&gt;

$(&lt;span style=&quot;color: #007020&quot;&gt;document&lt;/span&gt;).ready(&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;function&lt;/span&gt; () {
   &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;var&lt;/span&gt; validator &lt;span style=&quot;color: #333333&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;#ValidateDemoContainer&amp;quot;&lt;/span&gt;).kendoValidator().data(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;kendoValidator&amp;quot;&lt;/span&gt;);
       $(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;button&amp;quot;&lt;/span&gt;).click(&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;function&lt;/span&gt; (e) {
       &lt;span style=&quot;color: #888888&quot;&gt;//Validate Upload Control&lt;/span&gt;
       &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; ($(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;#UploadedFile&amp;quot;&lt;/span&gt;).parent().siblings(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;ul&amp;quot;&lt;/span&gt;).length &lt;span style=&quot;color: #333333&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #0000DD; font-weight: bold&quot;&gt;0&lt;/span&gt;) {
               $(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;#UploadedFile&amp;quot;&lt;/span&gt;).removeAttr(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;required&amp;quot;&lt;/span&gt;);
       }
       &lt;span style=&quot;color: #888888&quot;&gt;//Validate Other control, which inside &amp;quot;ValidateDemoContainer&amp;quot;  &lt;/span&gt;
       &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #333333&quot;&gt;!&lt;/span&gt;validator.validate()) {
               e.preventDefault();
            }
       });
});

&lt;span style=&quot;color: #333333&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #FF0000; background-color: #FFAAAA&quot;&gt;/script&amp;gt;&lt;/span&gt;




 &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;div&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;ValidateDemoContainer&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
@using (Html.BeginForm(&amp;quot;Method&amp;quot;, &amp;quot;Controller&amp;quot;, FormMethod.Post, new { id = &amp;quot;YourId&amp;quot;, enctype = &amp;quot;multipart/form-data&amp;quot;}))
{
        @(Html.Kendo().Upload()
            .Name(&amp;quot;UploadedFile&amp;quot;)
            .Multiple(false)
            .HtmlAttributes(new { required = true })
        )
        &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;br&lt;/span&gt; &lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&lt;/span&gt;
        @Html.ValidationMessageFor(m =&amp;gt; m.UploadedFile)
        &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;br&lt;/span&gt; &lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;button&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;k-button&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;type=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;submit&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;Submit&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
}
&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;



Model

&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #BB0066; font-weight: bold&quot;&gt;YourModel&lt;/span&gt;
{
&lt;span style=&quot;color: #0000CC&quot;&gt;        [Required(ErrorMessage = &amp;quot;Please provide file&amp;quot;)]&lt;/span&gt;
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; System.Web.HttpPostedFileBase UploadedFile { &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;set&lt;/span&gt;; }
}
&lt;/pre&gt;&lt;/div&gt;



</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/7942899253990486624/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/10/validate-upload-control-in-kendoui.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/7942899253990486624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/7942899253990486624'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/10/validate-upload-control-in-kendoui.html' title='Validate Upload control in KendoUI'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-9080129215909830714</id><published>2012-10-10T09:04:00.002-07:00</published><updated>2016-09-05T00:54:51.073-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MVC"/><title type='text'>validation is not working in popup in mvc</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #888888;&quot;&gt;// Your open popup code comes here&lt;/span&gt;
$(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;UploadActivitySheet&#39;&lt;/span&gt;).removeData(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;validator&quot;&lt;/span&gt;);
&lt;span style=&quot;color: #888888;&quot;&gt;//Refresh the validators&lt;/span&gt;
$.validator.unobtrusive.parse(&lt;span style=&quot;color: #007020;&quot;&gt;document&lt;/span&gt;);
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/9080129215909830714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/10/validation-is-not-working-in-popup-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/9080129215909830714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/9080129215909830714'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/10/validation-is-not-working-in-popup-in.html' title='validation is not working in popup in mvc'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-5610118168340552377</id><published>2012-08-31T23:37:00.000-07:00</published><updated>2016-09-05T01:03:48.810-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="RadGrid"/><category scheme="http://www.blogger.com/atom/ns#" term="Telerik"/><title type='text'>RadGrid with WCF Rest Service</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Create WCF service.&lt;/b&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsE0xyIcsPnYsB7jYaBqW6ykK-U_by-1MVFJLyrDgms1gGEqm-jtPhET3NxFkM5h7SiBzGTnP-UcDDoXY_hobbvpzDBGER01sFz2lyh74vgwID2MTeOUASf_6kijSGx1ClIou-canZWCA/s1600/ServiceProject.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;157&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsE0xyIcsPnYsB7jYaBqW6ykK-U_by-1MVFJLyrDgms1gGEqm-jtPhET3NxFkM5h7SiBzGTnP-UcDDoXY_hobbvpzDBGER01sFz2lyh74vgwID2MTeOUASf_6kijSGx1ClIou-canZWCA/s320/ServiceProject.png&quot; width=&quot;170&quot; /&gt;&lt;/a&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;IService1.cs&lt;/b&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #0e84b5; font-weight: bold&quot;&gt;WcfService1&lt;/span&gt;
{   
&lt;span style=&quot;color: #0000CC&quot;&gt;    [ServiceContract]&lt;/span&gt;
    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;interface&lt;/span&gt; IService1
    {
&lt;span style=&quot;color: #0000CC&quot;&gt;        [OperationContract]&lt;/span&gt;
&lt;span style=&quot;color: #0000CC&quot;&gt;        [WebInvoke(Method = &amp;quot;POST&amp;quot;, BodyStyle = WebMessageBodyStyle.WrappedRequest, ResponseFormat = WebMessageFormat.Json)]&lt;/span&gt;
        ResultData &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;GetData&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; startRowIndex, &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; maximumRows, &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; sortExpression, &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; filterExpression);

&lt;span style=&quot;color: #0000CC&quot;&gt;        [OperationContract]&lt;/span&gt;
&lt;span style=&quot;color: #0000CC&quot;&gt;        [WebInvoke(Method = &amp;quot;POST&amp;quot;, ResponseFormat = WebMessageFormat.Json)]&lt;/span&gt;
        &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;bool&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;SetParameter&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; strYourParameter);
    }

&lt;span style=&quot;color: #0000CC&quot;&gt;    &lt;/span&gt;
&lt;span style=&quot;color: #0000CC&quot;&gt;    [DataContract]&lt;/span&gt;
    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #BB0066; font-weight: bold&quot;&gt;EmployeeInfo&lt;/span&gt;
    {
&lt;span style=&quot;color: #0000CC&quot;&gt;        [DataMember]&lt;/span&gt;
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; EmployeeID
        {
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;get&lt;/span&gt;;
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;set&lt;/span&gt;;
        }

&lt;span style=&quot;color: #0000CC&quot;&gt;        [DataMember]&lt;/span&gt;
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; EmployeeName
        {
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;get&lt;/span&gt;;
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;set&lt;/span&gt;;
        }
    }
}
&lt;/pre&gt;&lt;/div&gt;

&lt;br /&gt;
&lt;b&gt;Service1.svc.cs&lt;/b&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #0e84b5; font-weight: bold&quot;&gt;WcfService1&lt;/span&gt;
{
&lt;span style=&quot;color: #0000CC&quot;&gt;    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]&lt;/span&gt;
    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #BB0066; font-weight: bold&quot;&gt;Service1&lt;/span&gt; : IService1
    {
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; SearchCriteria
        {
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;set&lt;/span&gt;
            {
                System.Web.HttpContext.Current.Session[&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;SearchCriteria&amp;quot;&lt;/span&gt;] = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;value&lt;/span&gt;;
            }
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;get&lt;/span&gt;
            {
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (System.Web.HttpContext.Current.Session[&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;SearchCriteria&amp;quot;&lt;/span&gt;] != &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;null&lt;/span&gt;)
                {
                    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; Convert.ToString(System.Web.HttpContext.Current.Session[&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;SearchCriteria&amp;quot;&lt;/span&gt;]);
                }
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;else&lt;/span&gt;
                    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;null&lt;/span&gt;;
            }
        }

        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; ResultData &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;GetData&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; startRowIndex, &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; maximumRows, &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; sortExpression, &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; filterExpression)
        {
            ResultData result = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; ResultData();
            result.Count = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;0&lt;/span&gt;;
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;this&lt;/span&gt;.SearchCriteria != &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;null&lt;/span&gt;)
            {
                IQueryable&amp;lt;EmployeeInfo&amp;gt; yourdata = (&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;from&lt;/span&gt; p &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;in&lt;/span&gt; GenerateData(&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;this&lt;/span&gt;.SearchCriteria)
                                                     &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;select&lt;/span&gt; p).AsQueryable&amp;lt;EmployeeInfo&amp;gt;();

                GridLinqBindingData&amp;lt;EmployeeInfo&amp;gt; data = RadGrid.GetBindingData(yourdata, startRowIndex, maximumRows, sortExpression, filterExpression);

                result.Data = data.Data.OfType&amp;lt;EmployeeInfo&amp;gt;().Select(p =&amp;gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; EmployeeInfo()
                {
                    EmployeeID = p.EmployeeID,
                    EmployeeName = p.EmployeeName,
                }).ToList();
                result.Count = data.Count;
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; result;
            }
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; result;
        }

        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;bool&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;SetParameter&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; strYourParameter)
        {
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (!&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt;.IsNullOrEmpty(strYourParameter))
            {
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;this&lt;/span&gt;.SearchCriteria = strYourParameter; 
            }
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;else&lt;/span&gt;
            {
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;this&lt;/span&gt;.SearchCriteria = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;null&lt;/span&gt;;
            }
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;true&lt;/span&gt;;
        }

        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;protected&lt;/span&gt; List&amp;lt;EmployeeInfo&amp;gt; GenerateData(&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; parameter)
        {
            List&amp;lt;EmployeeInfo&amp;gt; empinfo = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; List&amp;lt;EmployeeInfo&amp;gt;();

            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; i = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;0&lt;/span&gt;; i &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;10&lt;/span&gt;; i++)
            {
                EmployeeInfo employeeInfo = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; EmployeeInfo();
                employeeInfo.EmployeeID = i;
                employeeInfo.EmployeeName = parameter + i.ToString();
                empinfo.Add(employeeInfo);
            }

            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; i = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;10&lt;/span&gt;; i &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;20&lt;/span&gt;; i++)
            {
                EmployeeInfo employeeInfo = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; EmployeeInfo();
                employeeInfo.EmployeeID = i;
                employeeInfo.EmployeeName = parameter + i.ToString();
                empinfo.Add(employeeInfo);
            }

            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; i = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;20&lt;/span&gt;; i &amp;lt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;30&lt;/span&gt;; i++)
            {
                EmployeeInfo employeeInfo = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; EmployeeInfo();
                employeeInfo.EmployeeID = i;
                employeeInfo.EmployeeName = parameter + i.ToString();
                empinfo.Add(employeeInfo);
            }

            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; empinfo;
        }
    }

    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #BB0066; font-weight: bold&quot;&gt;ResultData&lt;/span&gt;
    {
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; Count { &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;set&lt;/span&gt;; }
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; List&amp;lt;EmployeeInfo&amp;gt; Data { &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;set&lt;/span&gt;; }
    }

    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;enum&lt;/span&gt; SortDirection
    {
        Ascending = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;0&lt;/span&gt;,
        Descending = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;1&lt;/span&gt;
    }

    &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #BB0066; font-weight: bold&quot;&gt;GenericComparer&lt;/span&gt;&amp;lt;T&amp;gt; : IComparer&amp;lt;T&amp;gt;
    {
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; SortExpression { &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;set&lt;/span&gt;; }
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; SortDirection { &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;set&lt;/span&gt;; } &lt;span style=&quot;color: #888888&quot;&gt;// 0:Ascending, 1:Descending &lt;/span&gt;

        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;GenericComparer&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;string&lt;/span&gt; sortExpression, &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; sortDirection)
        {
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;this&lt;/span&gt;.SortExpression = sortExpression;
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;this&lt;/span&gt;.SortDirection = sortDirection;
        }
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;GenericComparer&lt;/span&gt;() { }

        &lt;span style=&quot;color: #557799&quot;&gt;#region IComparer&amp;lt;T&amp;gt; Members&lt;/span&gt;
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;Compare&lt;/span&gt;(T x, T y)
        {
            PropertyInfo propertyInfo = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;typeof&lt;/span&gt;(T).GetProperty(SortExpression);
            IComparable obj1 = (IComparable)propertyInfo.GetValue(x, &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;null&lt;/span&gt;);
            IComparable obj2 = (IComparable)propertyInfo.GetValue(y, &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;null&lt;/span&gt;);

            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (obj1 == &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;null&lt;/span&gt; || obj2 == &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;null&lt;/span&gt;) &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;0&lt;/span&gt;;

            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (SortDirection == &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;0&lt;/span&gt;)
            {
                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; obj1.CompareTo(obj2);
            }
            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; obj2.CompareTo(obj1);
        }
        &lt;span style=&quot;color: #557799&quot;&gt;#endregion&lt;/span&gt;
    }
}
&lt;/pre&gt;&lt;/div&gt;


&lt;br /&gt;
&lt;b&gt;Web.config&lt;/b&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;configuration&amp;gt;&lt;/span&gt;

 &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;system&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;.web=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
  &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;compilation&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;debug=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;targetframework=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;4.0&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
 &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/compilation&amp;gt;&amp;lt;/system&amp;gt;&lt;/span&gt;
 &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;system&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;.servicemodel=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
  &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;bindings&amp;gt;&lt;/span&gt;
   &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;webhttpbinding&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;binding&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;allowcookies=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;false&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;bypassproxyonlocal=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;false&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;closetimeout=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;00:35:00&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;crossdomainscriptaccessenabled=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;hostnamecomparisonmode=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;StrongWildcard&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;maxbufferpoolsize=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;2147483647&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;maxreceivedmessagesize=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;2147483647&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;name=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;RestServiceBinding&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;opentimeout=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;00:35:00&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;receivetimeout=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;00:35:00&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;sendtimeout=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;00:35:00&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;usedefaultwebproxy=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
     &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;readerquotas&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;maxarraylength=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;2147483647&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;maxbytesperread=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;2147483647&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;maxdepth=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;2147483647&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;maxnametablecharcount=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;2147483647&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;maxstringcontentlength=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;2147483647&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
     &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;security&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;mode=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;None&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/security&amp;gt;&amp;lt;/readerquotas&amp;gt;&amp;lt;/binding&amp;gt;&lt;/span&gt;
   &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/webhttpbinding&amp;gt;&lt;/span&gt;
  &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/bindings&amp;gt;&lt;/span&gt;
  &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;behaviors&amp;gt;&lt;/span&gt;
   &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;endpointbehaviors&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;behavior&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;name=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;RestEndpointBehaviour&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
     &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;webhttp&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;automaticformatselectionenabled=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;false&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;defaultoutgoingresponseformat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Json&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;faultexceptionenabled=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;helpenabled=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/webhttp&amp;gt;&amp;lt;/behavior&amp;gt;&lt;/span&gt;
   &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/endpointbehaviors&amp;gt;&lt;/span&gt;
   &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;servicebehaviors&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;behavior&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;name=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;CommonServiceBehaviour&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
     &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;servicemetadata&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;httpgetenabled=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
     &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;servicedebug&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;includeexceptiondetailinfaults=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/servicedebug&amp;gt;&amp;lt;/servicemetadata&amp;gt;&amp;lt;/behavior&amp;gt;&lt;/span&gt;
   &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/servicebehaviors&amp;gt;&lt;/span&gt;
  &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/behaviors&amp;gt;&lt;/span&gt;
  &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;services&amp;gt;&lt;/span&gt;
   &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;service&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;behaviorconfiguration=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;CommonServiceBehaviour&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;name=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;WcfService1.Service1&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;endpoint&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;address=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;behaviorconfiguration=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;RestEndpointBehaviour&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;binding=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;webHttpBinding&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;bindingconfiguration=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;RestServiceBinding&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;contract=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;WcfService1.IService1&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/endpoint&amp;gt;&lt;/span&gt;
   &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/service&amp;gt;&lt;/span&gt;
  &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/services&amp;gt;&lt;/span&gt;
  &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;servicehostingenvironment&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;aspnetcompatibilityenabled=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
 &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/servicehostingenvironment&amp;gt;&amp;lt;/system&amp;gt;&lt;/span&gt;
 &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;system&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;.webserver=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
  &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;modules&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;runallmanagedmodulesforallrequests=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
 &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/modules&amp;gt;&amp;lt;/system&amp;gt;&lt;/span&gt;

&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/configuration&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;br /&gt;
&lt;b&gt;RestServiceWithRadGrid.aspx&lt;/b&gt;
&lt;br /&gt;
 &lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;head&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;script&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;src=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Scripts/jquery-1.6.2.min.js&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;type=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:radcodeblock&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;RadCodeBlock1&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;script&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;type=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;var&lt;/span&gt; UrlForsetParameter = &lt;span style=&quot;color: #FF0000; background-color: #FFAAAA&quot;&gt;&amp;#39;&lt;/span&gt;http:&lt;span style=&quot;color: #888888&quot;&gt;//localhost/WcfService1/Service1.svc/SetParameter&amp;#39;;&lt;/span&gt;

            function &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;Setserachparameter&lt;/span&gt;() {
                
                &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;var&lt;/span&gt; RadTextBox1 = &lt;span style=&quot;color: #FF0000; background-color: #FFAAAA&quot;&gt;$&lt;/span&gt;find(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;&amp;lt;%= RadTextBox1.ClientID %&amp;gt;&amp;quot;&lt;/span&gt;);
                &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;var&lt;/span&gt; strYourParameter = RadTextBox1.get_value();
                jQuery.ajax({
                    type: &lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;POST&amp;quot;&lt;/span&gt;,
                    contentType: &lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;application/json; charset=utf-8&amp;quot;&lt;/span&gt;,
                    data: JSON.stringify(strYourParameter),
                    dataType: &lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;json&amp;quot;&lt;/span&gt;,
                    url: UrlForsetParameter,

                    success: function (Responce) {
                        &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;var&lt;/span&gt; grid = &lt;span style=&quot;color: #FF0000; background-color: #FFAAAA&quot;&gt;$&lt;/span&gt;find(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;&amp;lt;%=RadGrid1.ClientID %&amp;gt;&amp;quot;&lt;/span&gt;);
                        &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;var&lt;/span&gt; MasterTable = grid.get_masterTableView();
                        MasterTable.rebind();
                    },
                    error: function (xhr, ajaxOptions, thrownError) {


                    }
                });

                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;false&lt;/span&gt;;
            }

        &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/telerik:radcodeblock&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;body&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;form&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;form1&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;div&amp;gt;&lt;/span&gt;
        

        &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:radscriptmanager&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;RadScriptManager1&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/telerik:radscriptmanager&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;table&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;tr&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;td&amp;gt;&lt;/span&gt;
                    Search Text
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/td&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;td&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:radtextbox&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;RadTextBox1&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/telerik:radtextbox&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/td&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;tr&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;td&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;colspan=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;2&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;asp:button&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Button1&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;onclientclick=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Setserachparameter();&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Get Record&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/asp:button&amp;gt;&amp;lt;/td&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/table&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:radgrid&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;allowpaging=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;allowsorting=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;autogeneratecolumns=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;false&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;RadGrid1&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;pagerstyle&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;alwaysvisible=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;mastertableview&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;columns&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:gridboundcolumn&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;datafield=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;EmployeeID&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;headertext=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;EmployeeID&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;uniquename=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;EmployeeID&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/telerik:gridboundcolumn&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:gridboundcolumn&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;datafield=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;EmployeeName&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;headertext=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;EmployeeName&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;uniquename=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;EmployeeName&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/telerik:gridboundcolumn&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/columns&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/mastertableview&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;clientsettings&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;databinding&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;filterparametertype=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Linq&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;location=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;http://localhost/WcfService1/Service1.svc&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;selectmethod=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;GetData&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;sortparametertype=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Linq&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/databinding&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/clientsettings&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/pagerstyle&amp;gt;&amp;lt;/telerik:radgrid&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

You can also check &lt;a href=&quot;http://www.telerik.com/help/aspnet-ajax/grid-client-side-binding-to-wcf-service-adonet-dataservice.html&quot;&gt;this(Client Binding to WCF Web Service)&lt;/a&gt; link for more information.
 &lt;br /&gt;
&lt;br /&gt;
As per above link we can able to binding our RadGrid with WCF service. But in some case we have to use more parameters in method (GetDataAndCount()) At that time you can try with above code.
 &lt;br /&gt;
&lt;br /&gt;
In this code i have take one session properties in at service level. On button click i have set parameter in service&#39;s session property. Then after i rebind my RadGrid, so it will called method(GetDataAndCount()) in this, by using session property first of all get the specific data from DB/Generate dummy data then apply grid&#39;s parameter in it.
 &lt;br /&gt;
&lt;br /&gt;
You can also check output in below image.
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMam7nbr3XqdWsEEP1YWZVZT4qN1VirnpXhS1ntz9pG7PY-L3ybWiZ3X16DcaX5-dRxSjZo6AG6m7DuV1HLRKt-X8OFDGSwKEyizjWzz-Ii2uSCFRLqeZTW79EGJ5e02DDDBJidTuYtF0/s1600/Output.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;169&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMam7nbr3XqdWsEEP1YWZVZT4qN1VirnpXhS1ntz9pG7PY-L3ybWiZ3X16DcaX5-dRxSjZo6AG6m7DuV1HLRKt-X8OFDGSwKEyizjWzz-Ii2uSCFRLqeZTW79EGJ5e02DDDBJidTuYtF0/s320/Output.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://skydrive.live.com/?cid=977b16a5e89a5236&amp;amp;id=977B16A5E89A5236%21120&amp;amp;authkey=!AIqCRiaN-qg674w&quot;&gt;DOWNLOAD DEMO&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/5610118168340552377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/08/radgrid-with-wcf-rest-service.html#comment-form' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/5610118168340552377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/5610118168340552377'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/08/radgrid-with-wcf-rest-service.html' title='RadGrid with WCF Rest Service'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsE0xyIcsPnYsB7jYaBqW6ykK-U_by-1MVFJLyrDgms1gGEqm-jtPhET3NxFkM5h7SiBzGTnP-UcDDoXY_hobbvpzDBGER01sFz2lyh74vgwID2MTeOUASf_6kijSGx1ClIou-canZWCA/s72-c/ServiceProject.png" height="72" width="72"/><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-2005062718049328828</id><published>2012-07-27T01:53:00.000-07:00</published><updated>2016-09-05T01:17:41.470-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="RadGrid"/><category scheme="http://www.blogger.com/atom/ns#" term="Telerik"/><title type='text'>Access RadGrid Row and Column on Client Side</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Get Client Data key on Client&lt;/b&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;telerik&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt;radcodeblock id&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadCodeBlock1&quot;&lt;/span&gt; runat&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;script type&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; AccessOnclient() {
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; grid &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $find(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&amp;lt;%= RadGrid1.ClientID %&amp;gt;&quot;&lt;/span&gt;);
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (grid) {
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; MasterTable &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; grid.get_masterTableView();
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; Rows &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; MasterTable.get_dataItems();
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; i &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;; i &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt; Rows.length; i&lt;span style=&quot;color: #333333;&quot;&gt;++&lt;/span&gt;) {
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; row &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; Rows[i];
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; ClientDataKey_ID &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; row.getDataKeyValue(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ID&quot;&lt;/span&gt;);
                    }
                }
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;;
            }
        &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/script&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/telerik:radcodeblock&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;Get Template Column Control&lt;/b&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;telerik&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt;radcodeblock id&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadCodeBlock1&quot;&lt;/span&gt; runat&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;script type&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; AccessOnclient() {
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; grid &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $find(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&amp;lt;%= RadGrid1.ClientID %&amp;gt;&quot;&lt;/span&gt;);
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (grid) {
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; MasterTable &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; grid.get_masterTableView();
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; Rows &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; MasterTable.get_dataItems();
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; i &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;; i &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt; Rows.length; i&lt;span style=&quot;color: #333333;&quot;&gt;++&lt;/span&gt;) {
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; row &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; Rows[i];
                        &lt;span style=&quot;color: #888888;&quot;&gt;// Method1&lt;/span&gt;
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; lblName_1 &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(row.get_element()).find(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;span[id*=&#39;lblName&#39;]&quot;&lt;/span&gt;).get(&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;);
                        &lt;span style=&quot;color: #888888;&quot;&gt;// Method2&lt;/span&gt;
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; lblName_2 &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $telerik.findControl(row.get_element(), &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;lblName&quot;&lt;/span&gt;);
                        &lt;span style=&quot;color: #888888;&quot;&gt;// Method3&lt;/span&gt;
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; lblName_3 &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; row.findControl(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;lblName&quot;&lt;/span&gt;);
                    }
                }
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;;
            }
        &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/script&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/telerik:radcodeblock&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;Access Column Text&lt;/b&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;telerik&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt;radcodeblock id&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadCodeBlock1&quot;&lt;/span&gt; runat&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;script type&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; AccessOnclient() {
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; grid &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $find(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&amp;lt;%= RadGrid1.ClientID %&amp;gt;&quot;&lt;/span&gt;);
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (grid) {
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; MasterTable &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; grid.get_masterTableView();
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; Rows &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; MasterTable.get_dataItems();
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; i &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;; i &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt; Rows.length; i&lt;span style=&quot;color: #333333;&quot;&gt;++&lt;/span&gt;) {
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; row &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; Rows[i];
                        &lt;span style=&quot;color: #888888;&quot;&gt;// Method1&lt;/span&gt;
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; getCellText_1 &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; row.get_element().cells[&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;].innerHTML;
                        &lt;span style=&quot;color: #888888;&quot;&gt;// Method2&lt;/span&gt;
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; getCellText_2 &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; row.get_cell(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ID&quot;&lt;/span&gt;).innerHTML;
                        &lt;span style=&quot;color: #888888;&quot;&gt;// Method3&lt;/span&gt;
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; getCellText_2 &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; row.get_cell(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Name&quot;&lt;/span&gt;).getElementsByTagName(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;span&quot;&lt;/span&gt;)[&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;].innerHTML; &lt;span style=&quot;color: #888888;&quot;&gt;//this code also work for Checkboxcolunm, hyperlinkcolumn...etc&lt;/span&gt;
                    }
                }
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;;
            }
        &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/script&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/telerik:radcodeblock&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;Access Column&#39;s property here&lt;/b&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;telerik&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt;radcodeblock id&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadCodeBlock1&quot;&lt;/span&gt; runat&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;script type&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; AccessOnclient() {
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; grid &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $find(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&amp;lt;%= RadGrid1.ClientID %&amp;gt;&quot;&lt;/span&gt;);
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (grid) {
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; MasterTable &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; grid.get_masterTableView();
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; Columns &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; MasterTable.get_columns();
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; i &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;; i &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt; Columns.length; i&lt;span style=&quot;color: #333333;&quot;&gt;++&lt;/span&gt;) {
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; column &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; Columns[&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;];
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; columnUniqueName &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; column.get_uniqueName();
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; columnDataField &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; column.get_dataField();
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; columnfilterFunction &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; column.get_filterFunction();
                    }
                }
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;;
            }
        &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/script&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/telerik:radcodeblock&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;Access Control in Edit mode&lt;/b&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;telerik&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt;radcodeblock id&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadCodeBlock1&quot;&lt;/span&gt; runat&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;script type&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; AccessOnclient() {
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; grid &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $find(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&amp;lt;%= RadGrid1.ClientID %&amp;gt;&quot;&lt;/span&gt;);
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (grid) {
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; EditItems &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; grid.get_editItems();
                    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; i &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;; i &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt; EditItems.length; i&lt;span style=&quot;color: #333333;&quot;&gt;++&lt;/span&gt;) {
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; editItem &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; EditItems[&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;];
                        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; checkbox1 &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(editItem.get_editFormItem()).find(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;input[id*=&#39;CheckBox1&#39;]&quot;&lt;/span&gt;).get(&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;)
                    }

                }
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;;
            }
        &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/script&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/telerik:radcodeblock&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;Access Control in insert mode&lt;/b&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;telerik&lt;span style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt;radcodeblock id&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadCodeBlock1&quot;&lt;/span&gt; runat&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;script type&lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; AccessOnclient() { 
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; grid &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $find(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&amp;lt;%= RadGrid1.ClientID %&amp;gt;&quot;&lt;/span&gt;);
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (grid) {
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; MasterTable &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; grid.get_masterTableView();
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; insertRow &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; MasterTable.get_insertItem();
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; checkbox1 &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(insertRow).find(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;input[id*=&#39;CheckBox1&#39;]&quot;&lt;/span&gt;).get(&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;);
                &lt;span style=&quot;color: #888888;&quot;&gt;//You can access other controls from below container&lt;/span&gt;
                &lt;span style=&quot;color: #888888;&quot;&gt;//$(insertRow)&lt;/span&gt;
            }
            &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;false&lt;/span&gt;;
        }
    &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/script&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;/telerik:radcodeblock&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;ASPX&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;telerik:radscriptmanager&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadScriptManager1&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/telerik:radscriptmanager&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;telerik:radajaxmanager&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadAjaxManager1&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/telerik:radajaxmanager&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;telerik:radajaxloadingpanel&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadAjaxLoadingPanel1&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/telerik:radajaxloadingpanel&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;asp:button&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Button1&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;onclientclick=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;return AccessOnclient();&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Access On Client&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&amp;lt;/asp:button&amp;gt;&lt;/span&gt;
       
        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;telerik:radgrid&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;allowfilteringbycolumn=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;true&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;autogeneratecolumns=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;false&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadGrid1&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;onneeddatasource=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadGrid1_NeedDataSource&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;mastertableview&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;clientdatakeynames=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ID&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;commanditemdisplay=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Top&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;columns&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;telerik:gridboundcolumn&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;datafield=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ID&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;headertext=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ID&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;uniquename=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ID&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/telerik:gridboundcolumn&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;telerik:gridtemplatecolumn&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;headertext=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Name&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;uniquename=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Name&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
                        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;itemtemplate&amp;gt;&lt;/span&gt;
                            &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;asp:label&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;lblName&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;text=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&amp;amp;lt;%# Eval(&amp;amp;quot;Name&amp;amp;quot;) %&amp;amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&amp;lt;/asp:label&amp;gt;&lt;/span&gt;
                        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/itemtemplate&amp;gt;&lt;/span&gt;
                        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;edititemtemplate&amp;gt;&lt;/span&gt;
                            &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;asp:checkbox&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;CheckBox1&quot;&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;server&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
                        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/asp:checkbox&amp;gt;&amp;lt;/edititemtemplate&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/telerik:gridtemplatecolumn&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;telerik:grideditcommandcolumn&lt;/span&gt; &lt;span style=&quot;color: #0000cc;&quot;&gt;uniquename=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;EditColumn&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;
                    &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/telerik:grideditcommandcolumn&amp;gt;&lt;/span&gt;
                &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/columns&amp;gt;&lt;/span&gt;
            &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/mastertableview&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/telerik:radgrid&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;ASPX.CS&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;RadGrid1_NeedDataSource&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;object&lt;/span&gt; sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
        {
            &lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;dynamic&lt;/span&gt; data = &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt;[] {
               &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; { ID = &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;1&lt;/span&gt;, Name =&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Name_1&quot;&lt;/span&gt;},
               &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; { ID = &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;2&lt;/span&gt;, Name = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Name_2&quot;&lt;/span&gt;},
               &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; { ID = &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;3&lt;/span&gt;, Name = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Name_3&quot;&lt;/span&gt;},
               &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; { ID = &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;4&lt;/span&gt;, Name = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Name_4&quot;&lt;/span&gt;},
               &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; { ID = &lt;span style=&quot;color: #6600ee; font-weight: bold;&quot;&gt;5&lt;/span&gt;, Name = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Name_5&quot;&lt;/span&gt;}
           };
            RadGrid1.DataSource = data;
        }
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/2005062718049328828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/07/access-radgrid-on-client.html#comment-form' title='31 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/2005062718049328828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/2005062718049328828'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/07/access-radgrid-on-client.html' title='Access RadGrid Row and Column on Client Side'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>31</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-3351840219078273327</id><published>2012-07-06T09:26:00.000-07:00</published><updated>2012-07-06T23:12:13.529-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="News"/><category scheme="http://www.blogger.com/atom/ns#" term="Telerik"/><title type='text'>Visual Studio 2012 and ASP.NET 4.5 Features</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
You can find information about new features and enhancements in Visual 
Studio 2012 and ASP.NET 4.5 by reviewing the below Ebook.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://www.telerik.com/campaigns/visual-studio-2012.aspx?utm_source=MVPs&amp;amp;utm_medium=blog&amp;amp;utm_campaign=VS11_ebook_july2012&quot; target=&quot;_blank&quot;&gt;Download the Free Ebook&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #3d85c6;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/3351840219078273327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/07/vs11-and-aspnet-45-features.html#comment-form' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/3351840219078273327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/3351840219078273327'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/07/vs11-and-aspnet-45-features.html' title='Visual Studio 2012 and ASP.NET 4.5 Features'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-612074975895166109</id><published>2012-07-06T05:53:00.003-07:00</published><updated>2016-09-05T01:19:56.829-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="RadGrid"/><category scheme="http://www.blogger.com/atom/ns#" term="Telerik"/><title type='text'>Access Another control which was in same level or in row</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; YourFunctionName(sender, args) {
                &lt;span style=&quot;color: #888888;&quot;&gt;// Do not forget to add jquery in reference&lt;/span&gt;
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; SenderId &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; sender.id;
                &lt;span style=&quot;color: #888888;&quot;&gt;//var SenderId = sender.get_element().id;&lt;/span&gt;
                &lt;span style=&quot;color: #888888;&quot;&gt;//var SenderId =  sender.get_id();&lt;/span&gt;
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; RadTextBox1 &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#&quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; SenderId).get(&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;);
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; RadTextBox2 &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;#&quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; SenderId.replace(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadTextBox1&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadTextBox2&quot;&lt;/span&gt;)).get(&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;);
               &lt;span style=&quot;color: #888888;&quot;&gt;// for telerik /radcontrols&lt;/span&gt;
                &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; RadTextBox2 &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $telerik.findTextBox(SenderId.replace(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadTextBox1&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;RadTextBox2&quot;&lt;/span&gt;));

            }
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/612074975895166109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/07/access-another-control-which-was-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/612074975895166109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/612074975895166109'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/07/access-another-control-which-was-in.html' title='Access Another control which was in same level or in row'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-40473190790865431</id><published>2012-06-26T06:18:00.000-07:00</published><updated>2016-09-05T01:21:43.621-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="RadGrid"/><category scheme="http://www.blogger.com/atom/ns#" term="Telerik"/><title type='text'>Space added in autoGenerated column header problem in Radgrid</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066bb; font-weight: bold;&quot;&gt;RadGrid1_ColumnCreated&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;object&lt;/span&gt; sender, GridColumnCreatedEventArgs e)
{
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (!&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt;.IsNullOrEmpty(e.Column.UniqueName) &amp;amp;&amp;amp; !&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;string&lt;/span&gt;.IsNullOrEmpty(e.Column.HeaderText))
            e.Column.HeaderText = e.Column.UniqueName;
        &lt;span style=&quot;color: #888888;&quot;&gt;//OR&lt;/span&gt;
        e.Column.HeaderText = e.Column.HeaderText.Replace(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot; &quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&quot;&lt;/span&gt;);
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/40473190790865431/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/06/space-added-in-autogenerated-column.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/40473190790865431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/40473190790865431'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/06/space-added-in-autogenerated-column.html' title='Space added in autoGenerated column header problem in Radgrid'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-3557706530285928768</id><published>2012-06-20T07:07:00.002-07:00</published><updated>2016-09-05T01:24:20.895-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="RadGrid"/><category scheme="http://www.blogger.com/atom/ns#" term="Telerik"/><title type='text'>Customizing items of RadGrid page size combo based on total records</title><content type='html'>
Telerik provides the easy to use RadGrid control with inbuilt paging feature.&lt;br /&gt;
&lt;br /&gt;
By default paging combo includes 10, 20 and 50 page sizes, regardless of number of records displayed in the grid (i.e. if records counts to 11 then also page size combo displays 10, 20 and 50).&lt;br /&gt;
&lt;br /&gt;
If we want to customize the page size combo items to show&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Records count &amp;gt; 10 then page size items should show 10 and 20 &lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Records count &amp;gt;= 20 then page size items should show 10, 20 and 50&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
In order to achieve the above functionality, we will be using RadGrid ItemCreated and ItemEvent events, refer the below code.&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; totalItemCount;

&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;RadGrid1_ItemEvent&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;object&lt;/span&gt; sender, GridItemEventArgs e)
{
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (e.EventInfo &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;is&lt;/span&gt; GridInitializePagerItem)
        {
            totalItemCount = (e.EventInfo &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;as&lt;/span&gt; GridInitializePagerItem).PagingManager.DataSourceCount;
        }
}

&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;RadGrid1_ItemCreated&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;object&lt;/span&gt; sender, Telerik.Web.UI.GridItemEventArgs e)
{
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (e.Item &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;is&lt;/span&gt; GridPagerItem)
        {
            GridPagerItem pagerItem = (GridPagerItem)e.Item;
            RadComboBox pageSizeCombo = (RadComboBox)pagerItem.FindControl(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;PageSizeComboBox&amp;quot;&lt;/span&gt;);

            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; i = &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;0&lt;/span&gt;; i &amp;amp;lt; pageSizeCombo.Items.Count; i++)
            {
                RadComboBoxItem item = pageSizeCombo.Items[i];

                &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (Convert.ToInt32(item.Value) &amp;amp;gt; totalItemCount)
                {
                    i--;
                    pageSizeCombo.Items.Remove(item.Index);
                }
            }

            &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (totalItemCount != Convert.ToInt32(pageSizeCombo.Items[pageSizeCombo.Items.Count - &lt;span style=&quot;color: #6600EE; font-weight: bold&quot;&gt;1&lt;/span&gt;].Value))
            {
                RadComboBoxItem item = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; RadComboBoxItem();
                item = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; RadComboBoxItem(totalItemCount.ToString(), totalItemCount.ToString());
                item.Attributes.Add(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;ownerTableViewId&amp;quot;&lt;/span&gt;, e.Item.OwnerTableView.ClientID);
                pageSizeCombo.Items.Add(item);
            }
&lt;span style=&quot;color: #888888&quot;&gt;// If you lost selected value in Pagesize combo&lt;/span&gt;
&lt;span style=&quot;color: #888888&quot;&gt;//pageSizeCombo.FindItemByValue(e.Item.OwnerTableView.PageSize.ToString()).Selected = true;&lt;/span&gt;

        }

}
&lt;/pre&gt;&lt;/div&gt;

Displaying page combo always regardless of number of records, refer below code 
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;telerik:radgrid&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;allowpaging=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;RadGrid1&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;runat=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;mastertableview&amp;gt;&lt;/span&gt;
         &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;pagerstyle&lt;/span&gt; &lt;span style=&quot;color: #0000CC&quot;&gt;alwaysvisible=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;/pagerstyle&amp;gt;&lt;/span&gt;
              . . . . 
              . . . . 
    &lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/mastertableview&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/telerik:radgrid&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

Showing &quot;Show All&quot; option in page size combo, refer below combo 

&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;div style=&quot;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&quot;&gt;&lt;pre style=&quot;margin: 0; line-height: 125%&quot;&gt;&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;int&lt;/span&gt; totalItemCount;
&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;RadGrid1_ItemEvent&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;object&lt;/span&gt; sender, GridItemEventArgs e)
{
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (e.EventInfo &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;is&lt;/span&gt; GridInitializePagerItem)
        {
            totalItemCount = (e.EventInfo &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;as&lt;/span&gt; GridInitializePagerItem).PagingManager.DataSourceCount;
        }
}

&lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #0066BB; font-weight: bold&quot;&gt;RadGrid1_ItemCreated&lt;/span&gt;(&lt;span style=&quot;color: #333399; font-weight: bold&quot;&gt;object&lt;/span&gt; sender, Telerik.Web.UI.GridItemEventArgs e)
{
        &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;if&lt;/span&gt; (e.Item &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;is&lt;/span&gt; GridPagerItem)
        {   
            GridPagerItem pagerItem = (GridPagerItem)e.Item;
            RadComboBox PageSizeCombo = (RadComboBox)pagerItem.FindControl(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;PageSizeComboBox&amp;quot;&lt;/span&gt;);
            RadComboBoxItem item1 = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; RadComboBoxItem();
            item1 = &lt;span style=&quot;color: #008800; font-weight: bold&quot;&gt;new&lt;/span&gt; RadComboBoxItem(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;Show All&amp;quot;&lt;/span&gt;, totalItemCount.ToString());
            item1.Attributes.Add(&lt;span style=&quot;background-color: #fff0f0&quot;&gt;&amp;quot;ownerTableViewId&amp;quot;&lt;/span&gt;, e.Item.OwnerTableView.ClientID);
            PageSizeCombo.Items.Add(item1);

        }
}
&lt;/pre&gt;&lt;/div&gt;


</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/3557706530285928768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/06/customizing-items-of-radgrid-page-size.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/3557706530285928768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/3557706530285928768'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/06/customizing-items-of-radgrid-page-size.html' title='Customizing items of RadGrid page size combo based on total records'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-4743565564929046917</id><published>2012-06-11T03:01:00.000-07:00</published><updated>2012-06-13T12:08:38.139-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><title type='text'>what is the difference between Response.Redirect and Response.RedirectPermanent?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Response.Redirect&lt;/b&gt;&lt;br /&gt;
If you use the Response.Redirect() to redirect from Page A to Page B, search engines will keep Page A in their index since the Response.Redirect() indicates a temporary redirect. In case the original page (Page A) no longer exists, and Page B should replace Page A.The Response.Redirect generates Response code as 302.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxO7R0qM4gS5nOosry18C7d0wHhIdZq-jpZGKBFG3w6B-F-szA-RYUfUb_h56rGG57JkMB7P5aUE1qGoHwPtWDJlwfb2OSeloKndPJvYnMwXC0KL_lJh-AjGheFe5wK7h4xAGmR018Xn0/s1600/Response.Redirect.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxO7R0qM4gS5nOosry18C7d0wHhIdZq-jpZGKBFG3w6B-F-szA-RYUfUb_h56rGG57JkMB7P5aUE1qGoHwPtWDJlwfb2OSeloKndPJvYnMwXC0KL_lJh-AjGheFe5wK7h4xAGmR018Xn0/s320/Response.Redirect.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Response.RedirectPermanent&lt;/b&gt;&lt;br /&gt;
While in Response.RedirectPermanent to redirect from Page A to Page B, search engines will keep Page B in their index since the Response.RedirectPermanent() indicates a permanant redirect.The Response.RedirectParmanent generates Response code as 301.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH6TYj0PzlQjvLgVmwJ-rl8pgA4QQwKaP6421LprLiuPiZiphxlBigqT2zMTSledbOXJDFArWQiVzm64AupEi7330uNM7E353r0I_Hy9TGbqD517wXiqai1iJLkXGns5ARrGHh5nxw93g/s1600/Response.RedirectPermanent.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH6TYj0PzlQjvLgVmwJ-rl8pgA4QQwKaP6421LprLiuPiZiphxlBigqT2zMTSledbOXJDFArWQiVzm64AupEi7330uNM7E353r0I_Hy9TGbqD517wXiqai1iJLkXGns5ARrGHh5nxw93g/s320/Response.RedirectPermanent.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
What is the difference between permanent and temporary redirect?&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Permanent 301 &lt;/span&gt;&lt;br /&gt; To 
summarize in a few lines, permanent 301 redirects are just as they 
sound. They are permanent redirects from an old URL to a new one. These 
redirects tell the search engines that the old location is to be removed
 from their index and replaced with the new location. Using 301 
redirects is the most search engine friendly way to redirect traffic and
 engines, and far out weighs that of various JavaScript and Meta refresh
 redirects.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Temporary 302&lt;/span&gt;&lt;br /&gt;
 Temporary 302 redirects are also as they sound; temporary. Here you are
 telling the search engines to read and use the content on the new page,
 but to keep checking the original URL first as it will ultimately be 
reestablished.&lt;br /&gt;
&lt;br /&gt;
So, main deference between Response.Redirect() and Response.RedirectPermanent() is related to SEO.&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: medium none; color: black; overflow: hidden; text-align: left; text-decoration: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/4743565564929046917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/06/what-is-difference-between.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/4743565564929046917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/4743565564929046917'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/06/what-is-difference-between.html' title='what is the difference between Response.Redirect and Response.RedirectPermanent?'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxO7R0qM4gS5nOosry18C7d0wHhIdZq-jpZGKBFG3w6B-F-szA-RYUfUb_h56rGG57JkMB7P5aUE1qGoHwPtWDJlwfb2OSeloKndPJvYnMwXC0KL_lJh-AjGheFe5wK7h4xAGmR018Xn0/s72-c/Response.Redirect.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-7504162202250567115</id><published>2012-05-31T09:22:00.000-07:00</published><updated>2012-07-06T06:14:44.242-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Telerik"/><title type='text'>Telerik Webinar Week will be held June 18-22, 2012.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The Q2 2012 Webinar Week is quickly approaching (as is our upcoming 
major release)! As always, we are organizing this week-long event packed
 with hour-long webinar sessions to walk you through all the awesome 
things we’ve been working on during the past four months. If you’re 
eager to be among the first to learn how the Q2 bits can enhance your 
productivity,&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://4.bp.blogspot.com/-KxE15kL4czo/T8eWmjKKO9I/AAAAAAAAAh0/SIQQ12mMjHs/s1600/Blog_banner_WebinarWeek.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;107&quot; src=&quot;http://4.bp.blogspot.com/-KxE15kL4czo/T8eWmjKKO9I/AAAAAAAAAh0/SIQQ12mMjHs/s320/Blog_banner_WebinarWeek.jpg&quot; width=&quot;500&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;a href=&quot;http://www.telerik.com/products/whats-new.aspx&quot; target=&quot;_blank&quot;&gt;Book your seat for Webinar Week now&amp;gt;&amp;gt;&lt;/a&gt;&lt;br /&gt;
Webinar Week will be held June 18-22, 2012. And you know the drill, 
one lucky attendee at each webinar will win more than $2,000 worth of 
software. This time around though, as a token of our appreciation for 
being our customers, we have decided to also grant each Webinar Week 
attendee with a discount code valid towards a next Telerik purchase, 
upgrade or renewal! &lt;br /&gt;
Our evangelists have prepared amazing things to show you, so be there!      &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/7504162202250567115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/05/telerik-webinar-week-will-be-held-june.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/7504162202250567115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/7504162202250567115'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/05/telerik-webinar-week-will-be-held-june.html' title='Telerik Webinar Week will be held June 18-22, 2012.'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-KxE15kL4czo/T8eWmjKKO9I/AAAAAAAAAh0/SIQQ12mMjHs/s72-c/Blog_banner_WebinarWeek.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168372949663241132.post-3496582627207089188</id><published>2012-05-19T06:07:00.000-07:00</published><updated>2016-09-05T01:26:33.750-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="RadGrid"/><category scheme="http://www.blogger.com/atom/ns#" term="Telerik"/><title type='text'>How to access the control from itemtemplate in Radgrid on client side</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
You get control from itemtemplate in Radgrid by below methods.

&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #888888;&quot;&gt;// Method1&lt;/span&gt;
&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; ChkSelect &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt;  $(row.get_element()).find(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;input[id*=&#39;ChkSelect&#39;]&quot;&lt;/span&gt;).get(&lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;);
&lt;span style=&quot;color: #888888;&quot;&gt;// Method2&lt;/span&gt;
&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; ChkSelect &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; $telerik.findControl(row.get_element(), &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ChkSelect&quot;&lt;/span&gt;);
&lt;span style=&quot;color: #888888;&quot;&gt;// Method3&lt;/span&gt;
&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;var&lt;/span&gt; ChkSelect &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; row.findControl(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ChkSelect&quot;&lt;/span&gt;); 
&lt;/pre&gt;
&lt;/div&gt;
For how to access row from radgrid check &lt;a href=&quot;http://jayeshgoyani.blogspot.in/2011/11/access-radgrids-control-on-client.html&quot;&gt;&lt;b&gt;this&lt;/b&gt;&lt;/a&gt; link.
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jayeshgoyani.blogspot.com/feeds/3496582627207089188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/05/how-to-access-control-from-itemtemplate.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/3496582627207089188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168372949663241132/posts/default/3496582627207089188'/><link rel='alternate' type='text/html' href='http://jayeshgoyani.blogspot.com/2012/05/how-to-access-control-from-itemtemplate.html' title='How to access the control from itemtemplate in Radgrid on client side'/><author><name>Jayesh Goyani</name><uri>http://www.blogger.com/profile/06613799088874140387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry></feed>