<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Easily refresh an UpdatePanel, using JavaScript</title>
	<atom:link href="http://encosia.com/easily-refresh-an-updatepanel-using-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/</link>
	<description>ASP.NET and AJAX code, ideas, and examples.</description>
	<lastBuildDate>Wed, 16 May 2012 23:02:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: High-Flying</title>
		<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/#comment-68335</link>
		<dc:creator>High-Flying</dc:creator>
		<pubDate>Wed, 09 May 2012 12:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/13/easily-refresh-an-updatepanel-using-javascript/#comment-68335</guid>
		<description>Thanks so much, been a battle with this one</description>
		<content:encoded><![CDATA[<p>Thanks so much, been a battle with this one</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASP.NET and Ajax. About update panels, web methods, page methods and jQuery » Coding Still</title>
		<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/#comment-63081</link>
		<dc:creator>ASP.NET and Ajax. About update panels, web methods, page methods and jQuery » Coding Still</dc:creator>
		<pubDate>Sun, 26 Feb 2012 18:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/13/easily-refresh-an-updatepanel-using-javascript/#comment-63081</guid>
		<description>[...] Easily refresh an UpdatePanel, using JavaScript    Filed Under: Asp.net, Featured, Javascript Tagged With: asp.net AJAX, jQuery [...]</description>
		<content:encoded><![CDATA[<p>[...] Easily refresh an UpdatePanel, using JavaScript    Filed Under: Asp.net, Featured, Javascript Tagged With: asp.net AJAX, jQuery [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASP.NET and Ajax. All about update panels, web methods, page methods and jQuery » Coding Still</title>
		<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/#comment-63079</link>
		<dc:creator>ASP.NET and Ajax. All about update panels, web methods, page methods and jQuery » Coding Still</dc:creator>
		<pubDate>Sun, 26 Feb 2012 15:43:26 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/13/easily-refresh-an-updatepanel-using-javascript/#comment-63079</guid>
		<description>[...] Easily refresh an UpdatePanel, using JavaScript    Filed Under: Asp.net, Featured, Javascript Tagged With: asp.net AJAX, jQuery [...]</description>
		<content:encoded><![CDATA[<p>[...] Easily refresh an UpdatePanel, using JavaScript    Filed Under: Asp.net, Featured, Javascript Tagged With: asp.net AJAX, jQuery [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/#comment-62827</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Mon, 06 Feb 2012 15:40:10 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/13/easily-refresh-an-updatepanel-using-javascript/#comment-62827</guid>
		<description>It sounds like what you&#039;re discovering there is more related to WebForms&#039; approach to generating the page than using &lt;code&gt;__doPostBack&lt;/code&gt;. No matter how you trigger a postback, any code in OnLoad handlers is going to run. If you have code that only needs to run on the first pageview and not on subsequent postbacks, it&#039;s important to wrap that code in an &lt;code&gt;if (!IsPostBack)&lt;/code&gt; conditional so that it only executes on that first run through the page life cycle.</description>
		<content:encoded><![CDATA[<p>It sounds like what you&#8217;re discovering there is more related to WebForms&#8217; approach to generating the page than using <code>__doPostBack</code>. No matter how you trigger a postback, any code in OnLoad handlers is going to run. If you have code that only needs to run on the first pageview and not on subsequent postbacks, it&#8217;s important to wrap that code in an <code>if (!IsPostBack)</code> conditional so that it only executes on that first run through the page life cycle.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ezequiel</title>
		<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/#comment-62815</link>
		<dc:creator>Ezequiel</dc:creator>
		<pubDate>Sun, 05 Feb 2012 21:19:19 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/13/easily-refresh-an-updatepanel-using-javascript/#comment-62815</guid>
		<description>I was using this technique until recently as I discovered it does have a maybe dangerous side-effect. For some reason this technique will execute a DataBind on any other UpdatePanels on the page even if they have a Conditional UpdateMode and ChildrenAsTriggers as false. So, if you have any kind of decalarative DataSource on the page it would most likely rebing that and make unnecessary calls to the database.

I&#039;d say actually emulating a click from a trigger button is a safer bet.

Ezequiel</description>
		<content:encoded><![CDATA[<p>I was using this technique until recently as I discovered it does have a maybe dangerous side-effect. For some reason this technique will execute a DataBind on any other UpdatePanels on the page even if they have a Conditional UpdateMode and ChildrenAsTriggers as false. So, if you have any kind of decalarative DataSource on the page it would most likely rebing that and make unnecessary calls to the database.</p>
<p>I&#8217;d say actually emulating a click from a trigger button is a safer bet.</p>
<p>Ezequiel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Micle</title>
		<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/#comment-62372</link>
		<dc:creator>Micle</dc:creator>
		<pubDate>Mon, 23 Jan 2012 06:11:46 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/13/easily-refresh-an-updatepanel-using-javascript/#comment-62372</guid>
		<description>Great article, its very useful

We can also submit our .net related article link on http://www.dotnettechy.com to increase traffic.</description>
		<content:encoded><![CDATA[<p>Great article, its very useful</p>
<p>We can also submit our .net related article link on <a href="http://www.dotnettechy.com" rel="nofollow">http://www.dotnettechy.com</a> to increase traffic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sharanamma</title>
		<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/#comment-47365</link>
		<dc:creator>Sharanamma</dc:creator>
		<pubDate>Tue, 15 Nov 2011 13:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/13/easily-refresh-an-updatepanel-using-javascript/#comment-47365</guid>
		<description>from 2 days i&#039;m working on refreshing update panel issue, thanku so much, its woking like charm</description>
		<content:encoded><![CDATA[<p>from 2 days i&#8217;m working on refreshing update panel issue, thanku so much, its woking like charm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehdi</title>
		<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/#comment-45923</link>
		<dc:creator>Mehdi</dc:creator>
		<pubDate>Sat, 17 Sep 2011 05:21:50 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/13/easily-refresh-an-updatepanel-using-javascript/#comment-45923</guid>
		<description>hi
can we pass a parameter to behind code to update panel with specified range of data in this way.</description>
		<content:encoded><![CDATA[<p>hi<br />
can we pass a parameter to behind code to update panel with specified range of data in this way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dry</title>
		<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/#comment-45051</link>
		<dc:creator>Dry</dc:creator>
		<pubDate>Thu, 25 Aug 2011 19:47:43 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/13/easily-refresh-an-updatepanel-using-javascript/#comment-45051</guid>
		<description>NM, I figured it out.
Thanks for all the help.

&lt;pre lang=&quot;csharp&quot;
        protected void udpEditor_Onload(object sender, EventArgs e)
        {
            if (IsPostBack == true)
            {
                int intTaskID = clsStrings.SafeInteger(Request.Form[&quot;__EVENTARGUMENT&quot;]);
                LoadTask(intTaskID);
            }
        }
&lt;/pre&gt;

-- Master at WinForms, Learning WebForms and not liking what I see.</description>
		<content:encoded><![CDATA[<p>NM, I figured it out.<br />
Thanks for all the help.</p>
<p>&lt;pre lang=&quot;csharp&quot;<br />
        protected void udpEditor_Onload(object sender, EventArgs e)<br />
        {<br />
            if (IsPostBack == true)<br />
            {<br />
                int intTaskID = clsStrings.SafeInteger(Request.Form[&quot;__EVENTARGUMENT&quot;]);<br />
                LoadTask(intTaskID);<br />
            }<br />
        }</p>
<p>-- Master at WinForms, Learning WebForms and not liking what I see.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dry</title>
		<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/#comment-45049</link>
		<dc:creator>Dry</dc:creator>
		<pubDate>Thu, 25 Aug 2011 19:23:04 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/13/easily-refresh-an-updatepanel-using-javascript/#comment-45049</guid>
		<description>Thanks, I must have misunderstood, now I just need to figure a way to pass the selected key.

Thank you.</description>
		<content:encoded><![CDATA[<p>Thanks, I must have misunderstood, now I just need to figure a way to pass the selected key.</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/#comment-45044</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Thu, 25 Aug 2011 18:40:13 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/13/easily-refresh-an-updatepanel-using-javascript/#comment-45044</guid>
		<description>Try using just &lt;code&gt;__doPostBack(&#039;udpEditor&#039;, &#039;&#039;);&lt;/code&gt; instead of the PageRequestManager method.  I loaded your page up in VS and was able to get an asynchronous postback by executing that command from my browser&#039;s console.</description>
		<content:encoded><![CDATA[<p>Try using just <code>__doPostBack('udpEditor', '');</code> instead of the PageRequestManager method.  I loaded your page up in VS and was able to get an asynchronous postback by executing that command from my browser&#8217;s console.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dry</title>
		<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/#comment-45043</link>
		<dc:creator>Dry</dc:creator>
		<pubDate>Thu, 25 Aug 2011 18:12:59 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/13/easily-refresh-an-updatepanel-using-javascript/#comment-45043</guid>
		<description>Opps, i modified it to be runnable by you, but forgot to add
&lt;pre lang=&quot;csharp&quot;&gt; 
            dtProjects.Rows.Add(new object[] { 1, 1, &quot;Sample 1&quot; });
            dtProjects.Rows.Add(new object[] { 2, 1, &quot;Sample 2&quot; });
&lt;/pre&gt;

Place above:
&lt;pre lang=&quot;csharp&quot;&gt; 
if (dtProjects != null)
&lt;/pre&gt;
I dont want the list to have to post back, just the project editor control.
What am I doing wrong?</description>
		<content:encoded><![CDATA[<p>Opps, i modified it to be runnable by you, but forgot to add</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;">            dtProjects.<span style="color: #0000FF;">Rows</span>.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #008000;">new</span> <span style="color: #FF0000;">object</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#123;</span> <span style="color: #FF0000;">1</span>, <span style="color: #FF0000;">1</span>, <span style="color: #666666;">&quot;Sample 1&quot;</span> <span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
            dtProjects.<span style="color: #0000FF;">Rows</span>.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #008000;">new</span> <span style="color: #FF0000;">object</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#123;</span> <span style="color: #FF0000;">2</span>, <span style="color: #FF0000;">1</span>, <span style="color: #666666;">&quot;Sample 2&quot;</span> <span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></pre></div></div>

<p>Place above:</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>dtProjects <span style="color: #008000;">!=</span> <span style="color: #0600FF;">null</span><span style="color: #000000;">&#41;</span></pre></div></div>

<p>I dont want the list to have to post back, just the project editor control.<br />
What am I doing wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dry</title>
		<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/#comment-45042</link>
		<dc:creator>Dry</dc:creator>
		<pubDate>Thu, 25 Aug 2011 18:08:32 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/13/easily-refresh-an-updatepanel-using-javascript/#comment-45042</guid>
		<description>I tried using all the examples above, I can&#039;t get it to partial post.

&lt;pre lang=&quot;csharp&quot;&gt;

&lt;%@  Language=&quot;C#&quot; Debug=&quot;true&quot; %&gt;
&lt;%@ Import Namespace=&quot;System.Data&quot; %&gt;
&lt;%@ Import Namespace=&quot;System.Data.SqlClient&quot; %&gt;
&lt;%@ Register TagPrefix=&quot;wuc&quot; TagName=&quot;EditControl&quot; Src=&quot;~/wucTask.ascx&quot; %&gt;

&lt;!DOCTYPE html PUBLIC&quot;-//W3C//DTD XHTML 1.1//EN&quot;&quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head runat=&quot;server&quot;&gt;
    &lt;title&gt;List Sample&lt;/title&gt;

    &lt;script runat=&quot;server&quot; language=&quot;C#&quot;&gt;

        void FillProjects(ListView lvw)
        {
            DataTable dtProjects = new DataTable(&quot;dtProjects&quot;)
            dtProjects.Columns.Add(new DataColumn(&quot;Task Key&quot;, typeof(int)));
            dtProjects.Columns.Add(new DataColumn(&quot;Priority&quot;, typeof(int)));
            dtProjects.Columns.Add(new DataColumn(&quot;Project Name&quot;, typeof(string)));
            dtProjects.Columns[&quot;Project Name&quot;].MaxLength = 6000;
            
            if (dtProjects != null)
            {
                lvw.DataSource = dtProjects;
                lvw.DataBind();
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {

                if (Request[&quot;ynShowAll&quot;] == &quot;1&quot;) { mynShowAll = true; }
                FillProjects(lvwProjects);

            }
            catch (Exception ex) { Response.Write(&quot;Error: &quot; + ex.Message); }
        }

        protected void LoadTask(int intTaskID)
        {
            ctlEditor.Load(intTaskID);
        }

        protected void udpEditor_Onload(object sender, EventArgs e)
        {
            ctlEditor.Load(1857);// debugging
            ctlEditor.strDescription = udpEditor.ClientID; // debugging
           
        }
    &lt;/script&gt;

&lt;/head&gt;
&lt;body&gt;

    &lt;script type=&quot;text/javascript&quot;&gt;
        var ynMultiSelect = 0;
        var intTaskID = 0;

        function SelectMe(obj, intKey) {
            intTaskID = intKey;
            if (ynMultiSelect == 0) {
                var tbl = document.getElementById(&quot;lvwProjects_tblList&quot;)
                for (var i = 0, row; row = tbl.rows[i]; i++) {
                    row.style.background = &#039;white&#039;;
                    row.style.color = &#039;black&#039;;
                }
            }
            if (obj.style.background == &#039;yellow&#039;) {
                obj.style.background = &#039;white&#039;;
                obj.style.color = &#039;black&#039;;
            }
            else {
                obj.style.background = &#039;yellow&#039;;
                obj.style.color = &#039;black&#039;;
            }
            if (intKey &gt; 0) {
            // ## This is the part I can&#039;t get to work: Need to load the WUC: ##
            
                //ctlEditor.Load(intKey);
                //var udp = document.getElementById(&quot;udpEditor&quot;);
                //udp.Update();
                var lvw = document.getElementById(&quot;lvwProjects_tblList&quot;);
                var prm = Sys.WebForms.PageRequestManager.getInstance();
                prm.__doPostBack(&quot;udpEditor&quot;, &#039;&#039;);
            }
        } //Sel
        function HighlightMe(obj) {
            if (obj.style.background != &#039;yellow&#039;) {
                obj.style.background = &#039;navy&#039;;
                obj.style.color = &#039;white&#039;;
            }
        }
        function UnHighlightMe(obj) {
            if (obj.style.background != &#039;yellow&#039;) {
                obj.style.background = &#039;white&#039;;
                obj.style.color = &#039;black&#039;;
            }
        }    
    &lt;/script&gt;

    &lt;form id=&quot;frmTaskList&quot; runat=&quot;server&quot;&gt;
        &lt;div&gt;
            &lt;font face=&quot;Verdana&quot;&gt;
                &lt;asp:ListView ID=&quot;lvwProjects&quot; runat=&quot;server&quot; ConvertEmptyStringToNull=&quot;False&quot; &gt;
                    &lt;LayoutTemplate&gt;
                        &lt;table runat=&quot;server&quot; id=&quot;tblList&quot;&gt;
                            &lt;tr style=&quot;background-color: #FFFFFF&quot;&gt;
                                &lt;td id=&quot;Th1&quot; runat=&quot;server&quot;&gt;
                                    &lt;asp:Label ID=&quot;hl1&quot; runat=&quot;server&quot; Text=&#039;Task Key&#039; /&gt;
                                &lt;/td&gt;
                                &lt;td id=&quot;Thd3&quot; runat=&quot;server&quot;&gt;
                                    &lt;asp:Label ID=&quot;hl3&quot; runat=&quot;server&quot; Text=&#039;Priority&#039; /&gt;
                                &lt;/td&gt;
                                &lt;td id=&quot;Th4&quot; runat=&quot;server&quot;&gt;
                                    &lt;asp:Label ID=&quot;hl4&quot; runat=&quot;server&quot; Text=&#039;Project Name&#039; /&gt;
                                &lt;/td&gt;
                            &lt;/tr&gt;
                            &lt;tr runat=&quot;server&quot; id=&quot;itemPlaceholder&quot;&gt;
                            &lt;/tr&gt;
                        &lt;/table&gt;
                        &lt;table cellpadding=&quot;2&quot; runat=&quot;server&quot; id=&quot;tblEmployees&quot; style=&quot;width: 460px&quot;&gt;
                            &lt;tr runat=&quot;server&quot; id=&quot;Tr2&quot;&gt;
                            &lt;/tr&gt;
                        &lt;/table&gt;
                        &lt;asp:DataPager runat=&quot;server&quot; ID=&quot;DataPager&quot; PageSize=&quot;10&quot;&gt;
                            &lt;Fields&gt;
                                &lt;asp:NumericPagerField ButtonCount=&quot;10&quot; PreviousPageText=&quot;&lt;--&quot; NextPageText=&quot;--&gt;&quot; /&gt;
                            &lt;/Fields&gt;
                        &lt;/asp:DataPager&gt;
                    &lt;/LayoutTemplate&gt;
                    &lt;ItemTemplate&gt;
                        &lt;tr id=&quot;Tr1&quot; runat=&quot;server&quot; style=&quot;background-color: white; cursor: hand&quot; onclick=&lt;%#&quot;javasc&quot; + &quot;ript:SelectMe(this,&#039;&quot; + Eval(&quot;Task Key&quot;) + &quot;&#039;);&quot; %&gt; onmouseover=&quot;javascript:HighlightMe(this);&quot; onmouseout=&quot;javascript:UnHighlightMe(this);&quot;&gt;
                            &lt;td id=&quot;Td1&quot; runat=&quot;server&quot;&gt;
                                &lt;asp:Label ID=&quot;NameLabel&quot; runat=&quot;server&quot; Text=&#039;&lt;%#Eval(&quot;Task Key&quot;) %&gt;&#039; /&gt;
                            &lt;/td&gt;
                            &lt;td id=&quot;Td3&quot; runat=&quot;server&quot;&gt;
                                &lt;asp:Label ID=&quot;Label2&quot; runat=&quot;server&quot; Text=&#039;&lt;%#Eval(&quot;Priority&quot;) %&gt;&#039; /&gt;
                            &lt;/td&gt;
                            &lt;td id=&quot;Td4&quot; runat=&quot;server&quot;&gt;
                                &lt;asp:Label ID=&quot;Label3&quot; runat=&quot;server&quot; Text=&#039;&lt;%#Eval(&quot;Project Name&quot;) %&gt;&#039; /&gt;
                            &lt;/td&gt;
                        &lt;/tr&gt;
                    &lt;/ItemTemplate&gt;
                &lt;/asp:ListView&gt;
                &lt;br /&gt;
                &lt;asp:Label runat=&quot;Server&quot; ID=&quot;lblInfo&quot;&gt;.&lt;/asp:Label&gt;
                &lt;br /&gt;
                Edit Project:&lt;br /&gt;
                &lt;asp:ScriptManager ID=&quot;asmMain&quot; runat=&quot;server&quot;&gt;
                &lt;/asp:ScriptManager&gt;
                &lt;asp:UpdatePanel ID=&quot;udpEditor&quot; runat=&quot;server&quot; UpdateMode=&quot;Conditional&quot; OnLoad=&quot;udpEditor_Onload&quot;&gt;
                    &lt;ContentTemplate&gt;
                        &lt;wuc:EditControl ID=&quot;ctlEditor&quot; runat=&quot;server&quot; Text=&#039;&#039; /&gt;
                    &lt;/ContentTemplate&gt;
                &lt;/asp:UpdatePanel&gt;
            &lt;/font&gt;
        &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;


&lt;/pre&gt;

Help Please</description>
		<content:encoded><![CDATA[<p>I tried using all the examples above, I can&#8217;t get it to partial post.</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;">&nbsp;
<span style="color: #008000;">&lt;%</span>@  Language<span style="color: #008000;">=</span><span style="color: #666666;">&quot;C#&quot;</span> Debug<span style="color: #008000;">=</span><span style="color: #666666;">&quot;true&quot;</span> <span style="color: #008000;">%&gt;</span>
<span style="color: #008000;">&lt;%</span>@ Import <span style="color: #0600FF;">Namespace</span><span style="color: #008000;">=</span><span style="color: #666666;">&quot;System.Data&quot;</span> <span style="color: #008000;">%&gt;</span>
<span style="color: #008000;">&lt;%</span>@ Import <span style="color: #0600FF;">Namespace</span><span style="color: #008000;">=</span><span style="color: #666666;">&quot;System.Data.SqlClient&quot;</span> <span style="color: #008000;">%&gt;</span>
<span style="color: #008000;">&lt;%</span>@ Register TagPrefix<span style="color: #008000;">=</span><span style="color: #666666;">&quot;wuc&quot;</span> TagName<span style="color: #008000;">=</span><span style="color: #666666;">&quot;EditControl&quot;</span> Src<span style="color: #008000;">=</span><span style="color: #666666;">&quot;~/wucTask.ascx&quot;</span> <span style="color: #008000;">%&gt;</span>
&nbsp;
<span style="color: #008000;">&lt;!</span>DOCTYPE html <span style="color: #0600FF;">PUBLIC</span><span style="color: #666666;">&quot;-//W3C//DTD XHTML 1.1//EN&quot;</span><span style="color: #666666;">&quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;</span><span style="color: #008000;">&gt;</span>
<span style="color: #008000;">&lt;</span>html xmlns<span style="color: #008000;">=</span><span style="color: #666666;">&quot;http://www.w3.org/1999/xhtml&quot;</span><span style="color: #008000;">&gt;</span>
<span style="color: #008000;">&lt;</span>head runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span><span style="color: #008000;">&gt;</span>
    <span style="color: #008000;">&lt;</span>title<span style="color: #008000;">&gt;</span>List Sample<span style="color: #008000;">&lt;/</span>title<span style="color: #008000;">&gt;</span>
&nbsp;
    <span style="color: #008000;">&lt;</span>script runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> language<span style="color: #008000;">=</span><span style="color: #666666;">&quot;C#&quot;</span><span style="color: #008000;">&gt;</span>
&nbsp;
        <span style="color: #0600FF;">void</span> FillProjects<span style="color: #000000;">&#40;</span>ListView lvw<span style="color: #000000;">&#41;</span>
        <span style="color: #000000;">&#123;</span>
            DataTable dtProjects <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> DataTable<span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;dtProjects&quot;</span><span style="color: #000000;">&#41;</span>
            dtProjects.<span style="color: #0000FF;">Columns</span>.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #008000;">new</span> DataColumn<span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;Task Key&quot;</span>, <span style="color: #008000;">typeof</span><span style="color: #000000;">&#40;</span><span style="color: #FF0000;">int</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
            dtProjects.<span style="color: #0000FF;">Columns</span>.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #008000;">new</span> DataColumn<span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;Priority&quot;</span>, <span style="color: #008000;">typeof</span><span style="color: #000000;">&#40;</span><span style="color: #FF0000;">int</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
            dtProjects.<span style="color: #0000FF;">Columns</span>.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #008000;">new</span> DataColumn<span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;Project Name&quot;</span>, <span style="color: #008000;">typeof</span><span style="color: #000000;">&#40;</span><span style="color: #FF0000;">string</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
            dtProjects.<span style="color: #0000FF;">Columns</span><span style="color: #000000;">&#91;</span><span style="color: #666666;">&quot;Project Name&quot;</span><span style="color: #000000;">&#93;</span>.<span style="color: #0000FF;">MaxLength</span> <span style="color: #008000;">=</span> <span style="color: #FF0000;">6000</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>dtProjects <span style="color: #008000;">!=</span> <span style="color: #0600FF;">null</span><span style="color: #000000;">&#41;</span>
            <span style="color: #000000;">&#123;</span>
                lvw.<span style="color: #0000FF;">DataSource</span> <span style="color: #008000;">=</span> dtProjects<span style="color: #008000;">;</span>
                lvw.<span style="color: #0000FF;">DataBind</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #000000;">&#125;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0600FF;">protected</span> <span style="color: #0600FF;">void</span> Page_Load<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">object</span> sender, EventArgs e<span style="color: #000000;">&#41;</span>
        <span style="color: #000000;">&#123;</span>
            <span style="color: #0600FF;">try</span>
            <span style="color: #000000;">&#123;</span>
&nbsp;
                <span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>Request<span style="color: #000000;">&#91;</span><span style="color: #666666;">&quot;ynShowAll&quot;</span><span style="color: #000000;">&#93;</span> <span style="color: #008000;">==</span> <span style="color: #666666;">&quot;1&quot;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span> mynShowAll <span style="color: #008000;">=</span> true<span style="color: #008000;">;</span> <span style="color: #000000;">&#125;</span>
                FillProjects<span style="color: #000000;">&#40;</span>lvwProjects<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #000000;">&#125;</span>
            <span style="color: #0600FF;">catch</span> <span style="color: #000000;">&#40;</span>Exception ex<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span> Response.<span style="color: #0000FF;">Write</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;Error: &quot;</span> <span style="color: #008000;">+</span> ex.<span style="color: #0000FF;">Message</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span> <span style="color: #000000;">&#125;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0600FF;">protected</span> <span style="color: #0600FF;">void</span> LoadTask<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">int</span> intTaskID<span style="color: #000000;">&#41;</span>
        <span style="color: #000000;">&#123;</span>
            ctlEditor.<span style="color: #0000FF;">Load</span><span style="color: #000000;">&#40;</span>intTaskID<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0600FF;">protected</span> <span style="color: #0600FF;">void</span> udpEditor_Onload<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">object</span> sender, EventArgs e<span style="color: #000000;">&#41;</span>
        <span style="color: #000000;">&#123;</span>
            ctlEditor.<span style="color: #0000FF;">Load</span><span style="color: #000000;">&#40;</span><span style="color: #FF0000;">1857</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span><span style="color: #008080; font-style: italic;">// debugging</span>
            ctlEditor.<span style="color: #0000FF;">strDescription</span> <span style="color: #008000;">=</span> udpEditor.<span style="color: #0000FF;">ClientID</span><span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">// debugging</span>
&nbsp;
        <span style="color: #000000;">&#125;</span>
    <span style="color: #008000;">&lt;/</span>script<span style="color: #008000;">&gt;</span>
&nbsp;
<span style="color: #008000;">&lt;/</span>head<span style="color: #008000;">&gt;</span>
<span style="color: #008000;">&lt;</span>body<span style="color: #008000;">&gt;</span>
&nbsp;
    <span style="color: #008000;">&lt;</span>script type<span style="color: #008000;">=</span><span style="color: #666666;">&quot;text/javascript&quot;</span><span style="color: #008000;">&gt;</span>
        var ynMultiSelect <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span>
        var intTaskID <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span>
&nbsp;
        function SelectMe<span style="color: #000000;">&#40;</span>obj, intKey<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
            intTaskID <span style="color: #008000;">=</span> intKey<span style="color: #008000;">;</span>
            <span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>ynMultiSelect <span style="color: #008000;">==</span> <span style="color: #FF0000;">0</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
                var tbl <span style="color: #008000;">=</span> document.<span style="color: #0000FF;">getElementById</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;lvwProjects_tblList&quot;</span><span style="color: #000000;">&#41;</span>
                <span style="color: #0600FF;">for</span> <span style="color: #000000;">&#40;</span>var i <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span>, row<span style="color: #008000;">;</span> row <span style="color: #008000;">=</span> tbl.<span style="color: #0000FF;">rows</span><span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span><span style="color: #008000;">;</span> i<span style="color: #008000;">++</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
                    row.<span style="color: #0000FF;">style</span>.<span style="color: #0000FF;">background</span> <span style="color: #008000;">=</span> <span style="color: #666666;">'white'</span><span style="color: #008000;">;</span>
                    row.<span style="color: #0000FF;">style</span>.<span style="color: #0000FF;">color</span> <span style="color: #008000;">=</span> <span style="color: #666666;">'black'</span><span style="color: #008000;">;</span>
                <span style="color: #000000;">&#125;</span>
            <span style="color: #000000;">&#125;</span>
            <span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>obj.<span style="color: #0000FF;">style</span>.<span style="color: #0000FF;">background</span> <span style="color: #008000;">==</span> <span style="color: #666666;">'yellow'</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
                obj.<span style="color: #0000FF;">style</span>.<span style="color: #0000FF;">background</span> <span style="color: #008000;">=</span> <span style="color: #666666;">'white'</span><span style="color: #008000;">;</span>
                obj.<span style="color: #0000FF;">style</span>.<span style="color: #0000FF;">color</span> <span style="color: #008000;">=</span> <span style="color: #666666;">'black'</span><span style="color: #008000;">;</span>
            <span style="color: #000000;">&#125;</span>
            <span style="color: #0600FF;">else</span> <span style="color: #000000;">&#123;</span>
                obj.<span style="color: #0000FF;">style</span>.<span style="color: #0000FF;">background</span> <span style="color: #008000;">=</span> <span style="color: #666666;">'yellow'</span><span style="color: #008000;">;</span>
                obj.<span style="color: #0000FF;">style</span>.<span style="color: #0000FF;">color</span> <span style="color: #008000;">=</span> <span style="color: #666666;">'black'</span><span style="color: #008000;">;</span>
            <span style="color: #000000;">&#125;</span>
            <span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>intKey <span style="color: #008000;">&gt;</span> <span style="color: #FF0000;">0</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
            <span style="color: #008080; font-style: italic;">// ## This is the part I can't get to work: Need to load the WUC: ##</span>
&nbsp;
                <span style="color: #008080; font-style: italic;">//ctlEditor.Load(intKey);</span>
                <span style="color: #008080; font-style: italic;">//var udp = document.getElementById(&quot;udpEditor&quot;);</span>
                <span style="color: #008080; font-style: italic;">//udp.Update();</span>
                var lvw <span style="color: #008000;">=</span> document.<span style="color: #0000FF;">getElementById</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;lvwProjects_tblList&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
                var prm <span style="color: #008000;">=</span> Sys.<span style="color: #0000FF;">WebForms</span>.<span style="color: #0000FF;">PageRequestManager</span>.<span style="color: #0000FF;">getInstance</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
                prm.__doPostBack<span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;udpEditor&quot;</span>, <span style="color: #666666;">''</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #000000;">&#125;</span>
        <span style="color: #000000;">&#125;</span> <span style="color: #008080; font-style: italic;">//Sel</span>
        function HighlightMe<span style="color: #000000;">&#40;</span>obj<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
            <span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>obj.<span style="color: #0000FF;">style</span>.<span style="color: #0000FF;">background</span> <span style="color: #008000;">!=</span> <span style="color: #666666;">'yellow'</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
                obj.<span style="color: #0000FF;">style</span>.<span style="color: #0000FF;">background</span> <span style="color: #008000;">=</span> <span style="color: #666666;">'navy'</span><span style="color: #008000;">;</span>
                obj.<span style="color: #0000FF;">style</span>.<span style="color: #0000FF;">color</span> <span style="color: #008000;">=</span> <span style="color: #666666;">'white'</span><span style="color: #008000;">;</span>
            <span style="color: #000000;">&#125;</span>
        <span style="color: #000000;">&#125;</span>
        function UnHighlightMe<span style="color: #000000;">&#40;</span>obj<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
            <span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>obj.<span style="color: #0000FF;">style</span>.<span style="color: #0000FF;">background</span> <span style="color: #008000;">!=</span> <span style="color: #666666;">'yellow'</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
                obj.<span style="color: #0000FF;">style</span>.<span style="color: #0000FF;">background</span> <span style="color: #008000;">=</span> <span style="color: #666666;">'white'</span><span style="color: #008000;">;</span>
                obj.<span style="color: #0000FF;">style</span>.<span style="color: #0000FF;">color</span> <span style="color: #008000;">=</span> <span style="color: #666666;">'black'</span><span style="color: #008000;">;</span>
            <span style="color: #000000;">&#125;</span>
        <span style="color: #000000;">&#125;</span>    
    <span style="color: #008000;">&lt;/</span>script<span style="color: #008000;">&gt;</span>
&nbsp;
    <span style="color: #008000;">&lt;</span>form id<span style="color: #008000;">=</span><span style="color: #666666;">&quot;frmTaskList&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span><span style="color: #008000;">&gt;</span>
        <span style="color: #008000;">&lt;</span>div<span style="color: #008000;">&gt;</span>
            <span style="color: #008000;">&lt;</span>font face<span style="color: #008000;">=</span><span style="color: #666666;">&quot;Verdana&quot;</span><span style="color: #008000;">&gt;</span>
                <span style="color: #008000;">&lt;</span>asp<span style="color: #008000;">:</span>ListView ID<span style="color: #008000;">=</span><span style="color: #666666;">&quot;lvwProjects&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> ConvertEmptyStringToNull<span style="color: #008000;">=</span><span style="color: #666666;">&quot;False&quot;</span> <span style="color: #008000;">&gt;</span>
                    <span style="color: #008000;">&lt;</span>LayoutTemplate<span style="color: #008000;">&gt;</span>
                        <span style="color: #008000;">&lt;</span>table runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> id<span style="color: #008000;">=</span><span style="color: #666666;">&quot;tblList&quot;</span><span style="color: #008000;">&gt;</span>
                            <span style="color: #008000;">&lt;</span>tr style<span style="color: #008000;">=</span><span style="color: #666666;">&quot;background-color: #FFFFFF&quot;</span><span style="color: #008000;">&gt;</span>
                                <span style="color: #008000;">&lt;</span>td id<span style="color: #008000;">=</span><span style="color: #666666;">&quot;Th1&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span><span style="color: #008000;">&gt;</span>
                                    <span style="color: #008000;">&lt;</span>asp<span style="color: #008000;">:</span>Label ID<span style="color: #008000;">=</span><span style="color: #666666;">&quot;hl1&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> Text<span style="color: #008000;">=</span><span style="color: #666666;">'Task Key'</span> <span style="color: #008000;">/&gt;</span>
                                <span style="color: #008000;">&lt;/</span>td<span style="color: #008000;">&gt;</span>
                                <span style="color: #008000;">&lt;</span>td id<span style="color: #008000;">=</span><span style="color: #666666;">&quot;Thd3&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span><span style="color: #008000;">&gt;</span>
                                    <span style="color: #008000;">&lt;</span>asp<span style="color: #008000;">:</span>Label ID<span style="color: #008000;">=</span><span style="color: #666666;">&quot;hl3&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> Text<span style="color: #008000;">=</span><span style="color: #666666;">'Priority'</span> <span style="color: #008000;">/&gt;</span>
                                <span style="color: #008000;">&lt;/</span>td<span style="color: #008000;">&gt;</span>
                                <span style="color: #008000;">&lt;</span>td id<span style="color: #008000;">=</span><span style="color: #666666;">&quot;Th4&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span><span style="color: #008000;">&gt;</span>
                                    <span style="color: #008000;">&lt;</span>asp<span style="color: #008000;">:</span>Label ID<span style="color: #008000;">=</span><span style="color: #666666;">&quot;hl4&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> Text<span style="color: #008000;">=</span><span style="color: #666666;">'Project Name'</span> <span style="color: #008000;">/&gt;</span>
                                <span style="color: #008000;">&lt;/</span>td<span style="color: #008000;">&gt;</span>
                            <span style="color: #008000;">&lt;/</span>tr<span style="color: #008000;">&gt;</span>
                            <span style="color: #008000;">&lt;</span>tr runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> id<span style="color: #008000;">=</span><span style="color: #666666;">&quot;itemPlaceholder&quot;</span><span style="color: #008000;">&gt;</span>
                            <span style="color: #008000;">&lt;/</span>tr<span style="color: #008000;">&gt;</span>
                        <span style="color: #008000;">&lt;/</span>table<span style="color: #008000;">&gt;</span>
                        <span style="color: #008000;">&lt;</span>table cellpadding<span style="color: #008000;">=</span><span style="color: #666666;">&quot;2&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> id<span style="color: #008000;">=</span><span style="color: #666666;">&quot;tblEmployees&quot;</span> style<span style="color: #008000;">=</span><span style="color: #666666;">&quot;width: 460px&quot;</span><span style="color: #008000;">&gt;</span>
                            <span style="color: #008000;">&lt;</span>tr runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> id<span style="color: #008000;">=</span><span style="color: #666666;">&quot;Tr2&quot;</span><span style="color: #008000;">&gt;</span>
                            <span style="color: #008000;">&lt;/</span>tr<span style="color: #008000;">&gt;</span>
                        <span style="color: #008000;">&lt;/</span>table<span style="color: #008000;">&gt;</span>
                        <span style="color: #008000;">&lt;</span>asp<span style="color: #008000;">:</span>DataPager runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> ID<span style="color: #008000;">=</span><span style="color: #666666;">&quot;DataPager&quot;</span> PageSize<span style="color: #008000;">=</span><span style="color: #666666;">&quot;10&quot;</span><span style="color: #008000;">&gt;</span>
                            <span style="color: #008000;">&lt;</span>Fields<span style="color: #008000;">&gt;</span>
                                <span style="color: #008000;">&lt;</span>asp<span style="color: #008000;">:</span>NumericPagerField ButtonCount<span style="color: #008000;">=</span><span style="color: #666666;">&quot;10&quot;</span> PreviousPageText<span style="color: #008000;">=</span><span style="color: #666666;">&quot;&lt;--&quot;</span> NextPageText<span style="color: #008000;">=</span><span style="color: #666666;">&quot;--&gt;&quot;</span> <span style="color: #008000;">/&gt;</span>
                            <span style="color: #008000;">&lt;/</span>Fields<span style="color: #008000;">&gt;</span>
                        <span style="color: #008000;">&lt;/</span>asp<span style="color: #008000;">:</span>DataPager<span style="color: #008000;">&gt;</span>
                    <span style="color: #008000;">&lt;/</span>LayoutTemplate<span style="color: #008000;">&gt;</span>
                    <span style="color: #008000;">&lt;</span>ItemTemplate<span style="color: #008000;">&gt;</span>
                        <span style="color: #008000;">&lt;</span>tr id<span style="color: #008000;">=</span><span style="color: #666666;">&quot;Tr1&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> style<span style="color: #008000;">=</span><span style="color: #666666;">&quot;background-color: white; cursor: hand&quot;</span> onclick<span style="color: #008000;">=&lt;%</span><span style="color: #008080;">#&quot;javasc&quot; + &quot;ript:SelectMe(this,'&quot; + Eval(&quot;Task Key&quot;) + &quot;');&quot; %&gt; onmouseover=&quot;javascript:HighlightMe(this);&quot; onmouseout=&quot;javascript:UnHighlightMe(this);&quot;&gt;</span>
                            <span style="color: #008000;">&lt;</span>td id<span style="color: #008000;">=</span><span style="color: #666666;">&quot;Td1&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span><span style="color: #008000;">&gt;</span>
                                <span style="color: #008000;">&lt;</span>asp<span style="color: #008000;">:</span>Label ID<span style="color: #008000;">=</span><span style="color: #666666;">&quot;NameLabel&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> Text<span style="color: #008000;">=</span><span style="color: #666666;">'&lt;%#Eval(&quot;Task Key&quot;) %&gt;'</span> <span style="color: #008000;">/&gt;</span>
                            <span style="color: #008000;">&lt;/</span>td<span style="color: #008000;">&gt;</span>
                            <span style="color: #008000;">&lt;</span>td id<span style="color: #008000;">=</span><span style="color: #666666;">&quot;Td3&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span><span style="color: #008000;">&gt;</span>
                                <span style="color: #008000;">&lt;</span>asp<span style="color: #008000;">:</span>Label ID<span style="color: #008000;">=</span><span style="color: #666666;">&quot;Label2&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> Text<span style="color: #008000;">=</span><span style="color: #666666;">'&lt;%#Eval(&quot;Priority&quot;) %&gt;'</span> <span style="color: #008000;">/&gt;</span>
                            <span style="color: #008000;">&lt;/</span>td<span style="color: #008000;">&gt;</span>
                            <span style="color: #008000;">&lt;</span>td id<span style="color: #008000;">=</span><span style="color: #666666;">&quot;Td4&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span><span style="color: #008000;">&gt;</span>
                                <span style="color: #008000;">&lt;</span>asp<span style="color: #008000;">:</span>Label ID<span style="color: #008000;">=</span><span style="color: #666666;">&quot;Label3&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> Text<span style="color: #008000;">=</span><span style="color: #666666;">'&lt;%#Eval(&quot;Project Name&quot;) %&gt;'</span> <span style="color: #008000;">/&gt;</span>
                            <span style="color: #008000;">&lt;/</span>td<span style="color: #008000;">&gt;</span>
                        <span style="color: #008000;">&lt;/</span>tr<span style="color: #008000;">&gt;</span>
                    <span style="color: #008000;">&lt;/</span>ItemTemplate<span style="color: #008000;">&gt;</span>
                <span style="color: #008000;">&lt;/</span>asp<span style="color: #008000;">:</span>ListView<span style="color: #008000;">&gt;</span>
                <span style="color: #008000;">&lt;</span>br <span style="color: #008000;">/&gt;</span>
                <span style="color: #008000;">&lt;</span>asp<span style="color: #008000;">:</span>Label runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;Server&quot;</span> ID<span style="color: #008000;">=</span><span style="color: #666666;">&quot;lblInfo&quot;</span><span style="color: #008000;">&gt;</span>.<span style="color: #008000;">&lt;/</span>asp<span style="color: #008000;">:</span>Label<span style="color: #008000;">&gt;</span>
                <span style="color: #008000;">&lt;</span>br <span style="color: #008000;">/&gt;</span>
                Edit Project<span style="color: #008000;">:&lt;</span>br <span style="color: #008000;">/&gt;</span>
                <span style="color: #008000;">&lt;</span>asp<span style="color: #008000;">:</span>ScriptManager ID<span style="color: #008000;">=</span><span style="color: #666666;">&quot;asmMain&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span><span style="color: #008000;">&gt;</span>
                <span style="color: #008000;">&lt;/</span>asp<span style="color: #008000;">:</span>ScriptManager<span style="color: #008000;">&gt;</span>
                <span style="color: #008000;">&lt;</span>asp<span style="color: #008000;">:</span>UpdatePanel ID<span style="color: #008000;">=</span><span style="color: #666666;">&quot;udpEditor&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> UpdateMode<span style="color: #008000;">=</span><span style="color: #666666;">&quot;Conditional&quot;</span> OnLoad<span style="color: #008000;">=</span><span style="color: #666666;">&quot;udpEditor_Onload&quot;</span><span style="color: #008000;">&gt;</span>
                    <span style="color: #008000;">&lt;</span>ContentTemplate<span style="color: #008000;">&gt;</span>
                        <span style="color: #008000;">&lt;</span>wuc<span style="color: #008000;">:</span>EditControl ID<span style="color: #008000;">=</span><span style="color: #666666;">&quot;ctlEditor&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> Text<span style="color: #008000;">=</span><span style="color: #666666;">''</span> <span style="color: #008000;">/&gt;</span>
                    <span style="color: #008000;">&lt;/</span>ContentTemplate<span style="color: #008000;">&gt;</span>
                <span style="color: #008000;">&lt;/</span>asp<span style="color: #008000;">:</span>UpdatePanel<span style="color: #008000;">&gt;</span>
            <span style="color: #008000;">&lt;/</span>font<span style="color: #008000;">&gt;</span>
        <span style="color: #008000;">&lt;/</span>div<span style="color: #008000;">&gt;</span>
    <span style="color: #008000;">&lt;/</span>form<span style="color: #008000;">&gt;</span>
<span style="color: #008000;">&lt;/</span>body<span style="color: #008000;">&gt;</span>
<span style="color: #008000;">&lt;/</span>html<span style="color: #008000;">&gt;</span></pre></div></div>

<p>Help Please</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: miles thompson</title>
		<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/#comment-44771</link>
		<dc:creator>miles thompson</dc:creator>
		<pubDate>Thu, 18 Aug 2011 04:13:25 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/13/easily-refresh-an-updatepanel-using-javascript/#comment-44771</guid>
		<description>Super helpful, thanks.

The key sentence for me was &quot;As long as the event target of a __doPostBack() call is an async trigger of an UpdatePanel, the ASP.NET AJAX framework will intercept the postback&quot;

meaning I had to add this before the post back was async ..






.. the  reason i am overriding the clientside on click handler for something called a &#039;button&#039; is a long story to do with Custom Button class and having to do some stupidity involving MS CMS before the postback begins.</description>
		<content:encoded><![CDATA[<p>Super helpful, thanks.</p>
<p>The key sentence for me was &#8220;As long as the event target of a __doPostBack() call is an async trigger of an UpdatePanel, the ASP.NET AJAX framework will intercept the postback&#8221;</p>
<p>meaning I had to add this before the post back was async ..</p>
<p>.. the  reason i am overriding the clientside on click handler for something called a &#8216;button&#8217; is a long story to do with Custom Button class and having to do some stupidity involving MS CMS before the postback begins.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dirk</title>
		<link>http://encosia.com/easily-refresh-an-updatepanel-using-javascript/#comment-44218</link>
		<dc:creator>Dirk</dc:creator>
		<pubDate>Wed, 29 Jun 2011 06:37:25 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/13/easily-refresh-an-updatepanel-using-javascript/#comment-44218</guid>
		<description>Found the solution myself I missed some lines in my web.config. Don&#039;t know why they weren&#039;t there but it&#039;s fixed now.
My __doPostBack() contained the clientID, for some reason my post got edited when submitting it.
Thanks for your help.</description>
		<content:encoded><![CDATA[<p>Found the solution myself I missed some lines in my web.config. Don&#8217;t know why they weren&#8217;t there but it&#8217;s fixed now.<br />
My __doPostBack() contained the clientID, for some reason my post got edited when submitting it.<br />
Thanks for your help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

