<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.fuzzydev.com/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.Net 2.0 DataList Control - Basics</title><link>http://www.fuzzydev.com/blogs/dotnet/archive/2006/08/08/ASPNet2_DataList_Control_Basics.aspx</link><description>DataList control is a template driven data control which allows us to display a list of data in a customizable format. Simply speaking we will define how the data is to be displayed and assign a data source, the control in turn uses the data source and</description><dc:language>en-US</dc:language><generator>CommunityServer 2.0 (Build: 60404.2676)</generator><item><title>re: ASP.Net 2.0 DataList Control - Basics</title><link>http://www.fuzzydev.com/blogs/dotnet/archive/2006/08/08/ASPNet2_DataList_Control_Basics.aspx#55</link><pubDate>Fri, 11 Aug 2006 23:26:56 GMT</pubDate><guid isPermaLink="false">daf517d6-b4b1-4612-b76e-1f60975996ca:55</guid><dc:creator>Sujith</dc:creator><description>I was waiting for an exclusive article on Data list control &amp;amp; templates and i ve got one..thanks to sachin!!!</description></item><item><title>re: ASP.Net 2.0 DataList Control - Basics</title><link>http://www.fuzzydev.com/blogs/dotnet/archive/2006/08/08/ASPNet2_DataList_Control_Basics.aspx#56</link><pubDate>Thu, 17 Aug 2006 07:30:12 GMT</pubDate><guid isPermaLink="false">daf517d6-b4b1-4612-b76e-1f60975996ca:56</guid><dc:creator>kumaresh</dc:creator><description>Nice Very Informative </description></item><item><title>re: ASP.Net 2.0 DataList Control - Basics</title><link>http://www.fuzzydev.com/blogs/dotnet/archive/2006/08/08/ASPNet2_DataList_Control_Basics.aspx#57</link><pubDate>Thu, 17 Aug 2006 07:32:05 GMT</pubDate><guid isPermaLink="false">daf517d6-b4b1-4612-b76e-1f60975996ca:57</guid><dc:creator>kumaresh</dc:creator><description>Really It is a great article ... i was having so many doubts about DataList controls ..now no doubt..Thanks A lot</description></item><item><title>re: ASP.Net 2.0 DataList Control - Basics</title><link>http://www.fuzzydev.com/blogs/dotnet/archive/2006/08/08/ASPNet2_DataList_Control_Basics.aspx#74</link><pubDate>Tue, 02 Jan 2007 00:21:18 GMT</pubDate><guid isPermaLink="false">daf517d6-b4b1-4612-b76e-1f60975996ca:74</guid><dc:creator>Pini Usha</dc:creator><description>I can not find out why u use the BlogManager to perform the delete update and insert , instead of invoking the right method in your ObjectDataSource.
&lt;br&gt;I must admit it didn't work for DataList but for a GridView it worked like a charm.
&lt;br&gt;
&lt;br&gt;If u have any idea why the DataList do not fire the delete, insert or update i would be happy to hear.
&lt;br&gt;
&lt;br&gt;Thanks.
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;</description></item><item><title>re: ASP.Net 2.0 DataList Control - Basics</title><link>http://www.fuzzydev.com/blogs/dotnet/archive/2006/08/08/ASPNet2_DataList_Control_Basics.aspx#75</link><pubDate>Tue, 02 Jan 2007 01:45:52 GMT</pubDate><guid isPermaLink="false">daf517d6-b4b1-4612-b76e-1f60975996ca:75</guid><dc:creator>Sachin Joshi</dc:creator><description>Hi Usha,
&lt;br&gt;
&lt;br&gt;We can also specify UpdateMethod, DeleteMethod and InsertMethod to our ObjectDataSource control, but I prefer to invoke these methods in the respective events as it gives me complete control over validations.
&lt;br&gt;
&lt;br&gt;Also when we specify the methods declaratively, the page parser has to understand and invoke the respective methods through reflection, this is an overhead and we have to pay performance penalty.
&lt;br&gt;
&lt;br&gt;So I generally specify the SelectCommand to the objectdatasource control and for other operations I use the respective events.
&lt;br&gt;
&lt;br&gt;Coming to the problem of events not firing, this could happen if the commandButton/LinkButton/ImageButton is not placed in the proper template.
&lt;br&gt;
&lt;br&gt;For example in order to fire UpdateCommand you will have to place the button in the EditItemTemplate.
&lt;br&gt;
&lt;br&gt;Hope this helps you...</description></item><item><title>re: ASP.Net 2.0 DataList Control - Basics</title><link>http://www.fuzzydev.com/blogs/dotnet/archive/2006/08/08/ASPNet2_DataList_Control_Basics.aspx#76</link><pubDate>Sun, 07 Jan 2007 07:39:08 GMT</pubDate><guid isPermaLink="false">daf517d6-b4b1-4612-b76e-1f60975996ca:76</guid><dc:creator>Pini Usha</dc:creator><description>It did help. It didn't fire because i add the delete and edit not in the edit template as u said. &amp;nbsp; &lt;BR&gt;Thanks for your reply.</description></item><item><title>re: ASP.Net 2.0 DataList Control - Basics</title><link>http://www.fuzzydev.com/blogs/dotnet/archive/2006/08/08/ASPNet2_DataList_Control_Basics.aspx#77</link><pubDate>Thu, 18 Jan 2007 04:46:59 GMT</pubDate><guid isPermaLink="false">daf517d6-b4b1-4612-b76e-1f60975996ca:77</guid><dc:creator>TheMoat</dc:creator><description>can you add the definition of your objectdatasource &lt;BR&gt;and BlogCategory , BlogManager structure. &lt;BR&gt;&lt;BR&gt;Thanks for reply &lt;BR&gt;</description></item><item><title>re: ASP.Net 2.0 DataList Control - Basics</title><link>http://www.fuzzydev.com/blogs/dotnet/archive/2006/08/08/ASPNet2_DataList_Control_Basics.aspx#84</link><pubDate>Tue, 03 Apr 2007 01:38:57 GMT</pubDate><guid isPermaLink="false">daf517d6-b4b1-4612-b76e-1f60975996ca:84</guid><dc:creator>samson</dc:creator><description>Very nice Thanks 4 ur information &lt;BR&gt;</description></item></channel></rss>