+ Post New Thread
Results 1 to 7 of 7
Home Access Plus+ Thread, Modifying Layout in Projects:; Hi I have installed and have runing the system so thank you for the assistance in achieving this. Thanks again ...
  1. #1

    Join Date
    Nov 2008
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Modifying Layout

    Hi
    I have installed and have runing the system so thank you for the assistance in achieving this. Thanks again to Nick for a fabulous product.

    In the short term I would like to be able to logon and go directly to the My Computer screen rather than have any of the other options available. I did this before with one of the older versions but I am afraid I am struggling to work out how I can achieve this in the new version. Is this possible? Any help would be much appreciated. I would like to have the logon screen as at present and then go directly to mycomputer.aspx.

    Thanks
    Carolyn

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,538
    Thank Post
    37
    Thanked 504 Times in 435 Posts
    Rep Power
    114
    Open ~/default.aspx

    Add

    <% Response.Redirect("~/mycomputer.aspx") %> near the top

  3. #3

    Join Date
    Nov 2008
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi
    Thanks for the swift reply, however I am afraid it comes up with the following -

    Parser Error
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Only Content controls are allowed directly in a content page that contains Content controls.

    Source Error:


    Line 8: <link href="style/mycomputer.css" rel="stylesheet" type="text/css" />
    Line 9: </asp:Content>
    Line 10: <% Response.Redirect("~/mycomputer.aspx") %>
    Line 11: <asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
    Line 12:

    Source File: /hap/default.aspx Line: 10

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,538
    Thank Post
    37
    Thanked 504 Times in 435 Posts
    Rep Power
    114
    Put it 1 line up, just before </asp:content> tag

  5. #5

    Join Date
    Nov 2008
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Sorry this error comes up now-

    Compilation Error
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS1002: ; expected

    Source Error:



    Line 8: <link href="style/mycomputer.css" rel="stylesheet" type="text/css" />
    Line 9:
    Line 10: <% Response.Redirect("~/mycomputer.aspx") %>
    Line 11: </asp:Content>
    Line 12: <asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">


    Source File: c:\inetpub\wwwroot\HAP\Default.aspx Line: 10

  6. #6
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,538
    Thank Post
    37
    Thanked 504 Times in 435 Posts
    Rep Power
    114
    <% Response.Redirect("~/mycomputer.aspx"); %>

    Forgot the semicolon

  7. #7

    Join Date
    Nov 2008
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks that works a treat.

    Carolyn

SHARE:
+ Post New Thread

Similar Threads

  1. Unsual IT Suite layout - Heat Issues??
    By CM786 in forum Hardware
    Replies: 14
    Last Post: 3rd July 2006, 07:54 PM
  2. ok new shop layout
    By russdev in forum General EduGeek News/Announcements
    Replies: 3
    Last Post: 17th April 2006, 06:11 PM
  3. layout etc
    By beeswax in forum ICT KS3 SATS Tests
    Replies: 29
    Last Post: 7th March 2006, 04:28 PM
  4. keyboard layout
    By CyberNerd in forum Windows
    Replies: 2
    Last Post: 28th February 2006, 02:19 PM
  5. Modifying a mandatory profile - printers
    By GrumbleDook in forum Windows
    Replies: 4
    Last Post: 23rd January 2006, 10:54 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •