<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>ASP.NET</title>
        <link>http://geekswithblogs.net/dnoderer/category/5264.aspx</link>
        <description>ASP.NET</description>
        <language>en-US</language>
        <copyright>Dave Noderer</copyright>
        <managingEditor>daven@computerways.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>South Florida Code Camp 2008 - 2/2/2008</title>
            <link>http://geekswithblogs.net/dnoderer/archive/2008/01/24/south-florida-code-camp-2008---222008.aspx</link>
            <description>&lt;strong&gt;FREE - 4th Annual South Florida Code Camp - Register Now - Spaces are going fast!&lt;/strong&gt; &lt;br /&gt;
&lt;br /&gt;
To attend this free, all day .NET Developer mini-conference register at: http://www.clicktoattend.com/?id=122048 ! The Code Camp will be held on Saturday 2/2/2008 and include breakfast, lunch, giveaways, valuable raffle items and of course lots of great content! &lt;br /&gt;
&lt;br /&gt;
The sessions are now listed on the agenda page. A big thanks to all the speakers that have stepped forward and volunteered to come speak at their own expense. We have already scheduled 70 of 72 sessions. There will be something for everyone... from the person who is new to .net to advanced architecture and software process sessions. For the second year we will have an all Spanish track. Dedicated tracks include "Into to .NET", "Silverlight" and "Agile / CI". Sessions include Ajax, MVC, Visual Studio 2008, Powershell, Windows Workflow and .NET reflection. &lt;br /&gt;
&lt;br /&gt;
Find more information at &lt;strong&gt;http://codecamp08.fladotnet.com &lt;/strong&gt;. We have many sessions lined up. The track chairs will get them organized and on the website agenda over the next couple of weeks.&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=118875"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=118875" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/dnoderer/aggbug/118875.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Dave Noderer</dc:creator>
            <guid>http://geekswithblogs.net/dnoderer/archive/2008/01/24/south-florida-code-camp-2008---222008.aspx</guid>
            <pubDate>Thu, 24 Jan 2008 19:39:41 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/dnoderer/comments/118875.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/dnoderer/archive/2008/01/24/south-florida-code-camp-2008---222008.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/dnoderer/comments/commentRss/118875.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/dnoderer/services/trackbacks/118875.aspx</trackback:ping>
        </item>
        <item>
            <title>Visual Studio for Database Pro... WOW!</title>
            <link>http://geekswithblogs.net/dnoderer/archive/2007/04/05/110957.aspx</link>
            <description>&lt;P&gt;&lt;FONT face=Arial&gt;This is going to be one of my favorite features of Visual Studio!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;I've been working with the new "Database Projects"&amp;nbsp; and have been very impressed.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;You can import a schema and it will script all aspects of the database so it can be used to compare against. More importanttly it can be checked into source safe (or other source control system) as it is just a bunch of SQL scripts.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;There are menu items for "Schema Compare" and "Data Compare" which is what I will use the most. It is very quick and easy now to point to a source and target database, do a schema compare and then select all or some of the differences to be "written" to the target datbase. The "Data Compare" is the same but for the actual table contents. I believe you can adjust what it uses to do the compare but I have not dug into it yet.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;One thing that it does not seem to do is that once you import a schema then change the source database, it does not seem to want to be able to use the schema project as a destination, I will investigate this more.&lt;/FONT&gt;&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=110957"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=110957" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/dnoderer/aggbug/110957.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Dave Noderer</dc:creator>
            <guid>http://geekswithblogs.net/dnoderer/archive/2007/04/05/110957.aspx</guid>
            <pubDate>Thu, 05 Apr 2007 22:40:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/dnoderer/comments/110957.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/dnoderer/archive/2007/04/05/110957.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/dnoderer/comments/commentRss/110957.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/dnoderer/services/trackbacks/110957.aspx</trackback:ping>
        </item>
        <item>
            <title>Multi line editing with a gridview (or other bound) control</title>
            <link>http://geekswithblogs.net/dnoderer/archive/2006/12/29/102281.aspx</link>
            <description>&lt;P&gt;&lt;FONT face=Arial&gt;I have used this technique before... use the item template for the edit controls and scrape the values by looping through the rows using events other than&amp;nbsp; edit command.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;But I got lost for a bit, this article helped me get back on track: &lt;/FONT&gt;&lt;A href="http://www.dotnetjohn.com/articles.aspx?articleid=83"&gt;&lt;FONT face=Arial&gt;http://www.dotnetjohn.com/articles.aspx?articleid=83&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;I'm using a gridview control and calling my "ReverseBind" from both page changes and also when the user clicks on a button that takes the final results and transfers the data to other places in the database.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;I loop through rows which are actually of type &lt;FONT color=#008000&gt;"&lt;FONT color=#000000&gt;DataControlFieldCell", the controls I'm interested in are contained in the cells. If you know the control names you can use the FindControl method.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;For&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;Each&lt;/FONT&gt; oC &lt;FONT color=#0000ff&gt;In&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt; oCell.Controls&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=#008000&gt;&lt;FONT face=Arial&gt;'&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;Dim&lt;/FONT&gt; ID &lt;FONT color=#0000ff&gt;As&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;String&lt;/FONT&gt; = (oC.ID &amp;amp; &lt;FONT color=#0000ff&gt;String&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;.Empty).ToUpper&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=#008000&gt;&lt;FONT face=Arial&gt;'&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;If&lt;/FONT&gt; ID.Length &amp;gt; 5 &lt;FONT color=#0000ff&gt;Then&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;&lt;FONT face=Arial&gt;'&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;Select&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;Case&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt; ID.Substring(0, 5)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;Case&lt;/FONT&gt; &lt;FONT color=#a31515&gt;"ELBL_"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;oItem.SetValue(ID.Substring(5), &lt;/FONT&gt;&lt;FONT face=Arial color=#0000ff&gt;CType&lt;/FONT&gt;&lt;FONT face=Arial&gt;(oC, Label).Text)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;Case&lt;/FONT&gt; &lt;FONT color=#a31515&gt;"ECHK_"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;oItem.SetValue(ID.Substring(5), &lt;/FONT&gt;&lt;FONT face=Arial color=#0000ff&gt;CType&lt;/FONT&gt;&lt;FONT face=Arial&gt;(oC, CheckBox).Checked)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;Case&lt;/FONT&gt; &lt;FONT color=#a31515&gt;"ETXT_"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;oItem.SetValue(ID.Substring(5), &lt;/FONT&gt;&lt;FONT face=Arial color=#0000ff&gt;CType&lt;/FONT&gt;&lt;FONT face=Arial&gt;(oC, TextBox).Text)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;Case&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;Else&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;&lt;FONT face=Arial&gt;' don't care&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;End&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;Select&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;End&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;If&lt;/FONT&gt; &lt;FONT color=#008000&gt;' Id.length &amp;gt; 5&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;&lt;FONT face=Arial&gt;'&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;Next&lt;/FONT&gt; &lt;FONT color=#008000&gt;' control in cell&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT face=Arial color=#000000&gt;In this case I have named the controls "ELBL_fieldname", "ETXT_fieldname", "ECHK_fieldname" so I can loop through the controls and determine both type and database field name. I could separate and rename the db and ui field names but why introduce that level of confusion?? To me it is much clearer to maintain the names from end to end so you know what you are looking at.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#000000&gt;While I could use some more generic tag and use gettype to determine the type this is much easier for the limited scope of this particular usage.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#008000&gt;&lt;FONT face=Arial color=#000000&gt;Passing the the field name and control "value" (.text, .checked) to a simple object (Item)&amp;nbsp;that basically represents the row but also has logic for validation and saving to the DB.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=102281"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=102281" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/dnoderer/aggbug/102281.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Dave Noderer</dc:creator>
            <guid>http://geekswithblogs.net/dnoderer/archive/2006/12/29/102281.aspx</guid>
            <pubDate>Fri, 29 Dec 2006 13:41:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/dnoderer/comments/102281.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/dnoderer/archive/2006/12/29/102281.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/dnoderer/comments/commentRss/102281.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/dnoderer/services/trackbacks/102281.aspx</trackback:ping>
        </item>
        <item>
            <title>Validation of ViewState Mac failed</title>
            <link>http://geekswithblogs.net/dnoderer/archive/2006/12/24/101988.aspx</link>
            <description>&lt;P&gt;Ran across this error trying to get a datalist from the old CW site working under 2.0. I've seen some of this with third party controls but setting the page directives to: &lt;FONT size=2&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;enableEventValidation&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;="false"&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;viewStateEncryptionMode&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;="Never"&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;worked for me...&lt;/P&gt;
