<?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>Resources</title><link>http://www.dotnetnuke.com/tabid/795/Default.aspx</link><description>Resource discussions for DotNetNuke.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Local Website for IFrame</title><link>http://forums.asp.net/thread/1179269.aspx</link><pubDate>Wed, 25 Jan 2006 18:26:50 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1179269</guid><dc:creator>v053884</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1179269.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=99&amp;PostID=1179269</wfw:commentRss><description>&lt;p&gt;I tried this, commented out the suggested code:&lt;/p&gt;&lt;font size=2&gt;
&lt;p&gt;&lt;font color=#008000 size=2&gt;&amp;lt;!-- &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=#008000 size=2&gt;&amp;lt;asp:regularexpressionvalidator id="valURL" runat="server" cssclass="NormalRed" controltovalidate="txtSrc" errormessage="You Must Enter a Valid URL"
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;display="Dynamic" resourcekey="valURL.ErrorMessage" validationexpression="^((http|https|file)\://)?[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+&amp;amp;amp;%\$#\=~])*[^\.\,\)\(\s]$"&amp;gt;&amp;lt;/asp:regularexpressionvalidator&amp;gt;&lt;/p&gt;
&lt;p&gt;--&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size=2&gt;
&lt;p&gt;&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;It now allows any values, but does not allow the page to UPDATE.&amp;nbsp; In other words, it breaks the functionality of the page, somehow.&lt;/p&gt;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Local Website for IFrame</title><link>http://forums.asp.net/thread/1070417.aspx</link><pubDate>Mon, 03 Oct 2005 16:09:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1070417</guid><dc:creator>luisvelasco</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1070417.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=99&amp;PostID=1070417</wfw:commentRss><description>&lt;P class=MsoNormal&gt;The issue&amp;nbsp;is that developers sometimes have to test before releasing to production. I had the same problem with the validation string; I had to remove the entire line to accept my url. When DNN is being released as a INTRANET portal, the URL can be Many things. It can be a pointer to a document, ip, localhost, asp, aspx, webforms etc. I guess, the more validations DNN has,m the more limitations as well. Sometimes it is not possible to control users, let the users control themselves.&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR&gt;&lt;BR&gt;Luis Velasco&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Re: Local Website for IFrame</title><link>http://forums.asp.net/thread/1048372.aspx</link><pubDate>Sun, 11 Sep 2005 05:36:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1048372</guid><dc:creator>smehaffie</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1048372.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=99&amp;PostID=1048372</wfw:commentRss><description>I guess my question is why do you want to do this.&amp;nbsp; If a user
access the page with the iframe to localhost they user will get an
error becuase of the following:&lt;br&gt;
&lt;br&gt;
1) They do not have IIS installed.&lt;br&gt;
2) If they do have IIS isntalled, then they probably do no have the site setup on thier computer.&lt;br&gt;
&lt;br&gt;
Unless this is a page that will just be accessed on the web server, I
don't see how this will work even if you can enter localhost in the URL.&lt;br&gt;
&lt;br&gt;</description></item><item><title>Re: Local Website for IFrame</title><link>http://forums.asp.net/thread/1048139.aspx</link><pubDate>Sat, 10 Sep 2005 16:31:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1048139</guid><dc:creator>Kabelsalat</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1048139.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=99&amp;PostID=1048139</wfw:commentRss><description>Simply change validationexpression
intovalidationexpression="^((http|https)\://)?(([a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3})|(localhost))(:\d+)?/?[a-zA-Z0-9\-\._\?\,\'/\\\+\&amp;amp;\;%\$#\=~]*[^\.\,\)\(]*$"&lt;br&gt;
&lt;br&gt;
if you do so, also localhost will be excepted!&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;</description></item><item><title>Re: Local Website for IFrame</title><link>http://forums.asp.net/thread/1047780.aspx</link><pubDate>Sat, 10 Sep 2005 01:43:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1047780</guid><dc:creator>nbc</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1047780.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=99&amp;PostID=1047780</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;table width="85%"&gt;&lt;tr&gt;&lt;td class="txt4"&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt;&amp;nbsp;&lt;strong&gt;Mikeyt21 wrote:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="quoteTable"&gt;&lt;table width="100%"&gt;&lt;tr&gt;&lt;td width="100%" valign="top" class="txt4"&gt;&lt;BR&gt;I haven't tried this yet, but if it works as you say it does, what is the point of having this built-in check for the IFrame?&lt;BR&gt;Hopefully, it wasn't included to annoy intranet users :)&lt;BR&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/BLOCKQUOTE&gt;&lt;BR&gt;&lt;BR&gt;It is a simple validation script that checks for a valid url ie 'http://+something+dot=something' which of course localhost fails on. So no great conspiracy here...&lt;BR&gt;&lt;BR&gt;Apart from the&amp;nbsp;workarounds &amp;nbsp;Bill and I suggested you could also open the EditIFrame.ascx file in DesktopModules/IFrame and&amp;nbsp;comment out the relevant bit;&lt;BR&gt;&amp;lt;asp:regularexpressionvalidator id="valURL" runat="server" cssclass="NormalRed" controltovalidate="txtSrc" errormessage="You Must Enter a Valid URL"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;display="Dynamic" resourcekey="valURL.ErrorMessage" validationexpression="^((http|https)\://)?[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+&amp;amp;amp;%\$#\=~])*[^\.\,\)\(\s]$"&amp;gt;&amp;lt;/asp:regularexpressionvalidator&amp;gt;&amp;nbsp;</description></item><item><title>Re: Local Website for IFrame</title><link>http://forums.asp.net/thread/1047415.aspx</link><pubDate>Fri, 09 Sep 2005 18:25:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1047415</guid><dc:creator>Bill Mason</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1047415.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=99&amp;PostID=1047415</wfw:commentRss><description>Mikeyt21,&lt;BR&gt;&lt;BR&gt;I guess that is kind of funny.&amp;nbsp; I just ran into a problem and did what I needed to do to solve it.&amp;nbsp; It never occurred to me to mention it to someone.&lt;BR&gt;Bill</description></item><item><title>Re: Local Website for IFrame</title><link>http://forums.asp.net/thread/1047277.aspx</link><pubDate>Fri, 09 Sep 2005 16:59:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1047277</guid><dc:creator>Mikeyt21</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1047277.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=99&amp;PostID=1047277</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;table width="85%"&gt;&lt;tr&gt;&lt;td class="txt4"&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt;&amp;nbsp;&lt;strong&gt;Bill Mason wrote:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="quoteTable"&gt;&lt;table width="100%"&gt;&lt;tr&gt;&lt;td width="100%" valign="top" class="txt4"&gt;&lt;BLOCKQUOTE&gt;&lt;table width="85%"&gt;&lt;tr&gt;&lt;td class="txt4"&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt;&amp;nbsp;&lt;strong&gt;Mikeyt21 wrote:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="quoteTable"&gt;&lt;table width="100%"&gt;&lt;tr&gt;&lt;td width="100%" valign="top" class="txt4"&gt;Hi, I am using Dot Net Nuke to develop a company intranet. I would like to create an IFrame with a website running off of the localhost server.&lt;BR&gt;Whenever I try to do this dotnetnuke complains that "&lt;FONT color=#ff0000&gt;You Must Enter a Valid URL&lt;/FONT&gt;&lt;FONT color=#000000&gt;".&lt;BR&gt;&lt;BR&gt;How can I get around this problem?&lt;BR&gt;&lt;BR&gt;Thanks!&lt;/FONT&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/BLOCKQUOTE&gt;&lt;BR&gt;&lt;BR&gt;Hi,&lt;BR&gt;&lt;BR&gt;I ran into the same problem trying to use&amp;nbsp; a relative path.&amp;nbsp; I finally entered any legal URL that it would take.&amp;nbsp; While still in the iframe edit mode, I&amp;nbsp;looked at the url at the top of the page and noted the moduleID.&amp;nbsp; I went into SQL server and opened the modulesettings table.&amp;nbsp; Then just find the record for the tablid for the iframe and look for the "src" record and edit it directly.&lt;BR&gt;&lt;BR&gt;Bill&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/BLOCKQUOTE&gt;&lt;BR&gt;&lt;BR&gt;I haven't tried this yet, but if it works as you say it does, what is the point of having this built-in check for the IFrame?&lt;BR&gt;Hopefully, it wasn't included to annoy intranet users :)&lt;BR&gt;</description></item><item><title>Re: Local Website for IFrame</title><link>http://forums.asp.net/thread/1046843.aspx</link><pubDate>Fri, 09 Sep 2005 11:50:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1046843</guid><dc:creator>Bill Mason</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1046843.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=99&amp;PostID=1046843</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;table width="85%"&gt;&lt;tr&gt;&lt;td class="txt4"&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt;&amp;nbsp;&lt;strong&gt;Mikeyt21 wrote:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="quoteTable"&gt;&lt;table width="100%"&gt;&lt;tr&gt;&lt;td width="100%" valign="top" class="txt4"&gt;Hi, I am using Dot Net Nuke to develop a company intranet. I would like to create an IFrame with a website running off of the localhost server.&lt;BR&gt;Whenever I try to do this dotnetnuke complains that "&lt;FONT color=#ff0000&gt;You Must Enter a Valid URL&lt;/FONT&gt;&lt;FONT color=#000000&gt;".&lt;BR&gt;&lt;BR&gt;How can I get around this problem?&lt;BR&gt;&lt;BR&gt;Thanks!&lt;/FONT&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/BLOCKQUOTE&gt;&lt;BR&gt;&lt;BR&gt;Hi,&lt;BR&gt;&lt;BR&gt;I ran into the same problem trying to use&amp;nbsp; a relative path.&amp;nbsp; I finally entered any legal URL that it would take.&amp;nbsp; While still in the iframe edit mode, I&amp;nbsp;looked at the url at the top of the page and noted the moduleID.&amp;nbsp; I went into SQL server and opened the modulesettings table.&amp;nbsp; Then just find the record for the tablid for the iframe and look for the "src" record and edit it directly.&lt;BR&gt;&lt;BR&gt;Bill</description></item><item><title>Re: Local Website for IFrame</title><link>http://forums.asp.net/thread/1046655.aspx</link><pubDate>Fri, 09 Sep 2005 07:01:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1046655</guid><dc:creator>nbc</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1046655.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=99&amp;PostID=1046655</wfw:commentRss><description>The IFrame module won't accept localhost or 127.0.0.1 because of its validation setting, so you need perhaps to to use the server name? Alternatively you could add a text module and in html mode add &lt;BR&gt;&lt;BR&gt;&amp;lt;iframe src="&lt;A href="http://localhost/whatever"&gt;http://localhost/whatever&lt;/A&gt;" width="200" height="200"&amp;gt;&amp;lt;/iframe&amp;gt; .</description></item><item><title>Re: Local Website for IFrame</title><link>http://forums.asp.net/thread/1046569.aspx</link><pubDate>Fri, 09 Sep 2005 04:25:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1046569</guid><dc:creator>xddg</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1046569.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=99&amp;PostID=1046569</wfw:commentRss><description>&lt;P&gt;I haven't tried this but have you tried an IP address based url?&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Nina Meiers&lt;/P&gt;</description></item><item><title>Local Website for IFrame</title><link>http://forums.asp.net/thread/1046400.aspx</link><pubDate>Thu, 08 Sep 2005 23:40:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1046400</guid><dc:creator>Mikeyt21</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1046400.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=99&amp;PostID=1046400</wfw:commentRss><description>Hi, I am using Dot Net Nuke to develop a company intranet. I would like to create an IFrame with a website running off of the localhost server.&lt;BR&gt;Whenever I try to do this dotnetnuke complains that "&lt;FONT color=#ff0000&gt;You Must Enter a Valid URL&lt;/FONT&gt;&lt;FONT color=#000000&gt;".&lt;BR&gt;&lt;BR&gt;How can I get around this problem?&lt;BR&gt;&lt;BR&gt;Thanks!&lt;/FONT&gt;</description></item></channel></rss>