<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx</link><description>Following on from my post of application dev on SharePoint ( here ), I have had some people ask how to embed ASP.Net User Controls in the pages you can add to your site using Option 4 (see post for more details on what this option is). Well ... i did</description><dc:language>en-NZ</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#1973331</link><pubDate>Wed, 28 Mar 2007 11:24:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1973331</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;How can you use code behind with User Controls used in this way? &amp;nbsp;Where does the DLL go?&lt;/p&gt;</description></item><item><title>" + title + "</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#1975336</link><pubDate>Wed, 28 Mar 2007 14:45:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1975336</guid><dc:creator>" + title + "</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.virtual-generations.com/2007/03/28/sharepoint-2007-link-dump-3/"&gt;http://www.virtual-generations.com/2007/03/28/sharepoint-2007-link-dump-3/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#1975490</link><pubDate>Wed, 28 Mar 2007 15:04:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1975490</guid><dc:creator>William Cornwill</dc:creator><description>&lt;p&gt;Thanks Chris this is excellent and no need for SmartPart. &amp;nbsp; I have recently been creating class based custom controls but the ASCX visual creation method might be handy sometimes.&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#1980927</link><pubDate>Thu, 29 Mar 2007 00:59:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1980927</guid><dc:creator>chjohn</dc:creator><description>&lt;p&gt;Hi Tony,&lt;/p&gt;
&lt;p&gt;You can put your code behind DLL in the C:\Inetpub\wwwroot\wss\VirtualDirectories\moss.litwareinc.com80\BIN directory and SharePoint will find them.&lt;/p&gt;
&lt;p&gt;You will need to add an entry to the SafeControls list in web.config for your types in the DLL.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;-Chris.&lt;/p&gt;
</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#2011749</link><pubDate>Mon, 02 Apr 2007 15:35:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2011749</guid><dc:creator>Renaud Comte</dc:creator><description>&lt;p&gt;Perhaps using DelegateControl and a feature coul be also a good idea ?&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#2034203</link><pubDate>Thu, 05 Apr 2007 21:17:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2034203</guid><dc:creator>Ali </dc:creator><description>&lt;p&gt;Chris,&lt;/p&gt;
&lt;p&gt;this is cool. i'm not sure why, in general, this is so difficult to do with Sharepoint. One additional question i had was if the application that is being imported to sharepoint accesses a webservice, will porting the web.config settings to sharepoint be sufficient? will there be additional work that needs to be done?&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#2101975</link><pubDate>Thu, 12 Apr 2007 20:33:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2101975</guid><dc:creator>Nigel</dc:creator><description>&lt;p&gt;I am having problems when the usercontrol uses session variables.&lt;/p&gt;
&lt;p&gt;I have set enablesessionstate=&amp;quot;true&amp;quot; on the pages directive in web.config and made sure I have a sessionstatemodule in the &amp;lt;httpModules&amp;gt; section but still get the error message &amp;quot;sessionstate can only be used when enableSessionState is set to true&amp;quot; when an seessionstate variable is accessed.&lt;/p&gt;
&lt;p&gt;Any ideas why greatfully recevied&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Nigel&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#2458107</link><pubDate>Mon, 07 May 2007 08:34:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2458107</guid><dc:creator>vdonkey</dc:creator><description>&lt;p&gt;Hi, I have a question.&lt;/p&gt;
&lt;p&gt;I used control in aspx, &amp;lt;%@ Register TagPrefix=&amp;quot;uc1&amp;quot; TagName=&amp;quot;UpFile&amp;quot; Src=&amp;quot;../ucontrol/UpFile.ascx&amp;quot; %&amp;gt;&lt;/p&gt;
&lt;p&gt;but when different clients happened to access the same page, it seemed they are using the same control object somewhere in the server's memory. when one client changed a variable in the control, it will effect the other one's display. how to solve it?&lt;/p&gt;
&lt;p&gt;thanks in advance&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#3103154</link><pubDate>Tue, 05 Jun 2007 23:21:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3103154</guid><dc:creator>Will Pritchard</dc:creator><description>&lt;p&gt;Everything seems to get off the ground just fine for me with the exception of adding the SafeControl to web.config. &amp;nbsp;Once this line is added to the SafeControls and IIS is reset I receive the following error:&lt;/p&gt;
&lt;p&gt;This page has encountered a critical error. Contact your system administrator if this problem persists. &lt;/p&gt;
&lt;p&gt;I have double and triple checked the process and haven't found any deviations from your post. &amp;nbsp;I am using ascx/.cs files in my _controls Virtual Directory. &amp;nbsp;The only difference from the example is these are not precompiled and are calling on a service .asmx and App_Code/*.cs classes. &amp;nbsp;Could this be the issue?&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Will&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#3125965</link><pubDate>Thu, 07 Jun 2007 00:38:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3125965</guid><dc:creator>brwalias</dc:creator><description>&lt;p&gt;By adding:&lt;/p&gt;
&lt;p&gt;&amp;lt;SafeControl src=&amp;quot;~/_controls/*&amp;quot; mce_src=&amp;quot;~/_controls/*&amp;quot; IncludeSubFolders=&amp;quot;True&amp;quot; Safe=&amp;quot;True&amp;quot; AllowRemoteDesigner=&amp;quot;True&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;to the web.config it pumps out an error on my site:&lt;/p&gt;
&lt;p&gt;This page has encountered a critical error. Contact your system administrator if this problem persists. &lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#3384921</link><pubDate>Mon, 18 Jun 2007 17:33:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3384921</guid><dc:creator>isel</dc:creator><description>&lt;p&gt;attributes names are case-sensitive, you should use:&lt;/p&gt;
&lt;p&gt;&amp;lt;SafeControl Src=&amp;quot;~/_controls/*&amp;quot; &amp;nbsp;IncludeSubFolders=&amp;quot;True&amp;quot; Safe=&amp;quot;True&amp;quot; AllowRemoteDesigner=&amp;quot;True&amp;quot; /&amp;gt;&lt;/p&gt;</description></item><item><title>What in the world is CJ up to?  His PM job in WSS at MS &amp; what does he want from you?</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#3959963</link><pubDate>Thu, 19 Jul 2007 21:02:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3959963</guid><dc:creator>Chris Johnson</dc:creator><description>&lt;p&gt;Until yesterday it has been quite a while since I blogged. Basically here is the list of things I have&lt;/p&gt;
</description></item><item><title>What in the world is CJ up to?  His PM job in WSS at MS &amp; what does he want from you?</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#3960149</link><pubDate>Thu, 19 Jul 2007 21:07:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3960149</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;Until yesterday it has been quite a while since I blogged. Basically here is the list of things I have&lt;/p&gt;
</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#4423833</link><pubDate>Fri, 17 Aug 2007 04:26:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4423833</guid><dc:creator>yuhang sun</dc:creator><description>&lt;p&gt;What about deploying a custom user control to _controltemplates directory? It is an out-of-box directory for holding asp.net user controls.&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#4526161</link><pubDate>Thu, 23 Aug 2007 16:59:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4526161</guid><dc:creator>Bhavin Gajjar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I followed article and at last got error ...&lt;/p&gt;
&lt;p&gt;The mce_src attribute on the register directive is not allowed in this page. &lt;/p&gt;
&lt;p&gt;Troubleshoot issues with Windows SharePoint Services. &lt;/p&gt;
&lt;p&gt;What to do with this error?&lt;/p&gt;
&lt;p&gt;Thanks in Adv. if &amp;nbsp;one can help me.&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#5473233</link><pubDate>Tue, 16 Oct 2007 20:27:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5473233</guid><dc:creator>Ian Kelly</dc:creator><description>&lt;p&gt;I have tried this but with the same problems that several have had.&lt;/p&gt;
&lt;p&gt;1.) mce_src attribute causes errors in my entire site&lt;/p&gt;
&lt;p&gt;2.) Where does one put the &amp;lt;uc2&amp;gt;&amp;lt;/uc2&amp;gt; control instance within the page where it will show up correctly?&lt;/p&gt;
&lt;p&gt;3.) When I add the control anywhere inside a default.aspx or any other page/page layout I get a render error saying &amp;quot;Can't find ~/_controls.....&amp;quot;&lt;/p&gt;
&lt;p&gt;Is anyone else having these same problems?&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#6439061</link><pubDate>Tue, 20 Nov 2007 21:01:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6439061</guid><dc:creator>smeyer</dc:creator><description>&lt;p&gt;I had the same issue with the mce_src attribute &lt;/p&gt;
&lt;p&gt; mce_src=&amp;quot;~/_controls/*&amp;quot; in the safe controls in web config caused a critical error on all sites in the collection. Not sure why but would like to understand why if possible. &lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#6691041</link><pubDate>Fri, 07 Dec 2007 12:35:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6691041</guid><dc:creator>Noé García</dc:creator><description>&lt;p&gt;In our sites, we had the critical error on all sites, but I have solved following the instructions from Chris Johnson's blog. First you should add the next line to your web.config.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;SafeControl Src=&amp;quot;~/_controls/*&amp;quot; IncludeSubFolders=&amp;quot;True&amp;quot; Safe=&amp;quot;True&amp;quot; AllowRemoteDesigner=&amp;quot;True&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;and it's necessary change the next line:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;!--&amp;lt;trustLevel name=&amp;quot;WSS_Minimal&amp;quot; policyFile=&amp;quot;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\config\wss_minimaltrust.config&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;to:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;trustLevel name=&amp;quot;WSS_Medium&amp;quot; policyFile=&amp;quot;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\config\wss_mediumtrust.config&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;No&amp;#233; Garc&amp;#237;a (from Asturias (Spain-Europe)).&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#6875004</link><pubDate>Thu, 27 Dec 2007 08:28:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6875004</guid><dc:creator>Tom King</dc:creator><description>&lt;p&gt;I would just like to know how can we add sessions in user control&lt;/p&gt;</description></item><item><title>How we did it: Fly Buys website</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#7021206</link><pubDate>Tue, 08 Jan 2008 01:54:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7021206</guid><dc:creator>Mirrored Blogs</dc:creator><description>&lt;p&gt;Body: Fly Buys is New Zealand’s leading loyalty programme and is managed by Loyalty New Zealand. Fly&lt;/p&gt;
</description></item><item><title>site</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#7265072</link><pubDate>Sun, 27 Jan 2008 15:59:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7265072</guid><dc:creator>site</dc:creator><description>&lt;p&gt;site &lt;a rel="nofollow" target="_new" href="http://claudiadonaghy.warp0.com/"&gt;http://claudiadonaghy.warp0.com/&lt;/a&gt; domain page home&lt;/p&gt;
</description></item><item><title>site</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#7317701</link><pubDate>Wed, 30 Jan 2008 05:36:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7317701</guid><dc:creator>site</dc:creator><description>&lt;p&gt;site &lt;a rel="nofollow" target="_new" href="http://cristinbickford.mystarship.com/"&gt;http://cristinbickford.mystarship.com/&lt;/a&gt; http domain website&lt;/p&gt;
</description></item><item><title>Using ASP.Net user controls ASCX in MOSS/WSSv3</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#7362843</link><pubDate>Fri, 01 Feb 2008 04:00:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7362843</guid><dc:creator>CodeJedi.NET</dc:creator><description>&lt;p&gt;Chris Johnson has posted a great article on using ASP.Net ASCX user controls in MOSS/WSSv3. I have been&lt;/p&gt;
</description></item><item><title>http</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#7535106</link><pubDate>Fri, 08 Feb 2008 09:12:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7535106</guid><dc:creator>http</dc:creator><description>&lt;p&gt;http www domain website &lt;a rel="nofollow" target="_new" href="http://rosariobearce.actorsite.com/"&gt;http://rosariobearce.actorsite.com/&lt;/a&gt; http&lt;/p&gt;
</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#7936446</link><pubDate>Thu, 28 Feb 2008 20:17:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7936446</guid><dc:creator>bps</dc:creator><description>&lt;p&gt;Only an obsefrvation, i've found on my web site a visit reffered from this site, I don't know how, but it's like this, anyway I've found this code on this website:&lt;/p&gt;
&lt;p&gt;&amp;lt;img src=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://c.microsoft.com/trans_pixel.aspx?TYPE=PV&amp;amp;amp;r=http%3a%2f%2fnoslan.com%2fwp-admin%2fadmin.php%3fpage%3dwassup&amp;quot;"&gt;http://c.microsoft.com/trans_pixel.aspx?TYPE=PV&amp;amp;amp;r=http%3a%2f%2fnoslan.com%2fwp-admin%2fadmin.php%3fpage%3dwassup&amp;quot;&lt;/a&gt; width=&amp;quot;0&amp;quot; height=&amp;quot;0&amp;quot; alt=&amp;quot;Page view tracker&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/body&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/html&amp;gt;&lt;/p&gt;
&lt;p&gt;Can someone explain me why?&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#8326144</link><pubDate>Wed, 19 Mar 2008 22:32:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8326144</guid><dc:creator>nato castro</dc:creator><description>&lt;p&gt;Great post, but if you put the mce_src, it doesn't work. &lt;/p&gt;
&lt;p&gt;Nato&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#8402742</link><pubDate>Thu, 17 Apr 2008 15:47:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8402742</guid><dc:creator>veera</dc:creator><description>&lt;p&gt;Hi , &lt;/p&gt;
&lt;p&gt;I have intranet site and internet site &amp;nbsp;on same webapplication and &amp;nbsp; using same content database . &lt;/p&gt;
&lt;p&gt;i can able to apply user controls to the pages in internet site &amp;nbsp; &amp;nbsp;, user controls are displaying properly . when i try the same thing in intranet site . iam unable to use the user controls ? &lt;/p&gt;
&lt;p&gt;any ideas? Please let me know &lt;/p&gt;
&lt;p&gt;Veera &lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#8436969</link><pubDate>Tue, 29 Apr 2008 13:43:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8436969</guid><dc:creator>Densio_phil</dc:creator><description>&lt;p&gt;Hi there, I have a question..&lt;/p&gt;
&lt;p&gt;How can I integrate a asp.net user control to a xslt functionality.&lt;/p&gt;
&lt;p&gt;To be more specific.&lt;/p&gt;
&lt;p&gt;I have a sharepoint page that uses xslt to return search results. In my xslt I want to place a user control that was made by VB.net. How can i place this user control(link) and point it to the vb code???&lt;/p&gt;
&lt;p&gt;Thanks in advance...&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#8570187</link><pubDate>Mon, 02 Jun 2008 23:27:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8570187</guid><dc:creator>Chinna</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Am getting control not found error.&lt;/p&gt;
&lt;p&gt;Does any one has got the same and found any work arrounds&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#8954834</link><pubDate>Wed, 17 Sep 2008 07:24:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8954834</guid><dc:creator>Oliver</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;what can be difference between users controls in aspx pages and users controls in smartpart? I tried both but smart part is nicer because you can put a user control anywhere as long as the target page is web part enabled. I also let you guys how to use own class files etc.&lt;/p&gt;
&lt;p&gt;0. create a project and add class file for common use such as your common functions etc. if you have own custom control then create a cs file for it as well.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; DatePicker.cs (with name space Microsoft.DatePicker)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; Common.cs&lt;/p&gt;
&lt;p&gt;1. create web user control with name space.&lt;/p&gt;
&lt;p&gt;name space Microsoft.myOwnUserControl1Namespace &lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp;public partial class contols_ManageMicrosoft : System.Web.UI.UserControl&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{............&lt;/p&gt;
&lt;p&gt; &amp;nbsp;aspx page should read&lt;/p&gt;
&lt;p&gt;'Inherits=&amp;quot;Microsoft.myOwnUserControl1Namespace.contols_ManageMicrosoft&amp;quot; &lt;/p&gt;
&lt;p&gt;if you have another user control,&lt;/p&gt;
&lt;p&gt;name space Microsoft.myOwnUserControl2Namespace &lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp;public partial class contols_ManageMicrosoftToilet : System.Web.UI.UserControl&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{............&lt;/p&gt;
&lt;p&gt; &amp;nbsp;aspx page should read&lt;/p&gt;
&lt;p&gt;'Inherits=&amp;quot;Microsoft.myOwnUserControl2Namespace.contols_ManageMicrosoft&amp;quot; &lt;/p&gt;
&lt;p&gt;2. publish the project with updatable and srong name signed. (how to create a key .snk file please check sn.exe help)&lt;/p&gt;
&lt;p&gt;3. using ILMerge.exe to combine all dlls at the pre compiled bin folder into one dll (assembly). This will keep the key (strong name signing) as well.&lt;/p&gt;
&lt;p&gt;4. Move the new dll (myAssembly.dll) to GAC and find all necessary info via its property (right click and select property in the GAC) &lt;/p&gt;
&lt;p&gt;5. register into web.config in sharepoint &lt;/p&gt;
&lt;p&gt; &amp;nbsp; Make sure each name space should be added to the config file.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;SafeControl Assembly=&amp;quot;myAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a0b30de848420999&amp;quot; Namespace=&amp;quot;Microsoft.myOwnUserControl1Namespace&amp;quot; TypeName=&amp;quot;*&amp;quot; Safe=&amp;quot;True&amp;quot; /&amp;gt;	&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;SafeControl Assembly=&amp;quot;myAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a0b30de848420999&amp;quot; Namespace=&amp;quot;Microsoft.myOwnUserControl1Namespace&amp;quot; TypeName=&amp;quot;*&amp;quot; Safe=&amp;quot;True&amp;quot; /&amp;gt;	&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;SafeControl Assembly=&amp;quot;myAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=a0b30de848420999&amp;quot; Namespace=&amp;quot;Microsoft.DatePicker&amp;quot; TypeName=&amp;quot;*&amp;quot; Safe=&amp;quot;True&amp;quot; /&amp;gt;	&lt;/p&gt;
&lt;p&gt;6. With Smart part it should work straight.&lt;/p&gt;
&lt;p&gt;With custom aspx page, you need to add a line&lt;/p&gt;
&lt;p&gt;&amp;lt;%@ Register src=&amp;quot;~/ManageMicrosoft.ascx&amp;quot; tagname=&amp;quot;ManageMicrosoft&amp;quot; tagprefix=&amp;quot;uc1&amp;quot; %&amp;gt;&lt;/p&gt;
&lt;p&gt;7. if system.data.... error message occurs, then you need to check the below link for fixing the problem.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.eggheadcafe.com/software/aspnet/30460745/request-for-the-permissio.aspx"&gt;http://www.eggheadcafe.com/software/aspnet/30460745/request-for-the-permissio.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;8. Good luck&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#8958286</link><pubDate>Fri, 19 Sep 2008 09:07:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8958286</guid><dc:creator>Oliver</dc:creator><description>&lt;p&gt;but if you want, you can make one assembly with one name space(name space=Microsoft, assembly=Microsoft(.dll)). Before you put the ascx file to sharepoint directory, you need to change the first line of your web user controls.&lt;/p&gt;
&lt;p&gt;&amp;lt;%@ Control Language=&amp;quot;C#&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot; CodeFile=&amp;quot;ManageMicrosoftToilet.ascx.cs&amp;quot; Inherits=&amp;quot;Microsoft.contols_ManageMicrosoftToilet, Microsoft&amp;quot; %&amp;gt; &amp;lt;!-- the behind code will be found in assembly Microsoft and its name space is Microsoft. --&amp;gt;&lt;/p&gt;
&lt;p&gt;With these information you can do whatever with your sharepoint.You can put your user controls to sharepoint aspx page or smart part in the sharepoint.&lt;/p&gt;
&lt;p&gt;to be bear in mind, if you have another user controls inside your user control, the reference tag should include assemly=&amp;quot;Microsoft&amp;quot; beside namespace=&amp;quot;Microsoft&amp;quot; tag=&amp;quot;cc1&amp;quot; and you can create a user control inside your page.&lt;/p&gt;
&lt;p&gt;&amp;lt;cc1:DatePicker id=&amp;quot;myPicker&amp;quot; runat=&amp;quot;server /&amp;gt;&lt;/p&gt;</description></item><item><title>re: Using ASP.Net user controls in your WSSV3/MOSS ASPX pages...</title><link>http://blogs.msdn.com/cjohnson/archive/2007/03/28/using-asp-net-user-controls-in-your-wssv3-moss-aspx-pages.aspx#9397946</link><pubDate>Thu, 05 Feb 2009 12:21:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9397946</guid><dc:creator>Rahemath</dc:creator><description>&lt;p&gt;one more way to use usercontrols in MOSS ASPX pages&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.a2zdotnet.com/View.aspx?id=95"&gt;http://www.a2zdotnet.com/View.aspx?id=95&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>