<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/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>Web Forms</title><link>http://forums.asp.net/18.aspx</link><description>All about building ASP.NET Pages - server controls, events, validation, etc.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Unrecognized namespace error</title><link>http://forums.asp.net/thread/2312296.aspx</link><pubDate>Tue, 22 Apr 2008 03:47:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2312296</guid><dc:creator>bpag</dc:creator><author>bpag</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2312296.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=2312296</wfw:commentRss><description>&lt;p&gt;Why don&amp;#39;t you just make the tag &amp;lt;TESTTHIS&amp;gt;&amp;lt;/TESTTHIS&amp;gt; without the colon that way ASP.Net won&amp;#39;t try to interpret it as a server control? It will still render as a tag on the page sent to the browser but browsers should just ignore it. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Unrecognized namespace error</title><link>http://forums.asp.net/thread/2311191.aspx</link><pubDate>Mon, 21 Apr 2008 15:32:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2311191</guid><dc:creator>ureyes84</dc:creator><author>ureyes84</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2311191.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=2311191</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;wisccal:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;You can use either the Register directive in your aspx file or the controls tag in web.config.&lt;/p&gt;&lt;p&gt;The problem with both is that you would have to add an empty class/file for it to work. With Register:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;%@ Register TagPrefix=&amp;quot;TEST&amp;quot; Assembly=&amp;quot;YourProjectAssembly&amp;quot; %&amp;gt;&lt;br /&gt;--&amp;gt; add class THING to project&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;lt;%@ Register TagPrefix=&amp;quot;TEST&amp;quot;&amp;nbsp; TagName=&amp;quot;THING&amp;quot; src=&amp;quot;THING.ascx&amp;quot; %&amp;gt;&lt;br /&gt;--&amp;gt; add empty ascx file called THING.ascx&lt;/p&gt;&lt;p&gt;or in web.config, you can use the controls tag. Check out http://weblogs.asp.net/scottgu/archive/2006/11/26/tip-trick-how-to-register-user-controls-and-custom-controls-in-web-config.aspx.&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for your reply, however this doesn&amp;#39;t work:&lt;/p&gt;&lt;p&gt; First: I would still get a warning saying that &amp;lt;TEST:THING&amp;gt; is missing the required runat attribute.&lt;/p&gt;&lt;p&gt;Second: Since it is a web control and it is empty it will render no html, which is useless for me since I&amp;#39;m parsing the page output on the Render event and all the processing requires a starting point which is where tag is.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;wisccal:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;But wouldn&amp;#39;t it be easier to add a div or something with id=&amp;quot;test&amp;quot;? &lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;This is a good idea but if I want to have more than one block &amp;quot;enabled&amp;quot;:&lt;/p&gt;&amp;nbsp;&lt;pre class="coloredcode"&gt;&amp;lt;&lt;span class="tag"&gt;div&lt;/span&gt;&lt;span class="attr"&gt; id=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;test&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;        some text here&lt;br /&gt;      &amp;lt;/&lt;span class="tag"&gt;div&lt;/span&gt;&amp;gt;&lt;br /&gt;      &lt;br /&gt;      &amp;lt;&lt;span class="tag"&gt;div&lt;/span&gt;&lt;span class="attr"&gt; id=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;test&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;        more text over here&lt;br /&gt;      &amp;lt;/&lt;span class="tag"&gt;div&lt;/span&gt;&amp;gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;I would have repeated Id&amp;#39;s, which actually would work but I&amp;#39;d still get warnings.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any thoughts? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Unrecognized namespace error</title><link>http://forums.asp.net/thread/2308565.aspx</link><pubDate>Sat, 19 Apr 2008 16:02:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2308565</guid><dc:creator>wisccal</dc:creator><author>wisccal</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2308565.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=2308565</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;You can use either the Register directive in your aspx file or the controls tag in web.config.&lt;/p&gt;&lt;p&gt;The problem with both is that you would have to add an empty class/file for it to work. With Register:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;%@ Register TagPrefix=&amp;quot;TEST&amp;quot; Assembly=&amp;quot;YourProjectAssembly&amp;quot; %&amp;gt;&lt;br /&gt;--&amp;gt; add class THING to project&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;lt;%@ Register TagPrefix=&amp;quot;TEST&amp;quot;&amp;nbsp; TagName=&amp;quot;THING&amp;quot; src=&amp;quot;THING.ascx&amp;quot; %&amp;gt;&lt;br /&gt;--&amp;gt; add empty ascx file called THING.ascx&lt;/p&gt;&lt;p&gt;or in web.config, you can use the controls tag. Check out http://weblogs.asp.net/scottgu/archive/2006/11/26/tip-trick-how-to-register-user-controls-and-custom-controls-in-web-config.aspx.&lt;/p&gt;&lt;p&gt;But wouldn&amp;#39;t it be easier to add a div or something with id=&amp;quot;test&amp;quot;? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;==========&lt;br /&gt;Regards,&lt;br /&gt;Steve&lt;br /&gt;www.stkomp.com&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Unrecognized namespace error</title><link>http://forums.asp.net/thread/2307333.aspx</link><pubDate>Fri, 18 Apr 2008 16:21:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2307333</guid><dc:creator>ureyes84</dc:creator><author>ureyes84</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2307333.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=2307333</wfw:commentRss><description>&lt;p&gt;Hey world, &lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m trying to parse the output of an asp.net page and I added a &amp;quot;tag&amp;quot; to the html markup so I can quickly find the spot where I need to start.&lt;/p&gt;&lt;p&gt;The tag looks like this:&lt;/p&gt;&lt;p&gt;&amp;lt;TEST:THING&amp;gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;/TEST:THING&amp;gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It works fine, but I get the warning mentioned above.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Is there&amp;nbsp; a place (maybe the web.config file) where I can add this tag so I don&amp;#39;t get this warning ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;THANKS !&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>