&lt;P&gt;Found the answer here: &lt;A href="http://dotnetjunkies.com/WebLog/thomasswilliams/archive/2006/06/06/139890.aspx"&gt;http://dotnetjunkies.com/WebLog/thomasswilliams/archive/2006/06/06/139890.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=101988"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=101988" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/dnoderer/aggbug/101988.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Dave Noderer</dc:creator>
            <guid>http://geekswithblogs.net/dnoderer/archive/2006/12/24/101988.aspx</guid>
            <pubDate>Sun, 24 Dec 2006 14:53:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/dnoderer/comments/101988.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/dnoderer/archive/2006/12/24/101988.aspx#feedback</comments>
            <slash:comments>6</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/dnoderer/comments/commentRss/101988.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/dnoderer/services/trackbacks/101988.aspx</trackback:ping>
        </item>
        <item>
            <title>ASP.NET 2.0 - Accessing master page controls</title>
            <link>http://geekswithblogs.net/dnoderer/archive/2006/08/15/88083.aspx</link>
            <description>&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff size=2&gt;Recently I needed to access a control in the master file of a page. Pretty simple but took a little investigation and experimentation.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;I was looking for a control in the footer and in the actual application fetch contact information relavant to the current context.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.Form.Parent &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;IsNot&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Nothing&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;    Dim&lt;/FONT&gt;&lt;FONT size=2&gt; olbl &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; Label = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.Form.Parent.FindControl(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#800000 size=2&gt;"lblRegFooter")&lt;BR&gt;     &lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial color=#008000&gt;'&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;    If&lt;/FONT&gt; olbl &lt;FONT color=#0000ff&gt;IsNot&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;Nothing&lt;/FONT&gt; &lt;/FONT&gt;&lt;FONT face=Arial color=#0000ff&gt;Then&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;        olbl.Text = &lt;/FONT&gt;&lt;FONT face=Arial color=#800000&gt;"Set to what you want, will probably be something dynamically generated or fetched from a database!"&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;    End&lt;/FONT&gt; &lt;/FONT&gt;&lt;FONT face=Arial color=#0000ff&gt;If&lt;BR&gt;    '&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;End&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;If&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=88083"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=88083" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/dnoderer/aggbug/88083.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Dave Noderer</dc:creator>
            <guid>http://geekswithblogs.net/dnoderer/archive/2006/08/15/88083.aspx</guid>
            <pubDate>Tue, 15 Aug 2006 23:01:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/dnoderer/comments/88083.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/dnoderer/archive/2006/08/15/88083.aspx#feedback</comments>
            <slash:comments>5</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/dnoderer/comments/commentRss/88083.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/dnoderer/services/trackbacks/88083.aspx</trackback:ping>
        </item>
    </channel>
</rss>