<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-602850767119300869.post3891423165444792811..comments</id><updated>2012-02-18T17:48:43.339-05:00</updated><category term='Internet browsers'/><category term='Visual Studio'/><category term='Social'/><category term='jQuery'/><category term='IIS 7'/><category term='#if'/><category term='CSS'/><category term='better coding'/><category term='View State'/><category term='CodeProject'/><category term='AJAX'/><category term='patterns and practices'/><category term='ASP.NET MVC'/><category term='Microsoft Ajax Minifier'/><category term='ASP.NET'/><category term='C#'/><category term='Guidance Automation'/><category term='Open source'/><category term='Community'/><category term='WCSF'/><category term='VirtualEarth'/><category term='SEO'/><category term='best practice'/><category term='GPS Location Tracking'/><category term='architecture'/><category term='JavaScript'/><category term='CDN'/><category term='Windows 7'/><category term='Color Picker Extender'/><category term='AJAX Control Toolkit'/><title type='text'>Comments on Web.NET: ScriptManager vs. ToolkitScriptManager</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.turlov.com/feeds/3891423165444792811/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/602850767119300869/3891423165444792811/comments/default'/><link rel='alternate' type='text/html' href='http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html'/><author><name>Alexander Turlov</name><uri>http://www.blogger.com/profile/03810972326430206042</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-602850767119300869.post-2871401330037139285</id><published>2012-01-26T11:04:54.746-05:00</published><updated>2012-01-26T11:04:54.746-05:00</updated><title type='text'>I have also had a weird experience were tabs do no...</title><content type='html'>I have also had a weird experience were tabs do not display using SM, but do display using TSM after upgrading from 1.0.6 to 3.5.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/602850767119300869/3891423165444792811/comments/default/2871401330037139285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/602850767119300869/3891423165444792811/comments/default/2871401330037139285'/><link rel='alternate' type='text/html' href='http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html?showComment=1327593894746#c2871401330037139285' title=''/><author><name>tonyobva</name><uri>http://www.blogger.com/profile/03429663989132561661</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html' ref='tag:blogger.com,1999:blog-602850767119300869.post-3891423165444792811' source='http://www.blogger.com/feeds/602850767119300869/posts/default/3891423165444792811' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-965446696'/></entry><entry><id>tag:blogger.com,1999:blog-602850767119300869.post-643050782433896032</id><published>2011-06-26T07:25:25.638-04:00</published><updated>2011-06-26T07:25:25.638-04:00</updated><title type='text'>AFAIK, ToolkitScriptManager control was superseded...</title><content type='html'>AFAIK, ToolkitScriptManager control was superseded by CompositeScript property of  ScriptManager in .Net 3.5/4.: see http://www.asp.net/ajaxlibrary/Combining%20Client%20Scripts%20into%20a%20Composite%20Script.ashx</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/602850767119300869/3891423165444792811/comments/default/643050782433896032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/602850767119300869/3891423165444792811/comments/default/643050782433896032'/><link rel='alternate' type='text/html' href='http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html?showComment=1309087525638#c643050782433896032' title=''/><author><name>Michael Freidgeim</name><uri>http://www.blogger.com/profile/12065237420410711650</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html' ref='tag:blogger.com,1999:blog-602850767119300869.post-3891423165444792811' source='http://www.blogger.com/feeds/602850767119300869/posts/default/3891423165444792811' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1223704457'/></entry><entry><id>tag:blogger.com,1999:blog-602850767119300869.post-413203058568992650</id><published>2011-05-15T08:07:34.073-04:00</published><updated>2011-05-15T08:07:34.073-04:00</updated><title type='text'>While the ToolkitScriptManager control will combin...</title><content type='html'>While the ToolkitScriptManager control will combine the .axd files with JavaScript, it won&amp;#39;t combine the .axd files with CSS. You need to use the CombineAndMinify package to combine and minify those files. It is at http://www.codeproject.com/KB/aspnet/CombineAndMinify.aspx</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/602850767119300869/3891423165444792811/comments/default/413203058568992650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/602850767119300869/3891423165444792811/comments/default/413203058568992650'/><link rel='alternate' type='text/html' href='http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html?showComment=1305461254073#c413203058568992650' title=''/><author><name>Matt Perdeck</name><uri>http://www.blogger.com/profile/09916055952176410556</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html' ref='tag:blogger.com,1999:blog-602850767119300869.post-3891423165444792811' source='http://www.blogger.com/feeds/602850767119300869/posts/default/3891423165444792811' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-184191965'/></entry><entry><id>tag:blogger.com,1999:blog-602850767119300869.post-4278226255300376291</id><published>2010-02-02T10:18:03.263-05:00</published><updated>2010-02-02T10:18:03.263-05:00</updated><title type='text'>Hello

