Could not open in Design view

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi
I've added a meta tag for redirection if the site is unused. The url for
redirection I fetch from Web.Config. See code below. The solution works (in
run mode) as supposed to but I cant view the page in VS 2003 Design view. I
recive the message "Could not open in Design view. Quote values differently
inside a '<%..."value"...%>' block.". If I write a hardcoded URL there are no
problems.

<meta http-equiv=refresh content="600;
url=<%=System.Configuration.ConfigurationSettings.AppSettings.Get(Key name)
%>">

Can anyone tell me a workaround that as good in design mode as in run mode?
Thanks
.



Relevant Pages

  • Re: Could not open in Design view
    ... > I've added a meta tag for redirection if the site is unused. ... > redirection I fetch from Web.Config. ... > run mode) as supposed to but I cant view the page in VS 2003 Design view. ... If you use "" to quote the attribute value, then please use '' inside the ...
    (microsoft.public.vsnet.general)
  • Re: DNS Records
    ... i would like to know how can i create a record in my DNS that ... Redirection such as that would be handled through HTML ... ... To satisfy the older browsers that do not support the meta tag, ...
    (microsoft.public.win2000.dns)
  • Re: How to load temp page for a few seconds and then redirect to another page
    ... this is redirection so it occurs at client-side basically. ... Using META tag you can make timed redirect which occurs at client side (say ... it have for a few seconds, and then have it automatically redirect to ...
    (microsoft.public.dotnet.framework.aspnet)