﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>RT-blog</title>
    <description>Thoughts on and experiences with computers, programming and electronics.</description>
    <link>http://www.realtechnology.com/RTBlog/tabid/59/BlogId/2/Default.aspx</link>
    <language>en-US</language>
    <managingEditor>rtblog@realtechnology.com</managingEditor>
    <webMaster>ronsmith@realtechnology.com</webMaster>
    <pubDate>Mon, 06 Feb 2012 11:53:56 GMT</pubDate>
    <lastBuildDate>Mon, 06 Feb 2012 11:53:56 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 3.3.0.16726</generator>
    <item>
      <title>Accessing controls using FindControl() in an UpdateProgress control</title>
      <description>&lt;p&gt;While trying to do some code-behind manipulation of a page I had trouble accessing the controls contained by an UpdateProgress control.  On the same page I have an UpdatePanel and I'm able to use FindControl() to locate controls contained by it in the CreateChildControls event (or any other event for that matter). Not so with the UpdateProgress control!  No matter what I tried the UpdateProgress control would not find any controls.&lt;/p&gt;
&lt;p&gt;I finally stumbled upon a tip that you needed to do this in the page's PreRenderComplete event.  Like this:&lt;/p&gt;
&lt;p&gt;void Page_PreRenderComplete( object sender, EventArgs e )&lt;br /&gt;
{&lt;br /&gt;
                Image ImageProgress = (Image)UpdateProgress1.FindControl( "ImageProgress" );&lt;br /&gt;
                if( ImageProgress != null  )&lt;br /&gt;
                {&lt;br /&gt;
                    //Do something with the image&lt;br /&gt;
                }&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;ASP.net 2.0, AJAX, UpdateProgress&lt;/p&gt;</description>
      <link>http://www.realtechnology.com/RTBlog/tabid/59/EntryID/31/Default.aspx</link>
      <author>rtblog@realtechnology.com</author>
      <comments>http://www.realtechnology.com/RTBlog/tabid/59/EntryID/31/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.realtechnology.com/Default.aspx?tabid=59&amp;EntryID=31</guid>
      <pubDate>Tue, 12 Jan 2010 17:27:21 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.realtechnology.com/DesktopModules/Blog/Trackback.aspx?id=31</trackback:ping>
    </item>
  </channel>
</rss>