From my practice I experienced a situation ...</title><content type='html'>Hello&lt;br /&gt;&lt;br /&gt;From my practice I experienced a situation when using TSM increased page load performance. There was a single hint - set &lt;br /&gt;&lt;br /&gt;LoadScriptsBeforeUI = false</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/602850767119300869/3891423165444792811/comments/default/4278226255300376291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/602850767119300869/3891423165444792811/comments/default/4278226255300376291'/><link rel='alternate' type='text/html' href='http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html?showComment=1265123883263#c4278226255300376291' title=''/><author><name>Виктор</name><uri>http://www.blogger.com/profile/09572928444670093763</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html' ref='tag:blogger.com,1999:blog-602850767119300869.post-3891423165444792811' source='http://www.blogger.com/feeds/602850767119300869/posts/default/3891423165444792811' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1053327632'/></entry><entry><id>tag:blogger.com,1999:blog-602850767119300869.post-6365644861554080497</id><published>2008-12-15T12:53:00.000-05:00</published><updated>2008-12-15T12:53:00.000-05:00</updated><title type='text'>Hello, I am modifying a web application that also ...</title><content type='html'>Hello, I am modifying a web application that also uses ajaxToolkit:ToolkitScriptManager; specifically, I need to make some WebService methods (defined in separate .asmx files) accessible through javascript from the client.&lt;BR/&gt;&lt;BR/&gt;This, simply put, doesn't work; but if I replace the ToolkitScriptManager with the standard asp:ScriptManager, it works again.&lt;BR/&gt;&lt;BR/&gt;So it would seem that the ToolkitScriptManager has the significant drawback of preventing association of WebServices to client script by normal means; can anyone confirm that? I could not find any documentation of this anywhere on the net.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/602850767119300869/3891423165444792811/comments/default/6365644861554080497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/602850767119300869/3891423165444792811/comments/default/6365644861554080497'/><link rel='alternate' type='text/html' href='http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html?showComment=1229363580000#c6365644861554080497' title=''/><author><name>Emanuele Ciriachi</name><uri>http://www.blogger.com/profile/17503321778796520550</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_o9IGZbe7cFY/R8HTHadD-6I/AAAAAAAAAT0/XY8xcwh8CAI/S220/1230787.556288.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html' ref='tag:blogger.com,1999:blog-602850767119300869.post-3891423165444792811' source='http://www.blogger.com/feeds/602850767119300869/posts/default/3891423165444792811' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-394621847'/></entry><entry><id>tag:blogger.com,1999:blog-602850767119300869.post-4187642904645019780</id><published>2008-06-20T10:23:00.000-04:00</published><updated>2008-06-20T10:23:00.000-04:00</updated><title type='text'>Hi All,&lt;br&gt;&lt;br&gt;I got solution for the above issue....</title><content type='html'>Hi All,&lt;BR/&gt;&lt;BR/&gt;I got solution for the above issue. I was trying to set focus using the code  &lt;BR/&gt;&lt;BR/&gt;this.ScriptManager1.SetFocus(myControlName.ClientID); &lt;BR/&gt;&lt;BR/&gt;and I wrote this code in my SelectedIndexChanged Event Function. That time this code didn't work.&lt;BR/&gt;&lt;BR/&gt; Now I changed this code to Page Load Function i.e.&lt;BR/&gt;&lt;BR/&gt;    protected void Page_Load(object sender, EventArgs e)&lt;BR/&gt;    {&lt;BR/&gt;        if (!IsPostBack)&lt;BR/&gt;        {&lt;BR/&gt;                 this.ScriptManager1.SetFocus(myControlName.ClientID);&lt;BR/&gt;        }&lt;BR/&gt;        else&lt;BR/&gt;        {&lt;BR/&gt;                this.ScriptManager1.SetFocus(GetPostBackControl(this.Page).ClientID);&lt;BR/&gt;        }&lt;BR/&gt;    }&lt;BR/&gt;&lt;BR/&gt;Here I am using a function GetPostBackControl() to identify the current postbacking control and I am setting focus to the same control. If you want to move focus to any other control, just use a Switch Statment.&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;    public static System.Web.UI.Control GetPostBackControl(System.Web.UI.Page page)&lt;BR/&gt;    {&lt;BR/&gt;        Control control = null;&lt;BR/&gt;        string ctrlname = page.Request.Params["__EVENTTARGET"];&lt;BR/&gt;        if (ctrlname != null &amp;&amp; ctrlname != String.Empty)&lt;BR/&gt;        {&lt;BR/&gt;            control = page.FindControl(ctrlname);&lt;BR/&gt;        }&lt;BR/&gt;        // if __EVENTTARGET is null, the control is a button type and we need to&lt;BR/&gt;        // iterate over the form collection to find it&lt;BR/&gt;        else&lt;BR/&gt;        {&lt;BR/&gt;            string ctrlStr = String.Empty;&lt;BR/&gt;            Control c = null;&lt;BR/&gt;            foreach (string ctl in page.Request.Form)&lt;BR/&gt;            {&lt;BR/&gt;                // handle ImageButton controls ...&lt;BR/&gt;                if (ctl.EndsWith(".x") || ctl.EndsWith(".y"))&lt;BR/&gt;                {&lt;BR/&gt;                    ctrlStr = ctl.Substring(0, ctl.Length - 2);&lt;BR/&gt;                    c = page.FindControl(ctrlStr);&lt;BR/&gt;                }&lt;BR/&gt;                else&lt;BR/&gt;                {&lt;BR/&gt;                    c = page.FindControl(ctl);&lt;BR/&gt;                }&lt;BR/&gt;                if (c is System.Web.UI.WebControls.Button ||&lt;BR/&gt;                         c is System.Web.UI.WebControls.ImageButton)&lt;BR/&gt;                {&lt;BR/&gt;                    control = c;&lt;BR/&gt;                    break;&lt;BR/&gt;                }&lt;BR/&gt;            }&lt;BR/&gt;        }&lt;BR/&gt;        return control;&lt;BR/&gt;    }&lt;BR/&gt;&lt;BR/&gt;Thank you,</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/602850767119300869/3891423165444792811/comments/default/4187642904645019780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/602850767119300869/3891423165444792811/comments/default/4187642904645019780'/><link rel='alternate' type='text/html' href='http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html?showComment=1213971780000#c4187642904645019780' title=''/><author><name>Lesh</name><uri>http://www.blogger.com/profile/07504856385587860375</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html' ref='tag:blogger.com,1999:blog-602850767119300869.post-3891423165444792811' source='http://www.blogger.com/feeds/602850767119300869/posts/default/3891423165444792811' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1764319167'/></entry><entry><id>tag:blogger.com,1999:blog-602850767119300869.post-902561652491573548</id><published>2008-06-19T14:46:00.000-04:00</published><updated>2008-06-19T14:46:00.000-04:00</updated><title type='text'>Hi All,&lt;br&gt;&lt;br&gt;I need one help from you. I am tryi...</title><content type='html'>Hi All,&lt;BR/&gt;&lt;BR/&gt;I need one help from you. I am trying to set focus todifferent controls after my different PostBack events, butthis.ScriptManager1.SetFocus(myControlName.ClientID); is not working.&lt;BR/&gt;&lt;BR/&gt;In my ASPX page I have RAD CONTROLS (RadComboBox and RadCalendar) and alsoI am using AjaxControlToolkit Controls (ToolkitScriptManager andModalPopupExtender) also.&lt;BR/&gt;&lt;BR/&gt;In my page, RadComboBox is inUpdatePanel - ContentTemplate area and on its SelectedIndexChangedfunction I am trying to set focus to another Control using the abovecode:&lt;BR/&gt;&lt;BR/&gt;this.ScriptManager1.SetFocus(myControlName.ClientID);&lt;BR/&gt;&lt;BR/&gt;but this is not working... Do anyone know any solution for this?&lt;BR/&gt;&lt;BR/&gt;Can I use ToolkitScriptManager for set focus?&lt;BR/&gt;&lt;BR/&gt;Thanks...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/602850767119300869/3891423165444792811/comments/default/902561652491573548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/602850767119300869/3891423165444792811/comments/default/902561652491573548'/><link rel='alternate' type='text/html' href='http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html?showComment=1213901160000#c902561652491573548' title=''/><author><name>Lesh</name><uri>http://www.blogger.com/profile/07504856385587860375</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.turlov.com/2008/05/scriptmanager-vs-toolkitscriptmanager.html' ref='tag:blogger.com,1999:blog-602850767119300869.post-3891423165444792811' source='http://www.blogger.com/feeds/602850767119300869/posts/default/3891423165444792811' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1764319167'/></entry></feed>
