CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.resources Tags:
Item Type: NewsGroup Date Entered: 9/8/2005 11:40:47 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 13 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
11 Items, 1 Pages 1 |< << Go >> >|
Mikeyt21
Asp.Net User
Local Website for IFrame9/8/2005 11:40:47 PM

0/0

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.
Whenever I try to do this dotnetnuke complains that "You Must Enter a Valid URL".

How can I get around this problem?

Thanks!
xddg
Asp.Net User
Re: Local Website for IFrame9/9/2005 4:25:02 AM

0/0

I haven't tried this but have you tried an IP address based url? 

Nina Meiers


Nina Meiers


Free Skins & Containers by Nina Meies
nbc
Asp.Net User
Re: Local Website for IFrame9/9/2005 7:01:38 AM

0/0

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

<iframe src="http://localhost/whatever" width="200" height="200"></iframe> .
Regards, Nick

Free Css Skins! | nuke.nickclements.net 
Bill Mason
Asp.Net User
Re: Local Website for IFrame9/9/2005 11:50:47 AM

0/0

 Mikeyt21 wrote:
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.
Whenever I try to do this dotnetnuke complains that "You Must Enter a Valid URL".

How can I get around this problem?

Thanks!


Hi,

I ran into the same problem trying to use  a relative path.  I finally entered any legal URL that it would take.  While still in the iframe edit mode, I looked at the url at the top of the page and noted the moduleID.  I went into SQL server and opened the modulesettings table.  Then just find the record for the tablid for the iframe and look for the "src" record and edit it directly.

Bill
Mikeyt21
Asp.Net User
Re: Local Website for IFrame9/9/2005 4:59:03 PM

0/0

 Bill Mason wrote:
 Mikeyt21 wrote:
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.
Whenever I try to do this dotnetnuke complains that "You Must Enter a Valid URL".

How can I get around this problem?

Thanks!


Hi,

I ran into the same problem trying to use  a relative path.  I finally entered any legal URL that it would take.  While still in the iframe edit mode, I looked at the url at the top of the page and noted the moduleID.  I went into SQL server and opened the modulesettings table.  Then just find the record for the tablid for the iframe and look for the "src" record and edit it directly.

Bill


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?
Hopefully, it wasn't included to annoy intranet users :)
Bill Mason
Asp.Net User
Re: Local Website for IFrame9/9/2005 6:25:36 PM

0/0

Mikeyt21,

I guess that is kind of funny.  I just ran into a problem and did what I needed to do to solve it.  It never occurred to me to mention it to someone.
Bill
nbc
Asp.Net User
Re: Local Website for IFrame9/10/2005 1:43:12 AM

0/0

 Mikeyt21 wrote:

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?
Hopefully, it wasn't included to annoy intranet users :)


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...

Apart from the workarounds  Bill and I suggested you could also open the EditIFrame.ascx file in DesktopModules/IFrame and comment out the relevant bit;
<asp:regularexpressionvalidator id="valURL" runat="server" cssclass="NormalRed" controltovalidate="txtSrc" errormessage="You Must Enter a Valid URL"
    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;%\$#\=~])*[^\.\,\)\(\s]$"></asp:regularexpressionvalidator> 
Regards, Nick

Free Css Skins! | nuke.nickclements.net 
Kabelsalat
Asp.Net User
Re: Local Website for IFrame9/10/2005 4:31:15 PM

0/0

Simply change validationexpression intovalidationexpression="^((http|https)\://)?(([a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3})|(localhost))(:\d+)?/?[a-zA-Z0-9\-\._\?\,\'/\\\+\&\;%\$#\=~]*[^\.\,\)\(]*$"

if you do so, also localhost will be excepted!



smehaffie
Asp.Net User
Re: Local Website for IFrame9/11/2005 5:36:48 AM

0/0

I guess my question is why do you want to do this.  If a user access the page with the iframe to localhost they user will get an error becuase of the following:

1) They do not have IIS installed.
2) If they do have IIS isntalled, then they probably do no have the site setup on thier computer.

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.


S. Shawn Mehaffie
PC Resources, LLC
luisvelasco
Asp.Net User
Re: Local Website for IFrame10/3/2005 4:09:34 PM

0/0

The issue 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.

Thanks

Luis Velasco

 

v053884
Asp.Net User
Re: Local Website for IFrame1/25/2006 6:26:50 PM

0/0

I tried this, commented out the suggested code:

<!--

<asp:regularexpressionvalidator id="valURL" runat="server" cssclass="NormalRed" controltovalidate="txtSrc" errormessage="You Must Enter a Valid URL"

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;%\$#\=~])*[^\.\,\)\(\s]$"></asp:regularexpressionvalidator>

-->

It now allows any values, but does not allow the page to UPDATE.  In other words, it breaks the functionality of the page, somehow.

11 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Hacking Exposed: Network Security Secrets & Solutions Authors: Stuart McClure, Joel Scambray, George Kurtz, Pages: 692, Published: 2005
Malicious Mobile Code: Virus Protection for Windows Authors: Roger A. Grimes, Pages: 522, Published: 2001
Adobe Creative Suite 3 Web Premium All-in-One Desk Reference For Dummies: All-in-one Desk Reference for Dummies Authors: Damon Dean, Andy Cowitt, Jennifer Smith, Christopher Smith, Pages: 882, Published: 2007
Writing Secure Code: practical strategies and proven techniques for building secure applications in a networked world Authors: Michael Howard, David LeBlanc, Pages: 768, Published: 2003
Foundations of Computer Security Authors: David Salomon, Pages: 368, Published: 2006
Foundations of Ajax Authors: Ryan Asleson, Nathaniel T. Schutta, Pages: 273, Published: 2005
Hacking Exposed Windows Server 2003: Windows Server 2003 Authors: Joel Scambray, Stuart McClure, Pages: 628, Published: 2003
Microsoft Office SharePoint Server 2007: The Complete Reference Authors: David Matthew Sterling, David Sterling, Pages: 788, Published: 2007
Web Design in a Nutshell: A Desktop Quick Reference Authors: Jennifer Niederst, Jennifer Niederst Robbins, Pages: 618, Published: 2001

