ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Make ASP.Net GridView Column (Cell) non editable (ReadOnly)<p>Hi <a class="username" rel="chetan">chetan,</a></p> <p>You can use&nbsp;BoundField and set ReadOnly property to True for columns.</p>https://www.aspforums.net:443/Threads/424341/Make-ASPNet-GridView-Column-Cell-non-editable-ReadOnly/https://www.aspforums.net:443/Threads/424341/Make-ASPNet-GridView-Column-Cell-non-editable-ReadOnly/Mon, 12 Feb 2018 05:57:30 GMTMake ASP.Net GridView Column (Cell) non editable (ReadOnly)<p>hi sir,</p> <p>i have used template field. i have skipped edititemtemplate for Amount and Percentage.</p> <pre class="brush: html"> &lt;asp:TemplateField HeaderText=&#34;Amount&#34; SortExpression=&#34;Amount&#34;&gt; &lt;ItemTemplate&gt; &lt;asp:Label ID=&#34;Label1&#34; runat=&#34;server&#34; Text=&#39;&lt;%# Bind(&#34;Amount&#34;) %&gt;&#39;&gt;&lt;/asp:Label&gt; &lt;/ItemTemplate&gt; &lt;FooterTemplate&gt; &lt;asp:TextBox ID=&#34;txtfamtt&#34; runat=&#34;server&#34; Width=&#34;100px&#34;&gt;&lt;/asp:TextBox&gt; &lt;/FooterTemplate&gt; &lt;/asp:TemplateField&gt; &lt;asp:TemplateField HeaderText=&#34;Percentage&#34; SortExpression=&#34;Percentage&#34;&gt; &lt;ItemTemplate&gt; &lt;asp:Label ID=&#34;Label2&#34; runat=&#34;server&#34; Text=&#39;&lt;%# Bind(&#34;Percentage&#34;) %&gt;&#39;&gt;&lt;/asp:Label&gt; &lt;/ItemTemplate&gt; &lt;FooterTemplate&gt; &lt;asp:TextBox ID=&#34;txtfpercentage&#34; runat=&#34;server&#34; Width=&#34;100px&#34;&gt;&lt;/asp:TextBox&gt; &lt;/FooterTemplate&gt; &lt;/asp:TemplateField&gt;</pre> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/424341/Make-ASPNet-GridView-Column-Cell-non-editable-ReadOnly/https://www.aspforums.net:443/Threads/424341/Make-ASPNet-GridView-Column-Cell-non-editable-ReadOnly/Mon, 12 Feb 2018 20:53:36 GMT