<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: .NET for Domino Developers Part 3</title>
	<link>http://www.crossedconnections.org/w/index.php/2006/01/02/net-for-domino-developers-part-3/</link>
	<description>Nowadays it's all about portals; portals and ball bearings</description>
	<pubDate>Fri, 12 Mar 2010 04:41:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>by: Joe Wolter</title>
		<link>http://www.crossedconnections.org/w/index.php/2006/01/02/net-for-domino-developers-part-3/#comment-20098</link>
		<pubDate>Thu, 12 Apr 2007 22:40:36 +0000</pubDate>
		<guid>http://www.crossedconnections.org/w/index.php/2006/01/02/net-for-domino-developers-part-3/#comment-20098</guid>
					<description>Hi, I got a little help from your site.  I appreciate it.  I did not find the best solution for the MultiView clearing of controls thing, but I did get a solution.  Maybe it is helpful, maybe not.

First, no BoundFields, must use TemplateField like this:

                                        
                                            
                                                ' ReadOnly="true"&#62;
                                            
                                            
                                                '&#62;'&#62;
                                                                    
                                        

Second, now that you gave the textbox, or any other control an ID, you can find it.  However, it is tough to find.  Below you can copy this CustomFindControl method, you pass it a control and it will search every control within that control to find the one you are looking for.  I mainly just pass it the page and let it do its work.  The call to that method looks like this:

            TextBox txtColumnHeader1 = (TextBox)CustomFindControl(muvTemplateItem, "txtColumnHeader");
            txtColumnHeader1.Text = "";

muvTemplateItem is the multiview, but it could just as easily been the page.  Afetr you have the TextBox, or whatever, you can clear it out.

Like I said, kinda unclean, but it worked for me when I could not "do a GET " on the page.

Here is the CustomFindControl method

    private Control CustomFindControl(Control c, string strID)
    {
        Control conReturn = null;
        foreach (Control x in c.Controls)
        {
            if (x.ID == strID)
            {
                conReturn = x;
                break;
            }
            if (x.Controls.Count &#62; 0)
            {
                conReturn = CustomFindControl(x, strID);
                if (conReturn != null)
                {
                    return conReturn;
                }
            }

        }
        return conReturn;
    }</description>
		<content:encoded><![CDATA[<p>Hi, I got a little help from your site.  I appreciate it.  I did not find the best solution for the MultiView clearing of controls thing, but I did get a solution.  Maybe it is helpful, maybe not.</p>
<p>First, no BoundFields, must use TemplateField like this:</p>
<p>                                                &#8216; ReadOnly=&#8221;true&#8221;&gt;</p>
<p>                                                &#8216;&gt;&#8217;&gt;</p>
<p>Second, now that you gave the textbox, or any other control an ID, you can find it.  However, it is tough to find.  Below you can copy this CustomFindControl method, you pass it a control and it will search every control within that control to find the one you are looking for.  I mainly just pass it the page and let it do its work.  The call to that method looks like this:</p>
<p>            TextBox txtColumnHeader1 = (TextBox)CustomFindControl(muvTemplateItem, &#8220;txtColumnHeader&#8221;);<br />
            txtColumnHeader1.Text = &#8220;&#8221;;</p>
<p>muvTemplateItem is the multiview, but it could just as easily been the page.  Afetr you have the TextBox, or whatever, you can clear it out.</p>
<p>Like I said, kinda unclean, but it worked for me when I could not &#8220;do a GET &#8221; on the page.</p>
<p>Here is the CustomFindControl method</p>
<p>    private Control CustomFindControl(Control c, string strID)<br />
    {<br />
        Control conReturn = null;<br />
        foreach (Control x in c.Controls)<br />
        {<br />
            if (x.ID == strID)<br />
            {<br />
                conReturn = x;<br />
                break;<br />
            }<br />
            if (x.Controls.Count &gt; 0)<br />
            {<br />
                conReturn = CustomFindControl(x, strID);<br />
                if (conReturn != null)<br />
                {<br />
                    return conReturn;<br />
                }<br />
            }</p>
<p>        }<br />
        return conReturn;<br />
    }
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Administrator</title>
		<link>http://www.crossedconnections.org/w/index.php/2006/01/02/net-for-domino-developers-part-3/#comment-66</link>
		<pubDate>Fri, 06 Jan 2006 18:09:27 +0000</pubDate>
		<guid>http://www.crossedconnections.org/w/index.php/2006/01/02/net-for-domino-developers-part-3/#comment-66</guid>
					<description>Good luck Nick. Hope you find my disjointed ramblings to be coherent enough to learn something useful.</description>
		<content:encoded><![CDATA[<p>Good luck Nick. Hope you find my disjointed ramblings to be coherent enough to learn something useful.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Nick Wall</title>
		<link>http://www.crossedconnections.org/w/index.php/2006/01/02/net-for-domino-developers-part-3/#comment-63</link>
		<pubDate>Fri, 06 Jan 2006 14:57:32 +0000</pubDate>
		<guid>http://www.crossedconnections.org/w/index.php/2006/01/02/net-for-domino-developers-part-3/#comment-63</guid>
					<description>Good stuff.  I have been developing in Domino for 6 years now and my new years resolution is to get going with new technology(s).  Still waiting for VWD to install (!), so scanned through the articles.  This is exactly the "leg up" article(s) I needed to get me going.

Thanks.</description>
		<content:encoded><![CDATA[<p>Good stuff.  I have been developing in Domino for 6 years now and my new years resolution is to get going with new technology(s).  Still waiting for VWD to install (!), so scanned through the articles.  This is exactly the &#8220;leg up&#8221; article(s) I needed to get me going.</p>
<p>Thanks.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Administrator</title>
		<link>http://www.crossedconnections.org/w/index.php/2006/01/02/net-for-domino-developers-part-3/#comment-55</link>
		<pubDate>Wed, 04 Jan 2006 15:56:17 +0000</pubDate>
		<guid>http://www.crossedconnections.org/w/index.php/2006/01/02/net-for-domino-developers-part-3/#comment-55</guid>
					<description>Well Carleen, these are the type of comments that motivate me in the first place. The 4th installment is all set for a Monday publish and I have about 3-4 more in my head.  I kind of hope that this can grow to a regular series with much more specific, and in depth topics. So stay tuned,and if you have any specific requests, just drop me a line.</description>
		<content:encoded><![CDATA[<p>Well Carleen, these are the type of comments that motivate me in the first place. The 4th installment is all set for a Monday publish and I have about 3-4 more in my head.  I kind of hope that this can grow to a regular series with much more specific, and in depth topics. So stay tuned,and if you have any specific requests, just drop me a line.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: carleen</title>
		<link>http://www.crossedconnections.org/w/index.php/2006/01/02/net-for-domino-developers-part-3/#comment-54</link>
		<pubDate>Wed, 04 Jan 2006 15:09:58 +0000</pubDate>
		<guid>http://www.crossedconnections.org/w/index.php/2006/01/02/net-for-domino-developers-part-3/#comment-54</guid>
					<description>I found you via Gary Devendorf's blog.  I appreciate very much that you let us know that you have this intro series and that you have taken the time to assemble all of this information.

I think it will be just what I (and my team) need to transition from Notes dev to MS.  

Thank you is an understatement.</description>
		<content:encoded><![CDATA[<p>I found you via Gary Devendorf&#8217;s blog.  I appreciate very much that you let us know that you have this intro series and that you have taken the time to assemble all of this information.</p>
<p>I think it will be just what I (and my team) need to transition from Notes dev to MS.  </p>
<p>Thank you is an understatement.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
