<?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/opensearch/1.1/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/&quot;AkUBRng6eyp7ImA9WxBUE0k.&quot;'><id>tag:blogger.com,1999:blog-6843189447024722791</id><updated>2010-02-28T01:10:57.613-08:00</updated><title>Journey to the ASP.NET World</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dotnetauthority.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6843189447024722791/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://dotnetauthority.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sen Thomas</name><uri>http://www.blogger.com/profile/09190965147842770875</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;AkUBRng5eSp7ImA9WxBUE0k.&quot;'><id>tag:blogger.com,1999:blog-6843189447024722791.post-8894841604468901093</id><published>2010-02-28T01:10:00.000-08:00</published><updated>2010-02-28T01:10:57.621-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-02-28T01:10:57.621-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Update Controls Outside Update Panel With Out Postback'/><category scheme='http://www.blogger.com/atom/ns#' term='Script Manager'/><category scheme='http://www.blogger.com/atom/ns#' term='Update Panel'/><title>Ajax, Update Panel, Script Manager, Update Controls Outside Update Panel With Out Postback</title><content type='html'>Here my first post is regarding  Ajax.&lt;br /&gt;
So here I am going to give you a simple example how to update the controls outside the update panel without postback&lt;br /&gt;
 &lt;br /&gt;
Code behind file&lt;br /&gt;
 &lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.Linq;&lt;br /&gt;
using System.Web;&lt;br /&gt;
using System.Web.UI;&lt;br /&gt;
using System.Web.UI.WebControls;&lt;br /&gt;
public partial class scriptMgr : System.Web.UI.Page&lt;br /&gt;
{&lt;br /&gt;
    protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
    }&lt;br /&gt;
    protected void Button1_Click(object sender, EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        Label1.Text = "Label1 upadte" + DateTime.Now.ToString();&lt;br /&gt;
        Label2.Text = "Label2 updated" + DateTime.Now.ToString();&lt;br /&gt;
        if (ScriptManager1.IsInAsyncPostBack)&lt;br /&gt;
        {&lt;br /&gt;
            &lt;br /&gt;
            ScriptManager1.RegisterDataItem(Label3, DateTime.Now.ToString());&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    protected void Button2_Click(object sender, EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        Label1.Text = "Label1 " + DateTime.Now.ToString();&lt;br /&gt;
        Label2.Text = "Label2 " + DateTime.Now.ToString();&lt;br /&gt;
        if (ScriptManager1.IsInAsyncPostBack)&lt;br /&gt;
        {&lt;br /&gt;
            ScriptManager1.RegisterDataItem(Label3, "Label3 "+DateTime.Now.ToString());&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
Aspx page&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6843189447024722791-8894841604468901093?l=dotnetauthority.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetauthority.blogspot.com/feeds/8894841604468901093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetauthority.blogspot.com/2010/02/ajax-update-panel-script-manager-update.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6843189447024722791/posts/default/8894841604468901093?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6843189447024722791/posts/default/8894841604468901093?v=2'/><link rel='alternate' type='text/html' href='http://dotnetauthority.blogspot.com/2010/02/ajax-update-panel-script-manager-update.html' title='Ajax, Update Panel, Script Manager, Update Controls Outside Update Panel With Out Postback'/><author><name>Sen Thomas</name><uri>http://www.blogger.com/profile/09190965147842770875</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='17609953319817476545'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry gd:etag='W/&quot;A0YCR34yeyp7ImA9WxBUEEQ.&quot;'><id>tag:blogger.com,1999:blog-6843189447024722791.post-5744526847254650397</id><published>2010-02-25T03:54:00.001-08:00</published><updated>2010-02-25T03:59:26.093-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-02-25T03:59:26.093-08:00</app:edited><title>Very Simple Linq Usage Sample</title><content type='html'>Here I will give one very simple linq sample code.&lt;br /&gt;&lt;br /&gt;A query that will return each of the items in the &lt;code&gt;people&lt;/code&gt;  &lt;code&gt;List&lt;/code&gt; collection by aliasing the &lt;code&gt;people&lt;/code&gt;  collection with a variable &lt;code&gt;p&lt;/code&gt; and then selecting &lt;code&gt;p&lt;/code&gt;  (&lt;code&gt;p&lt;/code&gt; is of type &lt;code&gt;string&lt;/code&gt; remember as the &lt;code&gt;people&lt;/code&gt;  &lt;code&gt;List&lt;/code&gt; is a collection of &lt;code&gt;immutable string&lt;/code&gt;  objects). &lt;p&gt;You may notice that query is of type &lt;code&gt;IEnumerable&lt;string&gt;&lt;/string&gt;&lt;/code&gt;  - this is because we know that query will hold an enumeration of type &lt;code&gt;string&lt;/code&gt;.  When we &lt;code&gt;foreach&lt;/code&gt; through the query the &lt;code&gt;GetEnumerator&lt;/code&gt;  of query is invoked.&lt;/p&gt;&lt;br /&gt;protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;   {&lt;br /&gt;       List&lt;string&gt; people = new List&lt;string&gt;(){&lt;br /&gt;        "Sen", "Paulose", "Thomas", "Raju",&lt;br /&gt;         "Anil", "Shyam", "Saidwin"&lt;br /&gt;       };&lt;br /&gt;&lt;br /&gt;       IEnumerable&lt;string&gt; query = from p in people select p;&lt;br /&gt;       foreach (string person in query)&lt;br /&gt;       {&lt;br /&gt;         Response.Write(person);&lt;br /&gt;       }&lt;br /&gt;   }&lt;/string&gt;&lt;/string&gt;&lt;/string&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6843189447024722791-5744526847254650397?l=dotnetauthority.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetauthority.blogspot.com/feeds/5744526847254650397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetauthority.blogspot.com/2010/02/very-simple-linq-usage-sample.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6843189447024722791/posts/default/5744526847254650397?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6843189447024722791/posts/default/5744526847254650397?v=2'/><link rel='alternate' type='text/html' href='http://dotnetauthority.blogspot.com/2010/02/very-simple-linq-usage-sample.html' title='Very Simple Linq Usage Sample'/><author><name>Sen Thomas</name><uri>http://www.blogger.com/profile/09190965147842770875</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='17609953319817476545'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>