<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/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>Setting the focus on a control after an async postback</title><link>http://msmvps.com/blogs/luisabreu/archive/2006/11/07/Setting-the-focus-on-a-control-after-an-async-postback.aspx</link><description>I already had a post prepared on how to set the focus on a control after an async postback. Unfortunately, it went directly to "garbadge" since now it's all too easy: we can do that by using the new SetFocusmethod exposed by the ScriptManager class. Here</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: Setting the focus on a control after an async postback</title><link>http://msmvps.com/blogs/luisabreu/archive/2006/11/07/Setting-the-focus-on-a-control-after-an-async-postback.aspx#1005153</link><pubDate>Fri, 06 Jul 2007 13:32:52 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1005153</guid><dc:creator>Tarique</dc:creator><description>&lt;p&gt;Great help for me. Lots of QA bugs solved.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1005153" width="1" height="1"&gt;</description></item><item><title>re: Setting the focus on a control after an async postback</title><link>http://msmvps.com/blogs/luisabreu/archive/2006/11/07/Setting-the-focus-on-a-control-after-an-async-postback.aspx#941425</link><pubDate>Mon, 04 Jun 2007 09:15:17 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:941425</guid><dc:creator>luisabreu</dc:creator><description>&lt;p&gt;hello.&lt;/p&gt;
&lt;p&gt;i think that you should really migrate to the most recent version since there were some problems with focus on the previous version. &lt;/p&gt;
&lt;p&gt;anyway, you can try to handle the endrequest event on the client side and then set the focus on a control.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=941425" width="1" height="1"&gt;</description></item><item><title>re: Setting the focus on a control after an async postback</title><link>http://msmvps.com/blogs/luisabreu/archive/2006/11/07/Setting-the-focus-on-a-control-after-an-async-postback.aspx#941423</link><pubDate>Mon, 04 Jun 2007 09:13:38 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:941423</guid><dc:creator>luisabreu</dc:creator><description>&lt;p&gt;hello.&lt;/p&gt;
&lt;p&gt;i think that you should really migrate to the most recent version since there were some problems with focus on the previous version. &lt;/p&gt;
&lt;p&gt;anyway, you can try to handle the endrequest event on the client side and then set the focus on a control.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=941423" width="1" height="1"&gt;</description></item><item><title>re: Setting the focus on a control after an async postback</title><link>http://msmvps.com/blogs/luisabreu/archive/2006/11/07/Setting-the-focus-on-a-control-after-an-async-postback.aspx#941337</link><pubDate>Mon, 04 Jun 2007 05:44:21 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:941337</guid><dc:creator>venkatesh</dc:creator><description>&lt;p&gt;I am using the Atlas beta version. I have textbox focus problem. The Solution suggested by you is not available in that version. Is there any way,to transfer the textbox focus?&lt;/p&gt;
&lt;p&gt;Please help?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=941337" width="1" height="1"&gt;</description></item><item><title>re: Setting the focus on a control after an async postback</title><link>http://msmvps.com/blogs/luisabreu/archive/2006/11/07/Setting-the-focus-on-a-control-after-an-async-postback.aspx#296427</link><pubDate>Thu, 16 Nov 2006 19:14:44 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:296427</guid><dc:creator>Eilon (Microsoft)</dc:creator><description>&lt;p&gt;This is a bug in IE6 and IE7. I just checked in a fix to ASP.NET AJAX a couple hours ago for this issue.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Eilon&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=296427" width="1" height="1"&gt;</description></item><item><title>re: Setting the focus on a control after an async postback</title><link>http://msmvps.com/blogs/luisabreu/archive/2006/11/07/Setting-the-focus-on-a-control-after-an-async-postback.aspx#268323</link><pubDate>Wed, 08 Nov 2006 22:50:08 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:268323</guid><dc:creator>luisabreu</dc:creator><description>&lt;p&gt;hi.&lt;/p&gt;
&lt;p&gt;you're right...i'm seeing this too...i'll try to find more info on what's going on...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=268323" width="1" height="1"&gt;</description></item><item><title>re: Setting the focus on a control after an async postback</title><link>http://msmvps.com/blogs/luisabreu/archive/2006/11/07/Setting-the-focus-on-a-control-after-an-async-postback.aspx#267772</link><pubDate>Wed, 08 Nov 2006 19:32:23 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:267772</guid><dc:creator>luisabreu</dc:creator><description>&lt;p&gt;To be honest, i just tested it in firefox and it worked. in fact, even in opera it works without a problem...i'll try to run it with IE to see if it works...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=267772" width="1" height="1"&gt;</description></item><item><title>re: Setting the focus on a control after an async postback</title><link>http://msmvps.com/blogs/luisabreu/archive/2006/11/07/Setting-the-focus-on-a-control-after-an-async-postback.aspx#266463</link><pubDate>Wed, 08 Nov 2006 13:12:50 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:266463</guid><dc:creator>riceboyler</dc:creator><description>&lt;p&gt;Luis, great post. &amp;nbsp;I asked this question on the ASP.NET forums yesterday, but perhaps you'll have an answer as well. &amp;nbsp;I've noticed that SetFocus() only seems to work on the first async postback, and fails thereafter. &amp;nbsp;Can you tell if I'm correct in what I'm seeing? &amp;nbsp;Thanks. &amp;nbsp;Jason&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=266463" width="1" height="1"&gt;</description></item></channel></rss>