Web:
Iframe Src = A Local File In My Computer Feb 6, 2008 ... Searching Video's for iframe, src, local, file, computer ... Making A Refresh Link On Your Website. - refresh local webpage ...
Local Website for IFrame - ASP.NET Forums Local Website for IFrame. Last post 01-25-2006 1:26 PM by v053884. 10 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
Placing Calendar on Website without iframe - Feature Requests and ... Date: Wed, 29 Aug 2007 22:53:31 -0700. Local: Thurs, Aug 30 2007 1:53 am. Subject: Placing Calendar on Website without iframe ...
Joomla! • View topic - Embedding Flash into Joomla website using ... Post subject: Embedding Flash into Joomla website using iframe ... Philippines Local Forum www.joomla.org.ph, Finnish Forum, French Forum, Les annonces! ...
Welcome to Power Web Connect Alternate Local Dial up #s for BD, Horicon and Burnett (8/2/07) Due to intermittent 691 ... If you can see this, your browser doesn't understand IFRAME . ...
Welcome to www.thisisull.com/Kids Hull Local WebSite Error your browser doesn't support the IFRAME element. ... like to say a big thanks to all of those people that have contributed to this great website. ...
mootools forums / Mootools 1.2 IFrame doesn't work on local computer On local computer, the iframe doesn't have Mootools extension. ... cheeaun: Member: From: Malaysia: From : 2007-01-31: Posts: 51: Website ...
CNET Sites Under IFRAME Attack | CyberInsecure.com Three more sites part of CNET Networks’ portfolio, getting injected with more IFRAMEs, abusing their search engine’s local caching, and storing of any ...
website-press-iframe ... a bass, and an old Casio keyboard - Kristin, Marissa, and Faith soon proved that they were the band to fill this gender gap in the local rock scene. ...
iTWire - Carbonite Australia launches local website - www ... Oct 8, 2008 ... Carbonite Australia launches local website - www.carbonite.com.au ... announced the release of its Australian website www.carbonite.com.au ...

Videos:
Homemade go kart frame built from interlocking wood blocks. The go kart in this video was built using Zipblocks. Zipblocks are blocks that mechanically interlock on placement. You can think of Zipblocks as gi...
New Xmas Gadgets! Chinavasion Screencast Nov. 9, 2007 Welcome to the first Chinavasion Screencast! In this edition we look at four gadgets that are sure to be bestsellers this Xmas season. Chinavasion'...
New framed reproduction art deco pin up girl print Hi, the artdeco lady here..I am so excited..to tell you about my new website where I am offering New reproduction art prints..some done by famous ar...
Clothes made from Recycled Fabric http://mandateforheavenclothing.com I’ve been thinking a lot about clothing lately. I think there is a big potential for the whole clothing experien...
Bottle Village Walkway of Fame "Pave the Way" to Preserve Bottle Village PO Box 1412 Simi Valley CA 93062 Help Us Restore this unique Visionary Folk Art Environment! See your n...
Lost Tulsa Interview on Tulsa Times Local production Tulsa Times' host David Crow interviews Tom Baddley of Lost Tulsa web site [www.losttulsa.com]. They discuss many of the disappearin...
The LONGEST stone bridge in England - Swarkestone Bridge This video is about a local bridge. Swarkestone Bridge and Causeway is the longest stone bridge in England. It is 1.2 Kilometres long (¾ of a mile). ...
1998 Cold Spot Solo at Home This is a cold spot I did at the local home rink in 1998 for their Xmas Show. It was a long time coming and I loved being home for that year teaching...
Sermon 1-20-2008 Redeemer Ev. Lutheran Church, Yakima, WA [ CLOSED CAPTIONED ] Do you like the word "Evangelism?" These days the word is one we tend to avoid. Using scripture, (Acts 13:38-49) Pastor Schwartz defines true evang...
Trailer Wiring Harnesses Troubleshooting - etrailer.com Today we are going to cover kind of a different subject. Basically, we are going to talk about getting your wiring installed and what is happening af...




Search This Site:










tabstrip/treeview displays in firefox but not ie?!?

textbox in masterpage

skin and container construction kit for dnn 2.x

how to open my application when visual studio ide is opened???

how to clear "remember me next time" cache

'unable to cast object of type' error

where can i find informaytion on how to customize the page according to user's preference and department

visual web developer search button for database

question on forms authentication

encryption key basics

browser compatability ii - text box

asp.net protect all files

access is denied - assembly could not be loaded

portal alias problem, weird behavior

increasing the dnn keyword length from 500 to 1000

problem when i want to see the terminos of use and privacy

custom error page

2.0 - mac / other browser compatibility

question: skinning and adobe photoshop cs/ imageready

using treeview in masterpage with four levels - data coming form xml file

overrides borderstyle

errrm... how do you change the host account pwd?

loginstatus logout irratic behavior.

help with system.outofmemoryexception

master file not found when it is there

clan battlehammer game portal....

move database from web dev express to sql 2005 or sql express

rendering problem with rjs popcalendar & masterpage

controls not visible in run mode

i'm as mad as a hornet and need some advice.

 
All Times Are GMT