<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/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>Sreedhar Koganti&amp;#39;s Blog - All Comments</title><link>http://weblogs.asp.net/skoganti/default.aspx</link><description>All About .Net and Sreedhar Koganti</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Debug Build: 20510.895)</generator><item><title>re: My back home story (Which lead me choose or to be in IT)</title><link>http://weblogs.asp.net/skoganti/archive/2004/11/15/my-back-home-story-which-lead-me-choose-or-to-be-in-it.aspx#7228736</link><pubDate>Tue, 13 Oct 2009 12:14:34 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7228736</guid><dc:creator>Anusha</dc:creator><description>&lt;p&gt;Really....ur explanation is excellent..and am proud of our telugu Language....&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7228736" width="1" height="1"&gt;</description></item><item><title>re: Great ASP.NET 2.0 Tutorial Videos Online (Via ScottG blog)</title><link>http://weblogs.asp.net/skoganti/archive/2006/02/27/439217.aspx#7184300</link><pubDate>Fri, 28 Aug 2009 18:06:08 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7184300</guid><dc:creator>Commentator A</dc:creator><description>&lt;p&gt;This is test for comment function!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7184300" width="1" height="1"&gt;</description></item><item><title>re: Very useful OnClientClick property for developers (in 2.0)</title><link>http://weblogs.asp.net/skoganti/archive/2004/10/24/246980.aspx#7146684</link><pubDate>Mon, 13 Jul 2009 17:53:14 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7146684</guid><dc:creator>NotSreedhar</dc:creator><description>&lt;p&gt;Nice, thanks. I had found the example somewhere else, but they had left off the return portion. I'm using the 2.0 version, &lt;/p&gt;
&lt;p&gt;&amp;lt;asp:button id=&amp;quot;btnClick&amp;quot; runat=&amp;quot;server&amp;quot; OnClientClick=&amp;quot;return confirm('Are you the people from Planet Earth?');&amp;quot; text=&amp;quot;Button&amp;quot;&amp;gt;&amp;lt;/asp:button&amp;gt;&lt;/p&gt;
&lt;p&gt;If you leave the return portion out, the user still is presented with the message, and they can click ok or cancel, but the code still executes either way, so make sure you add the return!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7146684" width="1" height="1"&gt;</description></item><item><title>re: Default maxRequestLength given hard time to me!!</title><link>http://weblogs.asp.net/skoganti/archive/2004/02/22/78124.aspx#7109435</link><pubDate>Sat, 06 Jun 2009 06:45:01 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7109435</guid><dc:creator>Prabhakar</dc:creator><description>&lt;p&gt;can yo explain different parametres of httpRuntime&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7109435" width="1" height="1"&gt;</description></item><item><title>re: Take advantage of DefaultButton property in ASP.NET 2.0</title><link>http://weblogs.asp.net/skoganti/archive/2004/09/20/231695.aspx#7046162</link><pubDate>Tue, 14 Apr 2009 16:13:49 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7046162</guid><dc:creator>viswavikass</dc:creator><description>&lt;p&gt;Hi Valli, &lt;/p&gt;
&lt;p&gt;I have similar requirements and, adding the defaultbutton attribute to the panel, worked for me.&lt;/p&gt;
&lt;p&gt;Below is my code:&lt;/p&gt;
&lt;p&gt;1. ASPX&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;form id=&amp;quot;form1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;div&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;asp:Panel ID=&amp;quot;panel1&amp;quot; runat=&amp;quot;server&amp;quot; defaultbutton=&amp;quot;btnsubmit1&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;table runat=&amp;quot;server&amp;quot; width=&amp;quot;100%&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;tr runat=&amp;quot;server&amp;quot; style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;td style=&amp;quot;width:50%&amp;quot; align=&amp;quot;right&amp;quot; colspan=&amp;quot;1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;asp:Label runat=&amp;quot;server&amp;quot; id= &amp;quot;lblValue&amp;quot; Text=&amp;quot;Value&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/td&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;td style=&amp;quot;width:50%&amp;quot; align=&amp;quot;left&amp;quot; colspan=&amp;quot;1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;asp:TextBox id=&amp;quot;txtValue&amp;quot; runat=&amp;quot;server&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/td&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/tr&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;tr style=&amp;quot;width:50%&amp;quot; align=&amp;quot;center&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;td colspan=&amp;quot;2&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;asp:Button ID=&amp;quot;btnCancel&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Cancel&amp;quot; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;onclick=&amp;quot;btnCancel_Click&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;asp:button runat=&amp;quot;server&amp;quot; id=&amp;quot;btnsubmit1&amp;quot; OnClick=&amp;quot;btnSubmit_Click&amp;quot; Text =&amp;quot;Click Here&amp;quot;&amp;gt;&amp;lt;/asp:button&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/td&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/tr&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/table&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:Panel&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/form&amp;gt;&lt;/p&gt;
&lt;p&gt;2. Code-behind:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;protected void Page_Load(object sender, EventArgs e)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(!IsPostBack)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;btnsubmit1.Attributes.Add(&amp;quot;OnClick&amp;quot;, &amp;quot;return fnsubmit();&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;txtValue.Focus();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;protected void btnSubmit_Click(object sender, EventArgs e)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;txtValue.Text = &amp;quot;submitted&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;protected void btnCancel_Click(object sender, EventArgs e)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;txtValue.Text = &amp;quot;cancelled&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Viswanathan&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7046162" width="1" height="1"&gt;</description></item><item><title>re: Now you could easily specify default button/focus on control (ASP.NET 2.0)</title><link>http://weblogs.asp.net/skoganti/archive/2004/11/01/250482.aspx#7032379</link><pubDate>Tue, 07 Apr 2009 05:54:10 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7032379</guid><dc:creator>rahul</dc:creator><description>&lt;p&gt;Setting a default focus is so easy as you specified, but how to deal with the situation where we need to define focus at runtime?&lt;/p&gt;
&lt;p&gt;Let say we have a page where we are adding some details to the grid this time the &amp;quot;add&amp;quot; button is visible. so the default focus should be on add button.Now after adding the data in the grid we want to edit it. this time the add button will be invisible and edit button is visible. Now the default focus should be on &amp;quot;Edit&amp;quot; button. How to handel this situation coz i was able to set the default focus only to add button, but at the time of editing the details when i changed the focus of the page, it dint worked for me.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7032379" width="1" height="1"&gt;</description></item><item><title>re: Very useful OnClientClick property for developers (in 2.0)</title><link>http://weblogs.asp.net/skoganti/archive/2004/10/24/246980.aspx#6990092</link><pubDate>Sun, 22 Mar 2009 08:40:05 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6990092</guid><dc:creator>Anders</dc:creator><description>&lt;p&gt;Dbelley office found a solution to the resources-problem:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.vbforums.com/showthread.php?t=554775"&gt;www.vbforums.com/showthread.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;:)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6990092" width="1" height="1"&gt;</description></item><item><title>re: Hey!!! Once gain we landed on Mars!!!</title><link>http://weblogs.asp.net/skoganti/archive/2004/01/04/47564.aspx#6933049</link><pubDate>Sun, 01 Mar 2009 05:30:23 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6933049</guid><dc:creator>Albina-qc</dc:creator><description>&lt;p&gt;&amp;lt;a href= &lt;a rel="nofollow" target="_new" href="http://adultpersonalsfinder.com"&gt;adultpersonalsfinder.com&lt;/a&gt; &amp;gt;chat online&amp;lt;/a&amp;gt; &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6933049" width="1" height="1"&gt;</description></item><item><title>re: Hey!!! Once gain we landed on Mars!!!</title><link>http://weblogs.asp.net/skoganti/archive/2004/01/04/47564.aspx#6933048</link><pubDate>Sun, 01 Mar 2009 05:30:04 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6933048</guid><dc:creator>ellaela-oh</dc:creator><description>&lt;p&gt;&amp;lt;a href= &lt;a rel="nofollow" target="_new" href="http://adult-singles-finder.com"&gt;adult-singles-finder.com&lt;/a&gt; &amp;gt;singles&amp;lt;/a&amp;gt; &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6933048" width="1" height="1"&gt;</description></item><item><title>re: It's all about ASP.NET 2.0 GridView with SQLDataSource Presentation Code/Slides</title><link>http://weblogs.asp.net/skoganti/archive/2006/05/22/It_2700_s-all-about-ASP.NET-2.0-GridView-with-SQLDataSource-Presentation-Code_2F00_Slides.aspx#6904738</link><pubDate>Sat, 14 Feb 2009 16:52:42 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6904738</guid><dc:creator>sameer</dc:creator><description>&lt;p&gt;i want to use asp.net with c# and make a program using gridview control to insert data, delete data,, update data and select data .. using both button control and datagridview control.&lt;/p&gt;
&lt;p&gt;plz send me that coding..&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; Thanks..&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6904738" width="1" height="1"&gt;</description></item></channel></rss>