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