<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to Disable Edit/Insert/New Buttons in DetailsView or GridView (ASP.NET 2.0+)</title>
	<atom:link href="http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/feed/" rel="self" type="application/rss+xml" />
	<link>http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/</link>
	<description>Specializing in Microsoft Web and Database and Sync Technologies</description>
	<lastBuildDate>Tue, 07 Sep 2010 12:49:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: NICE!</title>
		<link>http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/comment-page-1/#comment-27924</link>
		<dc:creator>NICE!</dc:creator>
		<pubDate>Sat, 28 Aug 2010 14:09:06 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/#comment-27924</guid>
		<description>Easy. Simple. You are the man! Looked for hours and this is the best solution I could find.</description>
		<content:encoded><![CDATA[<p>Easy. Simple. You are the man! Looked for hours and this is the best solution I could find.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: himanshu</title>
		<link>http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/comment-page-1/#comment-27889</link>
		<dc:creator>himanshu</dc:creator>
		<pubDate>Mon, 09 Aug 2010 21:00:11 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/#comment-27889</guid>
		<description>sir i just want to ask that
when i click edit button my delete button will get disable...</description>
		<content:encoded><![CDATA[<p>sir i just want to ask that<br />
when i click edit button my delete button will get disable&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Kellner</title>
		<link>http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/comment-page-1/#comment-26057</link>
		<dc:creator>Peter Kellner</dc:creator>
		<pubDate>Tue, 19 Jan 2010 20:45:51 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/#comment-26057</guid>
		<description>verbrauchsplan,

you can set the click event with onclick=.. or onclientclick=..</description>
		<content:encoded><![CDATA[<p>verbrauchsplan,</p>
<p>you can set the click event with onclick=.. or onclientclick=..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: verbrauchsplan</title>
		<link>http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/comment-page-1/#comment-26056</link>
		<dc:creator>verbrauchsplan</dc:creator>
		<pubDate>Tue, 19 Jan 2010 20:38:57 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/#comment-26056</guid>
		<description>But how do i set the click event ?</description>
		<content:encoded><![CDATA[<p>But how do i set the click event ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikos</title>
		<link>http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/comment-page-1/#comment-25840</link>
		<dc:creator>Nikos</dc:creator>
		<pubDate>Sat, 05 Dec 2009 15:22:25 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/#comment-25840</guid>
		<description>Phil!=Peter;
It should be THANK YOU PETER
Forgive me..</description>
		<content:encoded><![CDATA[<p>Phil!=Peter;<br />
It should be THANK YOU PETER<br />
Forgive me..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikos</title>
		<link>http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/comment-page-1/#comment-25838</link>
		<dc:creator>Nikos</dc:creator>
		<pubDate>Sat, 05 Dec 2009 14:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/#comment-25838</guid>
		<description>Thanks very much!
I was told to enhance the form so that submitting was possible even when Javascript was desabled,
THIS POST HELPED A LOT!! 
just use the standard button ..beautiful..  

THANK YOU Phil!</description>
		<content:encoded><![CDATA[<p>Thanks very much!<br />
I was told to enhance the form so that submitting was possible even when Javascript was desabled,<br />
THIS POST HELPED A LOT!!<br />
just use the standard button ..beautiful..  </p>
<p>THANK YOU Phil!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/comment-page-1/#comment-25819</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 04 Dec 2009 14:43:36 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/#comment-25819</guid>
		<description>Thanks Phil,

Mike&#039;s also got a pretty good way to do it as mentioned above that may be even simpler.

-Peter</description>
		<content:encoded><![CDATA[<p>Thanks Phil,</p>
<p>Mike&#8217;s also got a pretty good way to do it as mentioned above that may be even simpler.</p>
<p>-Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil Reid</title>
		<link>http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/comment-page-1/#comment-25818</link>
		<dc:creator>Phil Reid</dc:creator>
		<pubDate>Fri, 04 Dec 2009 14:35:28 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/#comment-25818</guid>
		<description>Peter,

  This a great, simple solution - Thankyou!

  It took me half a day of trawling through a number of more complicated solutions before I hit the jackpot with your post.

Works like a dream!  I&#039;ll be bookmarking your site so I can start here in future.

Kind Regards

Phil</description>
		<content:encoded><![CDATA[<p>Peter,</p>
<p>  This a great, simple solution &#8211; Thankyou!</p>
<p>  It took me half a day of trawling through a number of more complicated solutions before I hit the jackpot with your post.</p>
<p>Works like a dream!  I&#8217;ll be bookmarking your site so I can start here in future.</p>
<p>Kind Regards</p>
<p>Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/comment-page-1/#comment-25650</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 17 Nov 2009 15:51:18 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2009/09/06/detailsview-gridview-aspnet-disable-new-edit-delete-buttons/#comment-25650</guid>
		<description>Another approach...

Have in your aspx for the &lt;asp:DetailsView... 

AutoGenerateEditButton=&quot;True&quot;

Then in your codebehind, if you want rid of the button at any stage, chuck in a...

dvwCheeses.AutoGenerateEditButton = false;</description>
		<content:encoded><![CDATA[<p>Another approach&#8230;</p>
<p>Have in your aspx for the &lt;asp:DetailsView&#8230; </p>
<p>AutoGenerateEditButton=&quot;True&quot;</p>
<p>Then in your codebehind, if you want rid of the button at any stage, chuck in a&#8230;</p>
<p>dvwCheeses.AutoGenerateEditButton = false;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 4/34 queries in 0.027 seconds using disk
Content Delivery Network via cdn.peterkellner.net

Served from: peterkellner.net @ 2010-09-08 03:05:23 -->